How to create connection between AWS VPC and the PC/LAN

active-directoryamazon ec2amazon-vpcamazon-web-servicesaws-directory-service

May be it's little bit odd, but yes i want to make connection between AWS VPC and my PC/LAN, so i can ping any EC2 instance using their Private IP.

More Details:
I'm using AWS Directory Service(DS) and trying to add my PC under AWS DS. But AWS DS is VPC specific. We can't access DS DNS address outside the VPC. Hence I think if i able to connect my PC under VPC network then it can be possible to ping AWS DS DNS.

Best Answer

This is not odd at all and very common. One easy way to do that is to use an vpn solution, e.g by deploying an openvpn VM from an openvpn AMI (almost everything is configured by default), or by installing another vpn solution on one of your instance. Then, you will only have to log to this vpn and you will be able to resolve your instances with their private IP addresses

However, if you do want your instances to be routed between your LAN/VPC, this is slightly more complicated. you may have to consider using a more complex architecture, still based on VPN but with "Virtual Private Gateway / customer gateway" configuration

Related Topic