EC2-CREATE-CUSTOMER-GATEWAY(1)
π ec2-create-customer-gateway π
okay bestie, welcome to the ec2-create-customer-gateway era β that's a User Commands page, section 1 of the manual, and it's literally about spinning up a VPC gateway. yes we're doing cloud networking in the group chat now, stay with me π«Ά
β¨ NAME β¨
ec2-create-customer-gateway β Create a VPC gateway π
πΈ SYNOPSIS πΈ
ec2addcgw ([ec2-create-customer-gateway])
ec2addcgw [GENERAL OPTIONS] -t TYPE -i IP -b BGP_ASN
like, that's the whole vibe. two ways in, both valid, both iconic π
π GENERAL NOTES π
Any command option/parameter may be passed a value of - to indicate that values for that option should be read from stdin. yes bestie, the hyphen is doing the work of "read it yourself from the keyboard bestie" π lowkey genius.
π¦ DESCRIPTION π¦
So this one provides information to AWS about your customer gateway device. that's the whole job, no notes.
You must provide the BGP ASN of the device and a static Internet-routable IP address of the customer gateway's outside interface. no skipping steps, no half-assing it, the API will simply not be slayed π
π GENERAL OPTIONS π
-O,--aws-access-keyKEY β your AWS Access Key ID. Defaults to the value of theAWS_ACCESS_KEYenvironment variable (if set). β¨-W,--aws-secret-keyKEY β your AWS Secret Access Key. Defaults to the value of theAWS_SECRET_KEYenvironment variable (if set). π€«-T,--security-tokenTOKEN β AWS delegation token. Defaults to the value of theAWS_DELEGATION_TOKENenvironment variable (if set).-K,--private-keyKEY β [DEPRECATED] Specify KEY as the private key to use. Defaults to the value of theEC2_PRIVATE_KEYenvironment variable (if set). Overrides the default. (bestie it's deprecated, so like, it's giving 2014, use it with awareness π)-C,--certCERT β [DEPRECATED] Specify CERT as the X509 certificate to use. Defaults to the value of theEC2_CERTenvironment variable (if set). Overrides the default. (also deprecated, also still here, we don't make the rules π)-U,--urlURL β Specify URL as the web service URL to use. Defaults to the value ofhttps://ec2.amazonaws.com(us-east-1) or to that of theEC2_URLenvironment variable (if set). Overrides the default.--regionREGION β Specify REGION as the web service region to use. This option will override the URL specified by the-U URLoption and theEC2_URLenvironment variable. This option defaults to the region specified by theEC2_URLenvironment variable orus-east-1if this environment variable is not set. π-D,--auth-dry-runβ Check if you can perform the requested action rather than actually performing it. a little vibe check before you commit, we love a responsible queen π«Ά-v,--verboseβ Verbose output.-?,--helpβ Display this help.-H,--headersβ Display column headers.--debugβ Display additional debugging information.--show-empty-fieldsβ Indicate empty fields.--hide-tagsβ Do not display tags for tagged resources.--connection-timeoutTIMEOUT β Specify a connection timeout TIMEOUT (in seconds).--request-timeoutTIMEOUT β Specify a request timeout TIMEOUT (in seconds).
β SPECIFIC OPTIONS β
-t,--typeTYPE β The type of VPN connection this customer gateway supports. π₯-i,--ipIP_ADDRESS β The static Internet-routable IP address for the customer gateway's outside interface.-b,--bgp-asnBGP_ASN β The customer gateway's Border Gateway Protocol (BGP) routing Autonomous System Number (ASN). [OPTIONAL]. If you do not specify a value, a default value of65000will be used. and that's your fallback queen, she's always there π
π SEE ALSO π
http://docs.amazonwebservices.com/AWSEC2/2014-05-01/CommandLineReferencehttp://docs.amazonwebservices.com/AWSEC2/latest/CommandLineReference
go read the docs bestie, iykyk π
heads up:-K/--private-keyand-C/--certare marked [DEPRECATED] in the original, so don't come for me, that's canon π
and that's a wrap on the ec2-create-customer-gateway page fr fr π this was served up from the EC2 API command line tools, version 1.6.14.1, api=2014-05-01 β periodt, slay, go build a gateway πβ¨
π¦ where this page comes from
- ubuntu jammy: ec2-api-tools 1.6.14.1-0ubuntu1
- ubuntu noble: ec2-api-tools 1.6.14.1-0ubuntu2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms