EC2-UNASSIGN...-IP-ADDRESSES(1)
π ec2-unassign-private-ip-addresses(1) π
okay bestie, listen up β this is a User Commands page from the EC2 API command line tools, and it's literally just about yeeting secondary private IP addresses off a network interface. no cap. let's get into it π¦
β¨ NAME β¨
ec2-unassign-private-ip-addresses β unassign secondary private IP addresses from the specified network πΈ
β¨ SYNOPSIS β¨
ec2upip ([ec2-unassign-private-ip-addresses])
ec2upip [GENERAL OPTIONS] -n NETWORK_INTERFACE_ID
--secondary-private-ip-address SECONDARY_PRIVATE_IP_ADDRESS
[--secondary-private-ip-address SECONDARY_PRIVATE_IP_ADDRESS ...])
so the little alias is ec2upip, iconic, short, slay. you give it a network interface ID with -n, and then you can stack as many --secondary-private-ip-address flags as you want, one per address, periodt. π
β¨ GENERAL NOTES β¨
okay this is important and kind of a vibe:
any command option or parameter can be handed a value of - to say "hey, read the values for this option from stdin instead." that's the whole note. that's it. π
β¨ DESCRIPTION β¨
Unassign secondary private IP addresses from the specified network interface. that's the entire job description, bestie, and honestly? she does it flawlessly. π
β¨ GENERAL OPTIONS β¨
these are the group-chat-wide options, they apply to everything:
-O,--aws-access-key KEYβ your AWS Access Key ID. defaults to whateverAWS_ACCESS_KEYis set to in the environment (if it's set at all). π-W,--aws-secret-key KEYβ your AWS Secret Access Key. defaults to the value of theAWS_SECRET_KEYenvironment variable (if set). π€«-T,--security-token TOKENβ the AWS delegation token. defaults to the value of theAWS_DELEGATION_TOKENenvironment variable (if set). π«-K,--private-key KEYβ [DEPRECATED] specifyKEYas the private key to use. defaults to the value of theEC2_PRIVATE_KEYenvironment variable (if set). overrides the default. β οΈ-C,--cert CERTβ [DEPRECATED] specifyCERTas the X509 certificate to use. defaults to the value of theEC2_CERTenvironment variable (if set). overrides the default. β οΈ-U,--url URLβ specifyURLas the web service URL to use. defaults to'https://ec2.amazonaws.com'(us-east-1) or to the value of theEC2_URLenvironment variable (if set). overrides the default. π--region REGIONβ specifyREGIONas 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. πΊοΈ-D,--auth-dry-runβ check if you can perform the requested action instead of actually doing it. a little vibe check before you commit, we love a rehearsal. π-v,--verboseβ verbose output. she's chatty. π¬-?,--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 timeoutTIMEOUT(in seconds). β±οΈ--request-timeout TIMEOUTβ specify a request timeoutTIMEOUT(in seconds). β³
β¨ SPECIFIC OPTIONS β¨
the main-character options, the ones this page is literally about:
-n,--network-interface NETWORKINTERFACEβ the ID of the network interface from which the specified addresses will be unassigned . π (yes the original has that little space before the period, we're keeping it, we don't edit the queen's punctuation π )--secondary-private-ip-address SECONDARY-PRIVATE-IP-ADDRESSβ secondary private IP address to be unassigned from the the specified network interface. (two "the"s in the original and honestly? relatable. keeping it fr fr. π)
β¨ SEE ALSO β¨
go read the lore, bestie:
http://docs.amazonwebservices.com/AWSEC2/2014-05-01/CommandLineReferencehttp://docs.amazonwebservices.com/AWSEC2/latest/CommandLineReference
and that's the whole page!! π this diva came to you from the EC2 API command line tools, version 1.6.14.1, api=2014-05. take care of her, unassign responsibly, and don't forget to unassign yourself from the group chat when you're done. mwah πβ¨
π¦ 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