Migration of a Workload running in a Corporate Data Center to AWS using the Amazon EC2 and RDS service
In another project based in a real-world scenario, I acted as the Cloud Specialist responsible for migrating a workload running in a Corporate DataCenter to AWS.
The application and database were migrated to AWS using the Lift & Shift (rehost) model, moving both application and database data.
I followed some migration steps: Planning (sizing, prerequisites, resource naming), Execution (resource provisioning, best practices), Go-live (validation test — Dry-run, final migration — Cutover) and Post Go-live (ensure the operation of the application and user access).
As described in the architecture above, I have transferred the database dump file together with the application, using AWS CLI to the EC2 instance that is linked with RDS DB through a VPC, in a way that both of them are located in the same availability zone. In the implementation, the new application server located in the EC2 instance and the new MySQL database server in the RDS DB are both connected to the external world (internet) through an internal gateway. By using git-bash, I was able to ssh to EC2 instance, updating it with the appropriate packages and restoring the database server, which makes the website hosted by the old application server is running now on AWS EC2.