EC2-CREATE-GROUP(1)

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

πŸ‘‘ EC2-CREATE-GROUP(1) β€” User Commands πŸ’–

okay bestie, pull up a chair, we're doing AWS security groups today and honestly? it's giving ✨empowerment✨


🌸 NAME 🌸

ec2-create-group β€” Create a new security group


✨ SYNOPSIS ✨

ec2addgrp ([ec2-create-group, ec2-add-group])
ec2addgrp [GENERAL OPTIONS] GROUP -d GROUP-DESCRIPTION [ -c VPC ]

so like, ec2addgrp is the actual command name, but she also answers to ec2-create-group and ec2-add-group because a queen has many names πŸ’…


🫢 GENERAL NOTES 🫢

Any command option/parameter may be passed a value of - to indicate that values for that option should be read from stdin.

translation: you can literally hand her a - instead of a value, and she'll go read it from stdin instead. main character energy, honestly. πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

Create a new security group.

The GROUP parameter is the name of the new group.

that's it. that's the whole vibe. you give her a name, she makes you a group. slay. πŸ”₯


πŸ’œ GENERAL OPTIONS πŸ’œ

  • -O, --aws-access-key KEY β€” your AWS Access Key ID. defaults to whatever AWS_ACCESS_KEY is set to (if it's set, bestie).
  • -W, --aws-secret-key KEY β€” your AWS Secret Access Key. defaults to the value of AWS_SECRET_KEY (if set).
  • -T, --security-token TOKEN β€” the AWS delegation token. defaults to whatever AWS_DELEGATION_TOKEN is holding (if set).
  • -K, --private-key KEY β€” [DEPRECATED] 😭 specify KEY as the private key to use. defaults to the value of EC2_PRIVATE_KEY (if set). overrides the default.
  • -C, --cert CERT β€” [DEPRECATED] πŸ’€ specify CERT as the X509 certificate to use. defaults to the value of EC2_CERT (if set). overrides the default.
  • -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). 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. defaults to the region specified by the EC2_URL environment variable, or us-east-1 if that environment variable isn't set. she said no indecision, pick a region. 🌍
  • -D, --auth-dry-run β€” check if you can perform the requested action rather than actually performing it. it's the "let me think about it" of flags. πŸ™ˆ
  • -v, --verbose β€” verbose output. she will tell you EVERYTHING. no secrets. πŸ’–
  • -?, --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 πŸŽ€

  • -c, --vpc VPC β€” the VPC in which to create the security group, if required.
  • -d, --description GROUP-DESCRIPTION β€” a more verbose description of the group being created.

ngl, that -d is basically the group's bio. make it good. ✨


🌈 SEE ALSO 🌈


lowkey a warning, bestie: -K and -C are [DEPRECATED]. they still work (they're right there in the list) but the universe has moved on. πŸ‘‘

and that's a wrap! 🎬 this little masterpiece is brought to you by the EC2 API command line tools, version 1.6.14.1, riding the api=2014-05-01 wave 🌊, filed under EC2-CREATE-GROUP(1). go make some groups, you absolute icon. periodt. πŸ’…πŸ’–βœ¨

πŸ“¦ where this page comes from