EC2-CREATE-VPC(1)

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

πŸ’– 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-key KEY β€” your AWS Access Key ID. it defaults to whatever the AWS_ACCESS_KEY environment variable is set to (if it's set, that is). πŸ’–
  • -W, --aws-secret-key KEY β€” your AWS Secret Access Key. defaults to the AWS_SECRET_KEY environment variable (if set). keep this one secret, obviously, it's giving classified. 🀫
  • -T, --security-token TOKEN β€” your AWS delegation token. defaults to 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), and it overrides the default. heads up though: deprecated means deprecated, bestie, don't build your whole personality on it. πŸ’€
  • -C, --cert CERT β€” [DEPRECATED] specify CERT as the X509 certificate to use. defaults to the value of the EC2_CERT environment variable (if set), and it overrides the default. same energy as above: deprecated, so like… noted. 🫢
  • -U, --url URL β€” 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 the EC2_URL environment variable (if set). and yes, it 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. it defaults to the region specified by the EC2_URL environment variable, or us-east-1 if 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-timeout TIMEOUT β€” specify a connection timeout TIMEOUT (in seconds). ⏳
  • --request-timeout TIMEOUT β€” specify a request timeout TIMEOUT (in seconds). ⏳

πŸ¦‹ SPECIFIC OPTIONS πŸ¦‹

just the one, but she's a main character:

  • --tenancy TENANCY β€” specifies the tenancy of the instances in the VPC, which can be default or dedicated. 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 πŸ”₯

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