{"id":21307,"date":"2015-06-19T23:11:34","date_gmt":"2015-06-19T17:41:34","guid":{"rendered":"http:\/\/www.tothenew.com\/blog\/?p=21307"},"modified":"2015-06-19T23:11:34","modified_gmt":"2015-06-19T17:41:34","slug":"migrate-elastic-ip-address-from-ec2-classic-to-ec2-vpc","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/migrate-elastic-ip-address-from-ec2-classic-to-ec2-vpc\/","title":{"rendered":"Migrate Elastic IP Address from EC2-Classic to EC2-VPC"},"content":{"rendered":"<p>In my recent use case , I thought of migrating EC2 classic elastic IP from EC2 classic to EC2-VPC. So now Amazon does provide this feature to migrate Ip form EC2 classic to EC2 VPC but not sure when it was released. As of know it can be only done using EC2 Query API or AWS CLI.<\/p>\n<p>Moreover there are some key points needs to be focused are given below.<\/p>\n<ul>\n<li>Elastic IP address must be allocated to your account<\/li>\n<li>Elastic IP\u00a0must not be associated with an instance.<\/li>\n<li>Elastic IP can restored from EC2-Classic from EC2-VPC<\/li>\n<li>This feature is available on or after AWS CLI 1.7.33 version<\/li>\n<li>Elastic IP address that&#8217;s allocated for use in the EC2-VPC platform to the EC2-Classic platform<\/li>\n<\/ul>\n<h3>Examples<\/h3>\n<p>In this following example we will migrate 54.54.54.54 elastic IP from Ec2 classic to Ec2 VPC<\/p>\n<p>Command<\/p>\n<pre>aws ec2 move-address-to-vpc --public-ip\u00a054.54.54.54<\/pre>\n<p>Output<\/p>\n<pre>{ \"Status\": \"MoveInProgress\" }<\/pre>\n<p>&nbsp;<\/p>\n<p>I hope this helps to everyone.<\/p>\n<address>Thanks<\/address>\n<address>Prashant Sharma<\/address>\n","protected":false},"excerpt":{"rendered":"<p>In my recent use case , I thought of migrating EC2 classic elastic IP from EC2 classic to EC2-VPC. So now Amazon does provide this feature to migrate Ip form EC2 classic to EC2 VPC but not sure when it was released. As of know it can be only done using EC2 Query API or [&hellip;]<\/p>\n","protected":false},"author":120,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":0},"categories":[1174],"tags":[572,1899,1897,1898,1692],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/21307"}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/120"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=21307"}],"version-history":[{"count":0,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/21307\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=21307"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=21307"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=21307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}