Practice for a mysql migration from an ec2 instance to aws aurora
- deploy the resources template in resources/resources.yml (maybe move to separate folder and create readme)
./resources/deployResources.sh
- deploy the MySqlEc2.yml template into the vpc/subnets created by resources (should populate values by default or override with the name of the resource CF stack in the parameter ResourceTemplate)
- Follow the instructions in ec2/README.md
- create a backup from ec2
- Follow the instructions in ec2/README.md
- Restore to aurora in the same vpc
- Follow the instructions in rds/restoreFromS3/README.md
- setup replication between ec2 and aurora
- Follow instructions in sql/README.md
- Monitor replicaiton lag and send to cloudwatch