Page 1 of 1

tunnels between AWS EC2 regions

Posted: Fri Aug 26, 2016 3:41 am
by Skaperen
I have written a set of Python scripts that run in one AWS EC2 instance per region that sets up an OpenVPN tunnel between every region it is run in. At this moment I have it running in 11 regions so there are a total of 55 tunnels. The design is that all I need to do is start it in each region I want tunnels to/from. Each instance looks for the others in the same AWS account and figures out the configuration from the information it gets about each of the instances. Address translation is part of the configuration so it can work with VPCs having the same IP addresses. I can terminate these instances when I don't need the tunnels and launch them back later and they will find each other at their new IP addresses. They use botocore.

Re: tunnels between AWS EC2 regions

Posted: Thu Jun 29, 2017 12:47 pm
by BenHar
That is nice. Can we have a display of your python script?

Re: tunnels between AWS EC2 regions

Posted: Sun Jul 09, 2017 6:28 am
by Skaperen
i'm not letting out the script at this time. but i can let you try the AMI.