How to establish site to site connectivity between your AWS account and client's on-premise network? How the setup is done?
STEP 1:-
CREATE YOUR VPC, and configure it using subnets, internet gateway, route tables etc.(use nat-gateway if you are using private subnet)
STEP 2:-
Go to Virtual Private Gateway.
Then click on Create Virtual private gateway -> Give a name -> then click on create.
Now attach it to your VPC.
STEP 3:-
Go to Customer Gateway.
Create -> Give a name tag -> Then allocate IP( This IP should be given by the on-premise client) -> Then click on create.
STEP 4:-
Go to Site to Site VPN Connection.
Then click on create -> give name -> select virtual private gateway -> select customer gateway -> change the routing options from dynamic to static -> static preferences (give the subnet details of the customer) -> click on create Vpn connection.
Then select the Vpn connectivity and wait for the status gets active and we can see that in the tunnel details the status is down.
STEP 5:-
We need to configure the route table of VPC.
Choose the route table you want to propagate.
Then edit-> route propagation-> check on enable and save.
Then again go to VPN and download configuration and set the values accordingly.
The text file which is downloaded consists of all the details of the two tunnels and it is given to the client so they will establish connectivity at their end.
When the connection would be done the tunnel's status will be up.
Which means we are successful in creating site to site connectivity.
NOTE:-
We need to ask the customers 2 things-
- Public IP of gateway .
- Subnet details.
Top comments (0)