Skip to content

Testing routing from one VPC to another via a Transit Gateway, then through an EC2 instance

Notifications You must be signed in to change notification settings

NickLarsenNZ/aws-route-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws-route-lab

Purpose

To test inter-VPC routing via Transit Gateway, validating a third party router/firewall in a VPC that is accessible from another without the need for a Transit VPC.

Resources

Test

Assuming correct routes between each VPC via the Transit Gateway:

  • Ping from one host to the other, and see the traffic using TCPdump
  • Ping some other address (subnet outside of VPC ranges, that are added to the routing table), and ping to that, and seeing the traffic reach the other EC2 instance (pretending to be the gateway for that subnet)

SSH

  • chmod 600 instance.pem
  • ssh -i instance.pem ec2-user@$(terraform output instance_a_ip)
  • ssh -i instance.pem ec2-user@$(terraform output instance_b_ip)

About

Testing routing from one VPC to another via a Transit Gateway, then through an EC2 instance

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages