Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save electblake/bb521cd3b0eda877e7329f807c198bac to your computer and use it in GitHub Desktop.
Save electblake/bb521cd3b0eda877e7329f807c198bac to your computer and use it in GitHub Desktop.
202403201414 AWS Transit Gateway for NordLayer VPN.md

AWS Transit Gateway for NordLayer VPN

To set up an AWS Transit Gateway in the us-east-2 region and integrate it with your specific AWS resources, here's a step-by-step guide with direct links to the AWS Management Console where applicable:

Step 1: Create a Transit Gateway

  1. Navigate to the VPC Dashboard in the AWS Management Console for the us-east-2 region: VPC Dashboard.
  2. Click on "Transit Gateways" on the left sidebar, then click the Create Transit Gateway button.
  3. Configure the Transit Gateway:
    • Name tag: Enter a meaningful name, e.g., NorthOneDevTransitGateway.
    • Description: Optionally provide a description for your transit gateway.
    • ASN: Leave the default ASN (Autonomous System Number) or specify a custom ASN for your network.
    • Other settings can remain with their default values unless you have specific requirements. Review the options for DNS support, VPN ECMP support, and default route table association and propagation.
  4. Click "Create Transit Gateway".

Step 2: Attach Your VPC to the Transit Gateway

After your Transit Gateway is created:

  1. Go back to the Transit Gateways page.
  2. Select your newly created Transit Gateway.
  3. In the "Actions" dropdown menu, choose "Create VPC attachment".
  4. Configure the VPC Attachment:
    • Attachment name tag: Give it a descriptive name, e.g., AttachNorthOneDevVPC.
    • VPC ID: Select your VPC by its ID (vpc-04f8f825ff0cda002).
    • Subnet IDs: Choose the subnet(s) you want to connect to the Transit Gateway. For your setup, select the subnet associated with your NAT Gateway (subnet-02846bae447cb01f4).
  5. Click "Create attachment".

Step 3: Configure Route Tables

  1. Transit Gateway Route Tables: Navigate to your Transit Gateway's details page by selecting it from the list on the Transit Gateways page.
    • Go to the Route Table tab and manage routes as necessary.
  2. VPC Route Tables: Navigate to the Route Tables page for your VPC.
    • Select the route table associated with your subnet and add the required routes, using the Transit Gateway as the target for the destinations you wish to route through it.

Step 4: Update Security Groups and NACLs

Ensure your Security Groups and Network ACLs (NACLs) allow the necessary inbound and outbound traffic. You can manage these from the VPC Dashboard under the respective sections.

Step 5: (Optional) Configure VPN Connections

If integrating with an external VPN, such as NordLayer, you'll need additional configurations, possibly involving setting up a VPN connection and configuring NordLayer as the customer gateway. This step requires specific support and configurations from NordLayer, which might not be directly accessible from the AWS console.

Important Notes:

  • This guide assumes you have the necessary permissions to create and manage AWS Transit Gateways, VPCs, and related resources.
  • For detailed information about each step, including advanced configurations and options, consult the AWS Transit Gateway Documentation.
  • Integration with external VPN services might require additional steps or configurations on their end. Ensure to consult with NordLayer or your VPN provider for specific requirements or support for integrating with AWS Transit Gateway.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment