Networking Security: Atlas / Network Peering

Code Summary: Network Peering

The following provides a summary of the code to setup network peering between AWS and Atlas. You also have the option to use Azure or GCP. Instructions for Azure and GCP can be found here.

Prerequisites

  • Atlas Account
  • Atlas organization ID
  • Atlas Project ID
  • Atlas CLI
  • AWS
    • Account ID
    • VPC ID
    • VPC CIDR
    • Region

Usage

Create a Network Peering Connection Between Atlas and AWS:

The following command creates a new AWS VPC peering connection in Atlas. It specifies the AWS account ID, Atlas CIDR block, AWS region, route table CIDR block, and VPC ID. Replace the values with your values.

atlas networking peering create aws --accountId <account_id> \
    --atlasCidrBlock 192.168.0.0/24 \
    --region us-east-1 \
    --routeTableCidrBlock 10.0.0.0/24 \
    --vpcId vpc-xxxxxxxx