EC2-CREATE-CUSTOMER-GATEWAY(1)

πŸ“¦ version 1.6.14.1, in ubuntu jammy, ubuntu noble

πŸ’– 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-key KEY β€” your AWS Access Key ID. Defaults to the value of the AWS_ACCESS_KEY environment variable (if set). ✨
  • -W, --aws-secret-key KEY β€” your AWS Secret Access Key. Defaults to the value of the AWS_SECRET_KEY environment variable (if set). 🀫
  • -T, --security-token TOKEN β€” AWS delegation token. Defaults to the value of the AWS_DELEGATION_TOKEN environment variable (if set).
  • -K, --private-key KEY β€” [DEPRECATED] Specify KEY as the private key to use. Defaults to the value of the EC2_PRIVATE_KEY environment variable (if set). Overrides the default. (bestie it's deprecated, so like, it's giving 2014, use it with awareness πŸ’€)
  • -C, --cert CERT β€” [DEPRECATED] Specify CERT as the X509 certificate to use. Defaults to the value of the EC2_CERT environment variable (if set). Overrides the default. (also deprecated, also still here, we don't make the rules πŸŽ€)
  • -U, --url URL β€” Specify URL as the web service URL to use. Defaults to the value of https://ec2.amazonaws.com (us-east-1) or to that of the EC2_URL environment variable (if set). Overrides the default.
  • --region REGION β€” Specify REGION as the web service region to use. This option will override the URL specified by the -U URL option and the EC2_URL environment variable. This option defaults to the region specified by the EC2_URL environment variable or us-east-1 if 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-timeout TIMEOUT β€” Specify a connection timeout TIMEOUT (in seconds).
  • --request-timeout TIMEOUT β€” Specify a request timeout TIMEOUT (in seconds).

⭐ SPECIFIC OPTIONS ⭐

  • -t, --type TYPE β€” The type of VPN connection this customer gateway supports. πŸ”₯
  • -i, --ip IP_ADDRESS β€” The static Internet-routable IP address for the customer gateway's outside interface.
  • -b, --bgp-asn BGP_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 of 65000 will be used. and that's your fallback queen, she's always there πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

go read the docs bestie, iykyk πŸ“š


heads up: -K/--private-key and -C/--cert are 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