tunnels between AWS EC2 regions
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVPN Power User
- Posts: 89
- Joined: Fri Aug 05, 2011 3:02 pm
- Contact:
tunnels between AWS EC2 regions
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.
-
- OpenVPN User
- Posts: 24
- Joined: Wed Feb 22, 2017 10:37 am
Re: tunnels between AWS EC2 regions
That is nice. Can we have a display of your python script?
-
- OpenVPN Power User
- Posts: 89
- Joined: Fri Aug 05, 2011 3:02 pm
- Contact:
Re: tunnels between AWS EC2 regions
i'm not letting out the script at this time. but i can let you try the AMI.