Create a Cloud Connect attachment via IPSec VPN
Creates a Cloud Connect attachment via a specified VPN server. Currently two attachment types are available:
- Static VPN (type
2): Basic IPSec VPN connection - Dynamic VPN with BGP (type
3): IPSec VPN with BGP routing. Requiresasn(Autonomous System Number), otherwise dynamic routing is disabled. Optionally acceptsinside_cidrfor BGP tunnel interfaces.
The on_prem_cidr parameter specifies the CIDR ranges of your backend network (up to 3).
The public_ip is the public IP address of your VPN server.
A psk (Pre-Shared Key) can be configured with 8-64 alphanumeric characters, periods (.), and underscores (_).
It must not begin with 0.
If left empty, it generates automatically and can be retrieved via GET /api/v1/cnc/breakout/{cloudconnect_attachment_id}.
The created connection is available within 3-5 minutes.
Authentication
An auth_token should be provided to authenticate a session.
To obtain an auth_token, see the /api/v1/authenticate POST request.
Request
Breakout type.
Use 2 for Static VPN or 3 for Dynamic VPN with BGP.
AWS region for the attachment (for example, eu-west-1).
Pre-shared key (PSK) for the VPN connection. If empty, AWS generates one automatically.
Autonomous System Number (ASN) for BGP routing.
Required for Dynamic VPN (type 3).”
For Dynamic VPN only: /30 CIDR ranges for BGP tunnel interfaces (up to 3). If empty, AWS generates them automatically.
Response
Attachment created successfully.
The Location header contains the URL of the new resource.