Connecting to AWS VPC
Learn how to connect to AWS resources privately from a DevBox.
Step 1: Create a VPC
Go to VPC > Your VPCs > Create VPC.
Select VPC and more.
Enter a tag name to auto-generate VPC and Subnet Names. Customize the IPv4 CIDR block if needed.
Select "In 1 AZ" in the NAT Gateways section.
Step 2: Create an EC2 "relay" router
Use one of the supported linux distros.
In the Network Settings, edit the VPC to assign the one you created above.
Assign the instance to a public subnet of the VPC, and assign it a public IP address.
In the security groups configuration, edit the Security Group to allow inbound ssh (Port range = 22, Source = 0.0.0.0/0). Weâll need this during initial setup but can close the firewall later.â
SSH into the machine and Install the DevZero CLI from the script:
Log into your account by executing:
Enable IP forwarding to access resources on private subnets:
Connect to DevZero network:
Verify that the machine is connected to your DevZero network:
You should see the EC2 machine hostname.
You should now be able to ping or ssh private AWS resources from your DevBox:
Last updated