AWS retire the EC2-Classic environment on 15th August 2022 and you will need to migrate your AWS resources from EC2-Classic to Amazon VPC before this date.
i) Classic network is where your instance run in a single flat network that is shared with other customers.ii) VPC network is logically isolated to only your AWS account. Ec2 VPC instance run in a virtual private cloud.
Migration Process.
First create VPC network if not created or you can use default VPC network if it is already there.
1. Create AMI of which server you want to migrate.
2. Create new (SG) security group or copy existing security group under VPC network.
3. Create Elastic public IP under VPC scope.
Now you are ready to launch instance under VPC.
4. Click launch instance and select your AMI which you have created.
5. Fill all the required details. while you select the network select VPC network and subnets.
6. If all goes good your instance will be ready under VPC network.
To verify the instance created under VPC network or not.
From console select instance verify VPC ID.
From AWS CLI run below command to verify.
aws ec2 describe-instances
--region us-east-1
--output table
--query 'Reservations[*].Instances[*].InstanceId'
Done..!!☝
No comments:
Post a Comment