Рет қаралды 3,811
Title = VPC Endpoint to access Private RDS instance API calls from Private EC2 instance.
The following are the details of the setup we need to create for this Demo:
VPC
1) We will create a VPC (10.0.0.0/16)
2) We will create a 2 private subnet (10.0.0.0/24 and 10.0.1.0/24) and 2 public subnet (10.0.2.0/24 and 10.0.3.0/24)
3) We will create 2 Route Table (public RT and Private RT)
4) We will create 1 Internet Gateway and attach it to the Public RT
EC2
1) Create 2 EC2 instances ( 1 as a public instance and 1 as a private instance)
VPC Endpoint
1) Create VPC Endpoint for RDS from AWS VPC Console.
The overall gist of this demo is to connect the Private RDS instance from the private EC2 instance and perform the necessary RDS API actions without going to the internet (public network).
Technical blog coming soon (onecloudhelper.com)........