AWS documentation states VPC peering is only possible in a single region as per https://aws.amazon.com/answers/networki ... nectivity/ , in order to connect different VPC in different regions I followed this guide using EC2 Instances running OpenVPN https://aws.amazon.com/articles/0639686206802544 .
We have connectivity between the VPC in us-east-1 and the in us-west-1 but are having problems when transferring big amount of data through tunnel, the jobs that push the data runs only for 5 - 10 minutes and after that the connections is dropped due to high number of packet drops.
I thought this is due to the instance type limitation and have increased the size , we tried transferring data using the largest instance size m4.10xlarge to take full advantage of the 10 GB network card but unfortunately the results are the same. During that period we see a lot of network packet errors and packets dropped .
This is a hadoop cluster in us-east-1 trying to populate with data an ElasticCache MemcacheD cluster in us-west-1 , the size of data we need to transfer is 300 GB per day.
Here is some more details :
The OpenVPN instances :
Ifconfig outputs :CentOS Linux release 7.2.1511 (Core),
OpenVPN 2.3.14
latest network driver installed
Enhanced networking enabled
us-east-1 sending the data :
Code: Select all
tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500
inet 169.254.255.3 netmask 255.255.255.255 destination 169.254.255.22
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 100 (UNSPEC)
RX packets 11419056 bytes 671725364 (640.6 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 12221637 bytes 12380856060 (11.5 GiB)
TX errors 0 dropped 4486568 overruns 0 carrier 0 collisions 0
Code: Select all
tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500
inet 169.254.255.22 netmask 255.255.255.255 destination 169.254.255.3
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 100 (UNSPEC)
RX packets 11532352 bytes 11538601450 (10.7 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 10265430 bytes 682782612 (651.1 MiB)
TX errors 0 dropped 459409 overruns 0 carrier 0 collisions 0
Can you please advise ?user nobody
group nobody
port 1195
dev tun
remote <ip>
route 10.3.0.0 255.255.0.0
ifconfig 169.254.255.3 169.254.255.22
secret ovpn.key
status /var/log/openvpn/openvpn-status.log
log-append /var/log/openvpn/openvpn.log
verb 6
mute 20