Lesson 4 of 6 Migration Execution

Securing the Landing Zone and the Migration Path

This lesson explains why the landing zone is built first and how the migration path is secured, so workloads arrive in an environment that is already governed and the migration does not expose data.

Learning outcomes

After completing this lesson, you will be able to:

  • Explain why the landing zone is built before migrating.
  • Describe how replication and staging traffic are secured.
  • Explain the compliance requirements that apply during migration.

The landing zone first

Workloads should move into a landing zone that is already governed, connected and secured, because retrofitting controls after migration is far harder. Control Tower, with OUs, SCPs and controls, applies governance from the first account. Transit Gateway or Cloud WAN, with Direct Connect and VPN, connects AWS to the data centre. IAM Identity Center provides workforce access, and AWS Managed Microsoft AD or AD Connector provides the domain services migrated servers expect. Route 53 Resolver endpoints and rules provide hybrid DNS, so both sides resolve each other's names during coexistence and cutover. Logging, security services, backup policies and tagging standards give visibility, detection, recovery and cost allocation from day one. The following table summarises the components.

ComponentPurpose
Control Tower with OUs, SCPs and controlsGovernance and guardrails from the first account
Transit Gateway or Cloud WAN, Direct Connect, VPNConnectivity between AWS and the data centre
IAM Identity Center; AWS Managed Microsoft AD or AD ConnectorWorkforce access and domain services for migrated servers
Route 53 Resolver endpoints and rulesHybrid DNS, so both sides resolve each other's names during coexistence and cutover
Logging, security services, backup policies, tagging standardsVisibility, detection, recovery and cost allocation from day one

Securing the migration path

The migration path carries copies of production data and must be secured like any other data flow. Data is encrypted in transit, with TLS, VPN or MACsec, and at rest, with customer managed KMS keys for staging areas and targets. Replication uses private connectivity wherever possible: Application Migration Service and DataSync can replicate over Direct Connect or VPN through VPC endpoints.

Migration tooling receives least-privilege roles, and database credentials for DMS live in Secrets Manager. All migration activity is logged in CloudTrail, and when each wave completes, its migration roles, agents and staging resources are removed, so they do not remain as an unused path into the environment.

Compliance during migration

Compliance requirements apply during a migration as much as after it. Data residency rules cover the intermediate copies too, so staging areas, replication servers and any offline transfer devices must be in approved Regions. Data is classified before it moves, so that sensitive datasets go to accounts with the right controls, and migrated resources receive the same security baselines, such as Security Hub standards and Config rules, as resources built new in AWS.

Worked example

Keeping replication private and in approved Regions

A bank is migrating 600 servers with Application Migration Service. Regulators require that data never crosses the public internet and never leaves the EU. In the replication settings template, the staging area uses private connectivity over Direct Connect and a customer managed KMS key:

aws mgn update-replication-configuration-template \
  --replication-configuration-template-id rct-0bank \
  --data-plane-routing PRIVATE_IP --no-create-public-ip \
  --ebs-encryption CUSTOM --ebs-encryption-key-arn arn:aws:kms:eu-west-1:777777777777:key/mrk-0migr \
  --staging-area-subnet-id subnet-0staging

An interface endpoint for MGN in the staging VPC keeps the agents' control traffic private as well. The migration accounts sit in an OU whose SCP denies all actions outside eu-west-1 and eu-central-1, so a mistaken launch template cannot place a server elsewhere. The replication agents' credentials are scoped to the migration role and removed when each wave is finalised, and migrated servers inherit the landing zone's Security Hub standards and backup policies from the moment they launch.

Check yourself

Why should the landing zone be built before the first migration wave?

Show answer

Accounts, networking, identity, logging and guardrails must already be in place, so migrated workloads are secure and compliant from the start.

Exam Tips

Remember for the exam

  • Build the landing zone with Control Tower before migrating.
  • Hybrid DNS with Route 53 Resolver supports coexistence and cutover.
  • Replicate over private connectivity and encrypt staging areas with KMS.
  • Give migration tooling least-privilege roles and remove them after each wave.
  • Keep staging and replication resources in approved Regions for data residency.