AWS
This guide will show you how to connect your AWS cloud to the GoodAccess Gateway via a site-to-site connection using the IPsec protocol.
Step 1 - Creating a new cloud connection
Log in to the GoodAccess Control Panel, and go to Network > Clouds & Branches.
Click + Add new, enter a Name (e.g., AWS Production), select the required Gateway, and define the Subnets of your AWS VPC (using CIDR notation).
Choose IPSec Protocol, and click Continue.
Fill out the configuration form (Public IP, Pre-Shared Key, etc.). These parameters must match the configuration you will set in your AWS environment in the next steps.
Click Submit to finish, or Continue to define optional Branch Segments for finer access control.
Step 2 - Opening the VPC service
Log in to the AWS, and go to Services > VPC (you can use the searchbar).
Step 3 - Creating a new customer gateway
Go to Virtual Private Network (VPN) > Customer Gateways and click Create customer gateway.
Give the customer gateway a name and set the configuration as follows:
BGP ASN - 65000
IP address - IP of your GoodAccess Gateway
Click Create customer gateway to confirm your settings.
Step 4 - Creating a new virtual private gateway
Go to Virtual Private Network (VPN) > Virtual Private Gateways and click Create virtual private gateway.
Give the virtual private gateway a name, and choose Amazon default ASN.
Click Create virtual private gateway to confirm your settings.
Select the newly created virtual private gateway and click Attach to VPC.
Step 5 - Creating a new VPN connection
Go to Virtual Private Network (VPN) > Site-to-Site VPN Connections and click Create VPN connection.
Give the VPN connection a name and set the configuration as follows:
Target gateway type - Virtual private gateway
Customer gateway - Existing
Routing options - Static
Static IP prefixes - Subnet of your GoodAccess Gateway
Open Tunnel 1 options:
Pre-Shared key for Tunnel 1 - Shared Secret (Step 1)
Select Edit tunnel 1 options
Phase I & II - Must match configuration from GoodAccess (Step 1)
Click Create VPN connection to confirm your settings.
Step 6 - Adding new routes
Go to Virtual Private Cloud (VPC) > Route Tables. Click Edit routes and Add the following routes:
Destination
Target
Subnet of VPC
Local (default)
0.0.0.0/0
Local Gateway (default)
Subnet of your GoodAccess Gateway
Don't forget to Save changes.
You have now successfully connected your AWS cloud to GoodAccess.
Last updated
Was this helpful?