EC2 Classic for VPC

Been at EC2 Classic for years and we're shrinking. I am having trouble scheduling a migration for the following reasons:

  • Classic ec2 security groups do not see vpc security groups.
  • Routing is only possible over the public internet

I need to migrate master / slave db and redis cluster to vpc but I don't see a clear path for the above two points. If you are not using the site offline and importing all data using dumps, I am not sure how to do this.

Any advice would be appreciated.

+3


source to share


1 answer


You cannot transfer anything "LIVE" from Classic to VPC. You need to take a snapshot, create an AMI ... etc, and then start everything from scratch again inside the VPC. There is no other way out.

For safety group (SG), VPC SG and EC2-classic SG are not mixed. You will need to create separate SGs inside the VPC.

You need to figure out what things you want to host on the OR Private subnet of VPC. Items available only within the Public Subnet can be accessed from the Internet.



eg. you can have your webserver on a public subnet, while you can have your application server on a private subnet. This was just an example.

To make the long story short, you end up running everything new in the VPC (bring EC2 AMI help, snapshot ... etc so that things you run in the VPC have your data)

+4


source







All Articles