1 Answer
- Newest
- Most votes
- Most comments
0
You can accomplish this migration with zero downtime.
Steps:
- Setup the TGW, attach the desired VPCs and configure the TGW route tables. (Don't update the VPC route tables yet)
- Setup the central egress VPC to the Internet
- (Optional) Create a test VPC, attach it to the TGW and test that the central egress functionality works as expected
- Change the old VPC route tables and point 0.0.0.0/0 to the TGW instead of wherever it points today. The trick here is that you cannot create a second 0.0.0.0/0 entry. (Therefore create 0.0.0.0/1 and 128.0.0.0/1 and point them both to the TGW, then delete the old 0.0.0.0/0 route, create the new 0.0.0.0/0 entry and last but not least delete the two x/1 entries.)
- (Optional) Remove any VPC peering that you no longer need.
Relevant content
- Accepted Answerasked 5 years ago
- Accepted Answerasked 7 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 10 months ago