Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/awscli/examples/ec2/ |
Upload File : |
**To create a virtual private gateway** This example creates a virtual private gateway. Command:: aws ec2 create-vpn-gateway --type ipsec.1 Output:: { "VpnGateway": { "AmazonSideAsn": 64512, "State": "available", "Type": "ipsec.1", "VpnGatewayId": "vgw-9a4cacf3", "VpcAttachments": [] } } **To create a virtual private gateway with a specific Amazon-side ASN** This example creates a virtual private gateway and specifies the Autonomous System Number (ASN) for the Amazon side of the BGP session. Command:: aws ec2 create-vpn-gateway --type ipsec.1 --amazon-side-asn 65001 Output:: { "VpnGateway": { "AmazonSideAsn": 65001, "State": "available", "Type": "ipsec.1", "VpnGatewayId": "vgw-9a4cacf3", "VpcAttachments": [] } }