EC2-Classic Networking is Retiring – Here’s How to Prepare https://aws.amazon.com/blogs/aws/ec2-classic-is-retiring-heres-how-to-prepare/
curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg"
sudo installer -pkg AWSCLIV2.pkg -target /
$ which aws
/usr/local/bin/aws
$ aws --version
aws-cli/2.4.5 Python/3.8.8 Darwin/18.7.0 botocore/2.4.5
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install python
pip3 install boto3
cd ~/
curl -O https://raw.githubusercontent.com/aws-samples/ec2-classic-resource-finder/main/py-Classic-Resource-Finder.py
$ cat ~/.aws/config
[default]
region = ap-southeast-2
$ cat ~/.aws/credentials
[default]
aws_access_key_id = XXXXXXXXXXXXXX
aws_secret_access_key = XXXXXXXXXXXXXX
$ python3 ~/py-Classic-Resource-Finder.py
E.g. ~/641933245611
, which should contain the following files.
Going through each file to see if they have any EC2-Classic Networking resource to migrate.
11-07-2022-11-12-20_Classic_EIPs.csv
11-07-2022-11-12-20_Classic_EC2_Instances.csv
11-07-2022-11-12-20_Classic_SGs.csv
11-07-2022-11-12-20_Classic_ClassicLink_VPCs.csv
11-07-2022-11-12-20_Classic_Auto_Scaling_Groups.csv
11-07-2022-11-12-20_Classic_CLBs.csv
11-07-2022-11-12-20_Classic_RDS_Instances.csv
11-07-2022-11-12-20_Classic_ElastiCache_Clusters.csv
11-07-2022-11-12-20_Classic_Redshift_Clusters.csv
11-07-2022-11-12-20_Classic_ElasticBeanstalk_Applications_Environments.csv
11-07-2022-11-12-20_Classic_EMR_Clusters.csv
11-07-2022-11-12-20_Classic_OpsWorks_Stacks.csv
11-07-2022-11-12-20_Classic_DataPipelines.csv
11-07-2022-11-12-20_Errors.txt
11-07-2022-11-12-20_Classic_Platform_Status.csv
Find more information for migration at https://aws.amazon.com/blogs/aws/ec2-classic-is-retiring-heres-how-to-prepare/