EC2-CREATE-GROUP(1)
π 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-keyKEY β your AWS Access Key ID. defaults to whateverAWS_ACCESS_KEYis set to (if it's set, bestie).-W,--aws-secret-keyKEY β your AWS Secret Access Key. defaults to the value ofAWS_SECRET_KEY(if set).-T,--security-tokenTOKEN β the AWS delegation token. defaults to whateverAWS_DELEGATION_TOKENis holding (if set).-K,--private-keyKEY β[DEPRECATED]π specifyKEYas the private key to use. defaults to the value ofEC2_PRIVATE_KEY(if set). overrides the default.-C,--certCERT β[DEPRECATED]π specifyCERTas the X509 certificate to use. defaults to the value ofEC2_CERT(if set). overrides the default.-U,--urlURL β specifyURLas the web service URL to use. defaults tohttps://ec2.amazonaws.com(that's us-east-1, for the geography girlies) or to the value of theEC2_URLenvironment variable (if set). overrides the default.--regionREGION β specifyREGIONas the web service region to use. this option will override the URL specified by the-U URLoption and theEC2_URLenvironment variable. defaults to the region specified by theEC2_URLenvironment 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-timeoutTIMEOUT β specify a connection timeoutTIMEOUT(in seconds).--request-timeoutTIMEOUT β specify a request timeoutTIMEOUT(in seconds).
π SPECIFIC OPTIONS π
-c,--vpcVPC β the VPC in which to create the security group, if required.-d,--descriptionGROUP-DESCRIPTION β a more verbose description of the group being created.
ngl, that -d is basically the group's bio. make it good. β¨
π SEE ALSO π
http://docs.amazonwebservices.com/AWSEC2/2014-05-01/CommandLineReferencehttp://docs.amazonwebservices.com/AWSEC2/latest/CommandLineReference
lowkey a warning, bestie:-Kand-Care[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
- 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