Difference between revisions of "Aws ec2 create-vpn-connection"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
* https://docs.aws.amazon.com/cli/latest/reference/ec2/create-vpn-connection.html | * https://docs.aws.amazon.com/cli/latest/reference/ec2/create-vpn-connection.html | ||
− | aws ec2 create-vpn-connection \ | + | Example: |
+ | [[aws ec2]] create-vpn-connection \ | ||
--type ipsec.1 \ | --type ipsec.1 \ | ||
--customer-gateway-id cgw-001122334455aabbc \ | --customer-gateway-id cgw-001122334455aabbc \ |
Revision as of 17:43, 12 October 2021
aws ec2 create-vpn-connection
Example:
aws ec2 create-vpn-connection \ --type ipsec.1 \ --customer-gateway-id cgw-001122334455aabbc \ --vpn-gateway-id vgw-1a1a1a1a1a1a2b2b2 \ --tag-specification 'ResourceType=vpn-connection,Tags=[{Key=Name,Value=BGP-VPN}]'
See also
- AWS VPN:
aws ec2 vpn
,attach-vpn-gateway
,associate-client-vpn-target-network
,create-client-vpn-endpoint
,create-client-vpn-route
,create-vpn-connection-route
,create-vpn-gateway
,export-client-vpn-client-configuration
,get-vpn-connection-device-types
,terminate-client-vpn-connections
,describe-vpn-connections
,describe-vpn-gateways
,authorize-client-vpn-ingress
,authorize-security-group-egress
,authorize-security-group-ingress
Advertising: