Difference between revisions of "Aws ec2 create-vpn-connection"
Jump to navigation
Jump to search
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | <code>[[aws ec2]] create-vpn-connection</code> | + | <code>[[aws ec2]] create-vpn-connection</code> virtual private gateway or transit gateway and a customer gateway. |
* 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 | ||
Example: | Example: | ||
[[aws ec2]] create-vpn-connection \ | [[aws ec2]] create-vpn-connection \ | ||
− | --type ipsec.1 \ | + | [[--type]] ipsec.1 \ |
--customer-gateway-id cgw-001122334455aabbc \ | --customer-gateway-id cgw-001122334455aabbc \ | ||
--vpn-gateway-id vgw-1a1a1a1a1a1a2b2b2 \ | --vpn-gateway-id vgw-1a1a1a1a1a1a2b2b2 \ | ||
--tag-specification 'ResourceType=vpn-connection,Tags=[{Key=Name,Value=BGP-VPN}]' | --tag-specification 'ResourceType=vpn-connection,Tags=[{Key=Name,Value=BGP-VPN}]' | ||
+ | == Related == | ||
+ | * <code>[[create-vpn-connection-route]]</code> | ||
+ | * <code>[[aws ec2 create-client-vpn-endpoint]]</code> | ||
+ | * [[Terraform resource]]: <code>[[aws_vpn_connection]]</code> | ||
== See also == | == See also == | ||
+ | * {{aws ec2 create}} | ||
* {{aws ec2 vpn}} | * {{aws ec2 vpn}} | ||
[[Category:AWS]] | [[Category:AWS]] |
Latest revision as of 19:39, 26 May 2022
aws ec2 create-vpn-connection
virtual private gateway or transit gateway and a customer gateway.
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}]'
Related[edit]
create-vpn-connection-route
aws ec2 create-client-vpn-endpoint
- Terraform resource:
aws_vpn_connection
See also[edit]
aws ec2 [ create-vpc | create-subnet | create-nat-gateway | create-key-pair | create-vpn-connection | create-route | create-route-table | create-vpc-endpoint ]
- 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: