{"id":18799,"date":"2015-03-31T23:02:43","date_gmt":"2015-03-31T17:32:43","guid":{"rendered":"https:\/\/2thenew.online\/blog\/?p=18799"},"modified":"2015-03-31T23:02:43","modified_gmt":"2015-03-31T17:32:43","slug":"continuing-with-boto-delete-ebs-snapshot-which-is-30-days-older","status":"publish","type":"post","link":"https:\/\/2thenew.online\/blog\/continuing-with-boto-delete-ebs-snapshot-which-is-30-days-older\/","title":{"rendered":"Continuing with Boto : Delete EBS snapshot which is 30 days older"},"content":{"rendered":"<p>In continuation with my previous blog <a href=\"https:\/\/2thenew.online\/blog\/getting-started-with-boto-python-interface-for-aws\/\">&#8220;Getting Started with Boto ( python Interface for AWS )&#8221;<\/a>,\u00a0 today we are going to discuss one of the use case that we used to do daily.<\/p>\n<h3 style=\"text-align: justify;color: #ff9900\">Deleting EBS Snapshot which is N days older.<\/h3>\n<p><\/br>We&#8217;ll be writing python script using Boto library to delete EBS snapshots which is 30 days older. For this we will be using three different python modules.<\/p>\n<p>1) boto<br \/>\n2) datetime<br \/>\n3) dateutil<\/p>\n<p>We have already discussed boto module in our <a href=\"https:\/\/2thenew.online\/blog\/getting-started-with-boto-python-interface-for-aws\/\">previous article<\/a>.<br \/>\n<strong><a href=\"https:\/\/docs.python.org\/2\/library\/datetime.html\">datetime<\/a><\/strong><br \/>\ndatetime module contains classes and methods for manipulating dates and times. e.g<br \/>\n[Python]<\/p>\n<p>[js]<br \/>\n  &gt;&gt;&gt; import datetime<br \/>\n  &gt;&gt;&gt;datetime.datetime.now()<br \/>\n   datetime.datetime(2015, 3, 31, 22, 11, 22, 512228)<\/p>\n<p>Output : (Year,Month,Day,Minutes,Hour,Seconds)<br \/>\n[\/js]<\/p>\n<p>Now we have to find the date which is 30 days old with respect to current date. For that we will use timedelta objects comes with datetime class.<\/p>\n<p>[js]<\/p>\n<p>  &gt;&gt;&gt;import datetime<br \/>\n  &gt;&gt;&gt;datetime.datetime.now() &#8211; datetime.timedelta(days=30)<br \/>\n  datetime.datetime(2015, 3, 1, 22, 21, 49, 741196)<\/p>\n<p>[\/js]<\/p>\n<p>As you can see we got the day <strong> 1 March 2015 <\/strong> which is 30 days behind from Current Date.<\/p>\n<h3 style=\"text-align: justify;color: #ff9900\">dateutil<\/h3>\n<p>Now, we can compare EBS Snapshot Creation time with this time, If ebsSnapshotId.start_time &lt; 30 days we&#8217;ll delete the snapshots. For that we have to use another python module <strong>dateutil.parser <\/strong> which helps us in extracting date from EBS Start time.<\/p>\n<p>EBS start_time uses <font style=\"text-align: justify;color: #ff9900\">2012-10-09T12:27:30.000Z\u00a0<\/font> format to describe Creation Time for snaphots. We have to extract the date from this. We can achieve this by following snippets.<\/p>\n<p>[js]<br \/>\n&gt;&gt;&gt; import dateutil<br \/>\n&gt;&gt;&gt; from dateutil import parser<br \/>\n&gt;&gt;&gt; parser.parse(snapshotID.start_time).date()<br \/>\ndatetime.date(2012, 10, 9)<br \/>\n[\/js]<\/p>\n<p>Now we have the current date , 30 days old date and EBS Snapshot Creation Time. So our complete scripts &#8221; To delete snapshot which is 30 days Old &#8221;<\/p>\n<p>[js]<\/p>\n<p>import boto<br \/>\nimport datetime<br \/>\nimport dateutil<br \/>\nfrom dateutil import parser<br \/>\nfrom boto import ec2<\/p>\n<p>connection=ec2.connect_to_region(&quot;REGION-NAME&quot;)<\/p>\n<p>ebsAllSnapshots=connection.get_all_snapshots(owner=&#8217;16-DIGIT-AWS-ACCOUNT-NUMBER&#8217;)<\/p>\n<p>#Get the 30 days old date<br \/>\ntimeLimit=datetime.datetime.now() &#8211; datetime.timedelta(days=30)  <\/p>\n<p>for snapshot in ebsAllSnapshots:<\/p>\n<p>    if parser.parse(snapshot.start_time).date() &lt;= timeLimit.date():<br \/>\n        print &quot; Deleting Snapshot %s  %s &quot;  %(snapshot.id,snapshot.tags)<br \/>\n        connection.delete_snapshot(snapshot.id)<br \/>\n    else:<br \/>\n        # this section will have all snapshots which is created before 30 days<br \/>\n        print &quot;Only Deleting Snapshots which is 30 days old&quot; <\/p>\n<p>[\/js]<br \/>\n<strong> <\/p>\n<h3 style=\"text-align: justify;color: #ff9900\">Note : Please make sure you perform testing before executing this script.<\/h3>\n<p><\/strong><br \/>\nLeave a comment if you have any questions regarding this article.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In continuation with my previous blog &#8220;Getting Started with Boto ( python Interface for AWS )&#8221;,\u00a0 today we are going to discuss one of the use case that we used to do daily. Deleting EBS Snapshot which is N days older. We&#8217;ll be writing python script using Boto library to delete EBS snapshots which is [&hellip;]<\/p>\n","protected":false},"author":100,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":25,"footnotes":""},"categories":[1174,1],"tags":[248,1611,1358],"class_list":["post-18799","post","type-post","status-publish","format-standard","hentry","category-aws-2","category-technology","tag-aws","tag-boto","tag-python"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"In continuation with my previous blog &quot;Getting Started with Boto ( python Interface for AWS )&quot;, today we are going to discuss one of the use case that we used to do daily. Deleting EBS Snapshot which is N days older. We&#039;ll be writing python script using Boto library to delete EBS snapshots which is\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Vikash Jha\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/2thenew.online\/blog\/continuing-with-boto-delete-ebs-snapshot-which-is-30-days-older\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"Continuing with Boto : Delete EBS snapshot which is 30 days older | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"In continuation with my previous blog &quot;Getting Started with Boto ( python Interface for AWS )&quot;, today we are going to discuss one of the use case that we used to do daily. Deleting EBS Snapshot which is N days older. We&#039;ll be writing python script using Boto library to delete EBS snapshots which is\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/2thenew.online\/blog\/continuing-with-boto-delete-ebs-snapshot-which-is-30-days-older\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Continuing with Boto : Delete EBS snapshot which is 30 days older | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"In continuation with my previous blog &quot;Getting Started with Boto ( python Interface for AWS )&quot;, today we are going to discuss one of the use case that we used to do daily. Deleting EBS Snapshot which is N days older. We&#039;ll be writing python script using Boto library to delete EBS snapshots which is\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/continuing-with-boto-delete-ebs-snapshot-which-is-30-days-older\\\/#article\",\"name\":\"Continuing with Boto : Delete EBS snapshot which is 30 days older | TO THE NEW Blog\",\"headline\":\"Continuing with Boto : Delete EBS snapshot which is 30 days older\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/vikash-jha\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"datePublished\":\"2015-03-31T23:02:43+05:30\",\"dateModified\":\"2015-03-31T23:02:43+05:30\",\"inLanguage\":\"en-US\",\"commentCount\":2,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/continuing-with-boto-delete-ebs-snapshot-which-is-30-days-older\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/continuing-with-boto-delete-ebs-snapshot-which-is-30-days-older\\\/#webpage\"},\"articleSection\":\"AWS, Technology, aws, boto, python\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/continuing-with-boto-delete-ebs-snapshot-which-is-30-days-older\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"position\":2,\"name\":\"Technology\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/continuing-with-boto-delete-ebs-snapshot-which-is-30-days-older\\\/#listItem\",\"name\":\"Continuing with Boto : Delete EBS snapshot which is 30 days older\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/continuing-with-boto-delete-ebs-snapshot-which-is-30-days-older\\\/#listItem\",\"position\":3,\"name\":\"Continuing with Boto : Delete EBS snapshot which is 30 days older\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/vikash-jha\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/vikash-jha\\\/\",\"name\":\"Vikash Jha\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/continuing-with-boto-delete-ebs-snapshot-which-is-30-days-older\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fa67f119919550cc9af23ac9542eb0ef48d4e69a6ad310fb29f55390d4662b36?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Vikash Jha\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/continuing-with-boto-delete-ebs-snapshot-which-is-30-days-older\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/continuing-with-boto-delete-ebs-snapshot-which-is-30-days-older\\\/\",\"name\":\"Continuing with Boto : Delete EBS snapshot which is 30 days older | TO THE NEW Blog\",\"description\":\"In continuation with my previous blog \\\"Getting Started with Boto ( python Interface for AWS )\\\", today we are going to discuss one of the use case that we used to do daily. Deleting EBS Snapshot which is N days older. We'll be writing python script using Boto library to delete EBS snapshots which is\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/continuing-with-boto-delete-ebs-snapshot-which-is-30-days-older\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/vikash-jha\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/vikash-jha\\\/#author\"},\"datePublished\":\"2015-03-31T23:02:43+05:30\",\"dateModified\":\"2015-03-31T23:02:43+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Continuing with Boto : Delete EBS snapshot which is 30 days older | TO THE NEW Blog","description":"In continuation with my previous blog \"Getting Started with Boto ( python Interface for AWS )\", today we are going to discuss one of the use case that we used to do daily. Deleting EBS Snapshot which is N days older. We'll be writing python script using Boto library to delete EBS snapshots which is","canonical_url":"https:\/\/2thenew.online\/blog\/continuing-with-boto-delete-ebs-snapshot-which-is-30-days-older\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/2thenew.online\/blog\/continuing-with-boto-delete-ebs-snapshot-which-is-30-days-older\/#article","name":"Continuing with Boto : Delete EBS snapshot which is 30 days older | TO THE NEW Blog","headline":"Continuing with Boto : Delete EBS snapshot which is 30 days older","author":{"@id":"https:\/\/2thenew.online\/blog\/author\/vikash-jha\/#author"},"publisher":{"@id":"https:\/\/2thenew.online\/blog\/#organization"},"datePublished":"2015-03-31T23:02:43+05:30","dateModified":"2015-03-31T23:02:43+05:30","inLanguage":"en-US","commentCount":2,"mainEntityOfPage":{"@id":"https:\/\/2thenew.online\/blog\/continuing-with-boto-delete-ebs-snapshot-which-is-30-days-older\/#webpage"},"isPartOf":{"@id":"https:\/\/2thenew.online\/blog\/continuing-with-boto-delete-ebs-snapshot-which-is-30-days-older\/#webpage"},"articleSection":"AWS, Technology, aws, boto, python"},{"@type":"BreadcrumbList","@id":"https:\/\/2thenew.online\/blog\/continuing-with-boto-delete-ebs-snapshot-which-is-30-days-older\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog#listItem","position":1,"name":"Home","item":"https:\/\/2thenew.online\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/technology\/#listItem","name":"Technology"}},{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/technology\/#listItem","position":2,"name":"Technology","item":"https:\/\/2thenew.online\/blog\/category\/technology\/","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/continuing-with-boto-delete-ebs-snapshot-which-is-30-days-older\/#listItem","name":"Continuing with Boto : Delete EBS snapshot which is 30 days older"},"previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/continuing-with-boto-delete-ebs-snapshot-which-is-30-days-older\/#listItem","position":3,"name":"Continuing with Boto : Delete EBS snapshot which is 30 days older","previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/technology\/#listItem","name":"Technology"}}]},{"@type":"Organization","@id":"https:\/\/2thenew.online\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/2thenew.online\/blog\/"},{"@type":"Person","@id":"https:\/\/2thenew.online\/blog\/author\/vikash-jha\/#author","url":"https:\/\/2thenew.online\/blog\/author\/vikash-jha\/","name":"Vikash Jha","image":{"@type":"ImageObject","@id":"https:\/\/2thenew.online\/blog\/continuing-with-boto-delete-ebs-snapshot-which-is-30-days-older\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/fa67f119919550cc9af23ac9542eb0ef48d4e69a6ad310fb29f55390d4662b36?s=96&d=mm&r=g","width":96,"height":96,"caption":"Vikash Jha"}},{"@type":"WebPage","@id":"https:\/\/2thenew.online\/blog\/continuing-with-boto-delete-ebs-snapshot-which-is-30-days-older\/#webpage","url":"https:\/\/2thenew.online\/blog\/continuing-with-boto-delete-ebs-snapshot-which-is-30-days-older\/","name":"Continuing with Boto : Delete EBS snapshot which is 30 days older | TO THE NEW Blog","description":"In continuation with my previous blog \"Getting Started with Boto ( python Interface for AWS )\", today we are going to discuss one of the use case that we used to do daily. Deleting EBS Snapshot which is N days older. We'll be writing python script using Boto library to delete EBS snapshots which is","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/2thenew.online\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/2thenew.online\/blog\/continuing-with-boto-delete-ebs-snapshot-which-is-30-days-older\/#breadcrumblist"},"author":{"@id":"https:\/\/2thenew.online\/blog\/author\/vikash-jha\/#author"},"creator":{"@id":"https:\/\/2thenew.online\/blog\/author\/vikash-jha\/#author"},"datePublished":"2015-03-31T23:02:43+05:30","dateModified":"2015-03-31T23:02:43+05:30"},{"@type":"WebSite","@id":"https:\/\/2thenew.online\/blog\/#website","url":"https:\/\/2thenew.online\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/2thenew.online\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"Continuing with Boto : Delete EBS snapshot which is 30 days older | TO THE NEW Blog","og:description":"In continuation with my previous blog &quot;Getting Started with Boto ( python Interface for AWS )&quot;, today we are going to discuss one of the use case that we used to do daily. Deleting EBS Snapshot which is N days older. We'll be writing python script using Boto library to delete EBS snapshots which is","og:url":"https:\/\/2thenew.online\/blog\/continuing-with-boto-delete-ebs-snapshot-which-is-30-days-older\/","og:image":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"Continuing with Boto : Delete EBS snapshot which is 30 days older | TO THE NEW Blog","twitter:description":"In continuation with my previous blog &quot;Getting Started with Boto ( python Interface for AWS )&quot;, today we are going to discuss one of the use case that we used to do daily. Deleting EBS Snapshot which is N days older. We'll be writing python script using Boto library to delete EBS snapshots which is","twitter:image":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"18799","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-04-29 16:43:22","updated":"2024-02-29 09:28:21","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/2thenew.online\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/2thenew.online\/blog\/category\/technology\/\" title=\"Technology\">Technology<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tContinuing with Boto : Delete EBS snapshot which is 30 days older\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/2thenew.online\/blog"},{"label":"Technology","link":"https:\/\/2thenew.online\/blog\/category\/technology\/"},{"label":"Continuing with Boto : Delete EBS snapshot which is 30 days older","link":"https:\/\/2thenew.online\/blog\/continuing-with-boto-delete-ebs-snapshot-which-is-30-days-older\/"}],"_links":{"self":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts\/18799","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/users\/100"}],"replies":[{"embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/comments?post=18799"}],"version-history":[{"count":0,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts\/18799\/revisions"}],"wp:attachment":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/media?parent=18799"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/categories?post=18799"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/tags?post=18799"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}