How to Create Customer Gateway on Amazon Web Service(AWS).
A customer gateway is a resource that you create in AWS that represents the customer gateway device in your on-premises network. When you create a customer gateway, you provide information about your device to AWS.
A customer gateway is a resource that is installed on the customer side and is often linked to the provider side.A customer gateway is the anchor on your side of that connection. It can be a physical or software appliance.The anchor on the AWS side of the VPN connection is called a virtual private gateway.
- Login to aws portal.
- Click on Services.
- Under Networking & Content Delivery select VPC.
- Click on Customer Gateways.
- Click on Create Customer Gateway.
- Provide Customer Gateway name.
- Select Routing option : Dynamic or static.
- Provide static IP address or internet-routable IP address for your customer gateway device.
- If you want to use a private certificate, for Certificate ARN, choose the Amazon Resource Name of the private certificate.
- Click on Create Customer Gateway.
- Customer Gateway is created successfully.
- Click on close.
- Go to Customer gateway console page.
- New customer gateway is there with the name we provide.
Create Customer Gateway using Shell
- Setup aws-cli on your system so click on link https://www.hackerxone.com/blog/how-install-configure-aws-cli-ubuntu-1804
- Run the following command:
aws ec2 create-customer-gateway –type ipsec.1 –public-ip ip-address –bgp-asn 65000