Migration & Transfer
The 7 Rs of migration, the on-premises strategy with AWS, VM Import/Export, and which migration and transfer service answers which question.
The 7 Rs of migration
Not in the course slides
The 7 Rs are on the exam guide's list of migration topics but not in the course slides. This section is written from AWS Prescriptive Guidance.
A migration strategy is how one workload moves to AWS. AWS names seven, the 7 Rs:
- Retire: decommission applications nobody needs any more (for example "zombie" servers under 5% CPU). Saves money and reduces risk.
- Retain: keep the application where it is, for now (recently upgraded, compliance, not worth moving yet).
- Rehost ("lift and shift"): move servers as they are to EC2, usually with Application Migration Service. Fastest for large migrations.
- Relocate: move a whole platform without changing it, for example VMware workloads to VMware Cloud on AWS, or containers to EKS.
- Repurchase ("drop and shop"): replace the application with a SaaS product, for example a self-hosted CRM with Salesforce.
- Replatform ("lift, tinker and shift"): a few optimizations without changing the core architecture, for example moving the database to RDS or the app to Elastic Beanstalk.
- Refactor / re-architect: rebuild for the cloud (serverless, microservices). Most effort and most benefit; usually done after the migration.
On-premises strategy with AWS
- Amazon Linux 2 can be downloaded as a VM image (
.isoformat) to run on VMware, KVM, VirtualBox (Oracle VM) or Microsoft Hyper-V. - VM Import/Export:
- migrate existing applications into EC2;
- create a DR repository strategy for on-premises VMs;
- the VMs can be exported back from EC2 to on premises.
- AWS Application Discovery Service: gathers information about on-premises servers to plan a migration (server utilization and dependency mappings).
- AWS Database Migration Service (DMS): replicate on premises → AWS, AWS → AWS, AWS → on premises; works with many database technologies.
- AWS Application Migration Service (MGN): incremental replication of on-premises live servers to AWS.
Which service for which question
- Petabytes of data, slow or no network → Snowball Edge (closed to new customers; see the page).
- On-premises apps use cloud storage through file, block or tape interfaces → Storage Gateway.
- Partners send files over SFTP, FTPS, FTP or AS2 into S3 or EFS → Transfer Family.
- Copy or sync files online, on a schedule, keeping metadata → DataSync.
- Move a database with minimal downtime → DMS (+ schema conversion for different engines).
- Lift and shift servers → Application Migration Service.
- How long will a big transfer take? → transferring large amounts of data.
In this group
Snowball Edge
Offline data transfer and edge computing.
Storage Gateway
File, volume and tape gateways to the cloud.
Transfer Family
Managed SFTP, FTPS, FTP and AS2.
DataSync
Online data transfer and sync.
Large data transfers
Internet vs Direct Connect vs Snowball.
DMS and schema conversion
Database migrations and RDS to Aurora.
Discovery and Application Migration Service
Plan with discovery, then rehost servers.
Exam tips
- "Lift and shift", "least effort", "as is" → rehost (MGN).
- "Move to a managed database during migration" → replatform (RDS, Aurora).
- "Replace with SaaS" → repurchase. "Rebuild as serverless" → refactor.
AWS documentation
Networking costs
Data transfer costs within an AZ, between AZs and between Regions, minimizing egress, S3 data transfer pricing, NAT gateway vs gateway endpoint, and the public IPv4 charge.
AWS Snowball Edge
AWS Snowball Edge devices for offline data migration and edge computing, when to ship data instead of sending it, importing into Glacier, and Snowball's end of availability.