EC2-CREATE-VPC(1)
π EC2-CREATE-VPC(1) π
okay bestie, sit down, hydrate, and let me tell you about ec2-create-vpc β it lives in the User Commands section of the manual, and it does literally exactly what it says on the tin: it creates a VPC. that's it. that's the whole job. iconic behavior honestly π¦
β¨ NAME β¨
ec2-create-vpc β Creates a VPC π
πΈ SYNOPSIS πΈ
ec2addvpc ([ec2-create-vpc])
ec2addvpc [GENERAL OPTIONS] CIDR
so yeah, the command you actually type is ec2addvpc (the alias ate and left no crumbs), and you can either run it with no args at all, or you hand it your GENERAL OPTIONS plus a CIDR block. that's the whole vibe check. β¨
π GENERAL NOTES π
lowkey important, highkey useful: any command option or parameter can be handed a value of - to say "bestie, read the values for this option from stdin instead." no cap. π«Ά
π DESCRIPTION π
It creates a VPC with the CIDR block you specify, bestie. and like, the CIDR parameter has to be a valid CIDR block, for example 10.0.2.0/24. that's the tea. π
π GENERAL OPTIONS π
these are the ones you can pass to basically everything, not just this command. they're the group-chat regulars fr fr.
-O,--aws-access-keyKEY β your AWS Access Key ID. it defaults to whatever theAWS_ACCESS_KEYenvironment variable is set to (if it's set, that is). π-W,--aws-secret-keyKEY β your AWS Secret Access Key. defaults to theAWS_SECRET_KEYenvironment variable (if set). keep this one secret, obviously, it's giving classified. π€«-T,--security-tokenTOKEN β your AWS delegation token. defaults to 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), and it overrides the default. heads up though: deprecated means deprecated, bestie, don't build your whole personality on it. π-C,--certCERT β [DEPRECATED] specify CERT as the X509 certificate to use. defaults to the value of theEC2_CERTenvironment variable (if set), and it overrides the default. same energy as above: deprecated, so likeβ¦ noted. π«Ά-U,--urlURL β specify URL as the web service URL to use. defaults to'https://ec2.amazonaws.com'(that's us-east-1, for the geography girlies) or to the value of theEC2_URLenvironment variable (if set). and yes, it 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. it defaults to the region specified by theEC2_URLenvironment variable, orus-east-1if that environment variable isn't set. so it's got layers, okay. π-D,--auth-dry-runβ checks whether you can perform the requested action instead of actually performing it. it's the "add to cart but never check out" of flags. π-v,--verboseβ verbose output. say more, queen. π£οΈ-?,--helpβ display this help. we love a self-aware command. π-H,--headersβ display column headers. β¨--debugβ display additional debugging information. for when you're in your detective era. π--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 π¦
just the one, but she's a main character:
--tenancyTENANCY β specifies the tenancy of the instances in the VPC, which can bedefaultordedicated. here's the breakdown:default: tenancy is not restricted. chill. unbothered. π§dedicated: the instance will run on single-tenant hardware, and heads up β additional charges will apply. so like, slay, but check your bank account first. πΈ
π₯ SEE ALSO π₯
http://docs.amazonwebservices.com/AWSEC2/2014-05-01/CommandLineReferencehttp://docs.amazonwebservices.com/AWSEC2/latest/CommandLineReference
go read the docs, bestie, they're right there. iykyk. π
and that's the whole page, no notes, periodt. π this was the EC2 API command line tools, version 1.6.14.1, api=2014-05-01, and yes we're still in the EC2-CREATE-VPC(1) section if you got lost. go make a VPC, you absolute icon. ππ¦β¨
π¦ 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