EC2-UNASSIGN...-IP-ADDRESSES(1)

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

πŸ’– 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 whatever AWS_ACCESS_KEY is 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 the AWS_SECRET_KEY environment variable (if set). 🀫
  • -T, --security-token TOKEN β€” the AWS delegation token. defaults to the value of 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). overrides the default. ⚠️
  • -C, --cert CERT β€” [DEPRECATED] specify CERT as the X509 certificate to use. defaults to the value of the EC2_CERT environment variable (if set). overrides the default. ⚠️
  • -U, --url URL β€” specify URL as the web service URL to use. defaults to 'https://ec2.amazonaws.com' (us-east-1) 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. it defaults to the region specified by the EC2_URL environment variable, or us-east-1 if 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 timeout TIMEOUT (in seconds). ⏱️
  • --request-timeout TIMEOUT β€” specify a request timeout TIMEOUT (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:


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