From the course: AWS Essential Training for Developers

Unlock the full course today

Join today to access over 24,800 courses taught by industry experts.

Using VPNs to access private subnets

Using VPNs to access private subnets

- [Instructor] There are several VPC scenarios laid out in the documentation. The first scenario is a VPC with a single public subnet and this is similar to the architecture we already have for our two running instances. Scenario number two shows what your architecture would look like if you split up your subnets into public and private subnets. A NAT gateway in the public subnet allows your servers within the private subnet to talk to the outside internet but protects the servers from incoming traffic. But if the servers in the private subnet are protected from all outside internet traffic, how do you connect to them to administer them? And what if you want to restrict administrative access to the servers in the public subnet, such as closing off the ports for SSH for Linux terminal access or Remote Desktop Protocol, or RDP, for Windows servers? One way to securely connect to your instances is by using a bastion host. A…

Contents