EC2-CREATE-V...NG-CONNECTION(1)

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

✨ EC2-CREATE-V...NG-CONNECTION ✨

okay bestie, welcome to the ec2-create-vpc-peering-connection manual page πŸ’– it lives in the User Commands section of the manual (that's manual section 1, iykyk), and it's literally about making two VPCs become besties. let's get into it 🫢


🌸 NAME 🌸

ec2-create-vpc-peering-connection β€” Create a new VPC Peering Connection ✨

like. the whole point. two VPCs, one connection, no cap.


πŸŽ€ SYNOPSIS πŸŽ€

ec2addpcx ([ec2-create-vpc-peering-connection])
ec2addpcx [GENERAL OPTIONS] -c VPC -p VPC [-o PEER_OWNER_ID]

so yeah, you can just call ec2addpcx (or the long-form name, whatever your heart wants) πŸ’…


πŸ¦‹ GENERAL NOTES πŸ¦‹

Any command option or parameter can be handed the value - and that means "hey, read the values for this one off stdin instead" πŸ“₯ yes, ANY of them. iconic behaviour honestly.


⭐ DESCRIPTION ⭐

Creates a new VPC Peering Connection between two VPCs. that's it, that's the whole vibe. two VPCs, linked up, besties forever πŸ«ΆπŸ’«


πŸ’… GENERAL OPTIONS πŸ’…

these are the options that are always hanging around, no matter what you're doing πŸ‘‘

  • -O, --aws-access-key KEY β€” your AWS Access Key ID πŸ”‘. defaults to whatever's in the AWS_ACCESS_KEY environment variable (if that's even set).
  • -W, --aws-secret-key KEY β€” your AWS Secret Access Key 🀫. defaults to the AWS_SECRET_KEY environment variable (if it's set).
  • -T, --security-token TOKEN β€” your AWS delegation token 🎫. defaults to the AWS_DELEGATION_TOKEN environment variable (if it's set).
  • -K, --private-key KEY β€” [DEPRECATED] use KEY as the private key. defaults to the value of the EC2_PRIVATE_KEY environment variable (if set), and overrides the default. ngl bestie, deprecated means move on πŸ’€
  • -C, --cert CERT β€” [DEPRECATED] use CERT as the X509 certificate. defaults to the value of the EC2_CERT environment variable (if set), and overrides the default. also deprecated, also please don't 😭
  • -U, --url URL β€” use URL as the web service URL 🌐. defaults to 'https://ec2.amazonaws.com' (that's us-east-1) or to whatever the EC2_URL environment variable says (if it's set). overrides the default.
  • --region REGION β€” use REGION as the web service region πŸ—ΊοΈ. this one overrides the URL you gave with the -U URL option AND the EC2_URL environment variable. it defaults to whatever region EC2_URL points at, or us-east-1 if that variable isn't set at all.
  • -D, --auth-dry-run β€” just check if you'd be allowed to do the thing, without actually doing the thing πŸ‘€ very "asking permission first" of you, love that.
  • -v, --verbose β€” verbose output πŸ—£οΈ she's chatty.
  • -?, --help β€” display this help πŸ™‹
  • -H, --headers β€” display column headers πŸ“‹
  • --debug β€” display extra debugging information πŸ›
  • --show-empty-fields β€” indicate empty fields πŸ•³οΈ (yes, even the empty ones deserve to be seen)
  • --hide-tags β€” do NOT display tags for tagged resources πŸ™ˆ
  • --connection-timeout TIMEOUT β€” set the connection timeout TIMEOUT, in seconds ⏱️
  • --request-timeout TIMEOUT β€” set the request timeout TIMEOUT, in seconds ⏳

πŸ”₯ SPECIFIC OPTIONS πŸ”₯

these ones are the whole reason we're here, the main characters of this page πŸ‘‘

  • -c, --vpc VPC β€” the ID of your VPC, the one you're making a peering connection from 🏠
  • -p, --peer-vpc VPC β€” the ID of the Peer VPC, the one you're making a peering connection with 🀝. if that VPC belongs to a whole different account than yours, you also have to specify the Peer Owner ID (-o | --peer-owner-id) ⚠️ don't forget, she will not connect without it.
  • -o, --peer-owner-id PEER_OWNER_ID β€” the account ID of the owner of the Peer VPC you're peering with πŸ”‘. defaults to your own account ID.
okay real talk for a sec bestie β€” if the peer VPC isn't yours, the -o/--peer-owner-id is not optional, it's mandatory. no cap, the command will not vibe with you otherwise πŸ’€

🌈 SEE ALSO 🌈


and that's the whole page, bestie!! πŸŽ€βœ¨ this was brought to you by the EC2 API command line tools, version 1.6.14.1, api version 2014-05 β€” periodt πŸ’…πŸ¦‹ go forth and peer those VPCs 🫢

πŸ“¦ where this page comes from