EC2-CREATE-V...NG-CONNECTION(1)
β¨ 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 theAWS_ACCESS_KEYenvironment variable (if that's even set).-W,--aws-secret-key KEYβ your AWS Secret Access Key π€«. defaults to theAWS_SECRET_KEYenvironment variable (if it's set).-T,--security-token TOKENβ your AWS delegation token π«. defaults to theAWS_DELEGATION_TOKENenvironment variable (if it's set).-K,--private-key KEYβ [DEPRECATED] useKEYas the private key. defaults to the value of theEC2_PRIVATE_KEYenvironment variable (if set), and overrides the default. ngl bestie, deprecated means move on π-C,--cert CERTβ [DEPRECATED] useCERTas the X509 certificate. defaults to the value of theEC2_CERTenvironment variable (if set), and overrides the default. also deprecated, also please don't π-U,--url URLβ useURLas the web service URL π. defaults to'https://ec2.amazonaws.com'(that's us-east-1) or to whatever theEC2_URLenvironment variable says (if it's set). overrides the default.--region REGIONβ useREGIONas the web service region πΊοΈ. this one overrides the URL you gave with the-U URLoption AND theEC2_URLenvironment variable. it defaults to whatever regionEC2_URLpoints at, orus-east-1if 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 timeoutTIMEOUT, in seconds β±οΈ--request-timeout TIMEOUTβ set the request timeoutTIMEOUT, 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-idis not optional, it's mandatory. no cap, the command will not vibe with you otherwise π
π SEE ALSO π
http://docs.amazonwebservices.com/AWSEC2/2014-05-01/CommandLineReferencehttp://docs.amazonwebservices.com/AWSEC2/latest/CommandLineReference
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
- 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