How do you migrate workloads between VPCs with minimal downtime?
AdvancedProductionVPC & Network Architecture
Answer
Set up connectivity first (TGW or peering) so both sides can talk, lower DNS TTLs in advance, use weighted DNS or an ALB with targets in both VPCs to shift traffic gradually, migrate data with replication, then cut over and decommission. Keep a rollback path until the old side is idle.
Check hard-coded IPs, security group references across VPCs (only valid inside a peering within the same region), and resolver rules before starting.
More on VPC & Network Architecture
How would you design a production VPC for a three-tier web application?IntermediateHow many AZs and subnets should a production VPC use, and why?BeginnerWhat makes a subnet public versus private?BeginnerHow do you avoid NAT gateway single points of failure and cross-AZ charges?IntermediateWhen should you use VPC endpoints?IntermediateHow do you design connectivity for 50+ VPCs across accounts and regions?Advanced