EC2-ATTACH-NETWORK-INTERFACE(1)

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

EC2-ATTACH-NETWORK-INTERFACE πŸ’–

okay bestie, so you know how sometimes your lil cloud instance is just sitting there with no network interface and you're like "girl... get a life"? yeah. this is the manual page for ec2-attach-network-interface πŸ’… β€” it's a User Command from the EC2 API command line tools, and it does exactly the one thing it says on the tin. iconic behaviour, honestly.


✨ NAME ✨

ec2-attach-network-interface β€” attaches a network interface to an instance. that's it. that's the whole job. she's a one-trick pony and she ATE πŸ“


🌸 SYNOPSIS 🌸

ec2attnic ([ec2-attach-network-interface])
ec2attnic [GENERAL OPTIONS] NETWORKINTERFACE -i INSTANCE -d DEVICEINDEX

so the short lil nickname is ec2attnic, and you can also call her by her full government name ec2-attach-network-interface. either way, she wants your NETWORKINTERFACE plus an instance (-i INSTANCE) and a device index (-d DEVICEINDEX). no cap. πŸ¦‹


πŸ‘‘ GENERAL NOTES πŸ‘‘

okay so this is the part everyone skips and then cries about later: any command option or parameter can be handed a value of -, and that means "bestie, read the values for this option from stdin instead." every single one. fr fr. πŸ”₯


πŸ’œ DESCRIPTION πŸ’œ

Attaches a network interface to an instance. she's simple, she's direct, she's not here to waste your time. main character energy but make it infrastructure. ✨


πŸŽ€ GENERAL OPTIONS πŸŽ€

these are the shared ones β€” every command in the fam has them, so learn them once and you're set for life. iykyk. πŸ’…

  • -O, --aws-access-key KEY β€” your AWS Access Key ID. if you don't say anything, she defaults to whatever's in the AWS_ACCESS_KEY environment variable (if it's set). 🌈
  • -W, --aws-secret-key KEY β€” your AWS Secret Access Key. defaults to the value of the AWS_SECRET_KEY environment variable (if set). keep this one secret bestie, literally the name says it 😭
  • -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.
both of those are deprecated, okay? like, we don't do that anymore. she'll still let you, but the vibes are off. πŸ’€
  • -U, --url URL β€” specify URL as the web service URL to use. defaults to the value of 'https://ec2.amazonaws.com' (us-east-1) or to that 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 is not set. πŸ‘‘
  • -D, --auth-dry-run β€” checks if you can perform the requested action instead of actually performing it. the "just checking babe, not committing" option. 🧚
  • -v, --verbose β€” verbose output. she will tell you EVERYTHING. not me being nosy πŸ”₯
  • -?, --help β€” display this help. hi, you are here. πŸ’–
  • -H, --headers β€” display column headers. πŸ“‹
  • --debug β€” display additional debugging information. for when it's giving... problems. 😭
  • --show-empty-fields β€” indicate empty fields. yes queen, show us the nothing. ✨
  • --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 πŸ’–

these are the ones that actually do the thing. the moment. the main event. 🌟

  • -i, --instance INSTANCE β€” the ID of the instance that will be attached to the network interface. that's the girl getting the glow-up. πŸ‘‘
  • -d, --device-index DEVICEINDEX β€” the index of the device for the network interface attachment on the instance. which slot she's sitting in. πŸ’…

πŸ”— SEE ALSO πŸ”—

go read the lore, bestie:


🌈 bye babes 🌈

that's the whole page! this was EC2 API command line tools, version 1.6.14.1, api 2014-05 β€” so yes she's a lil vintage, she's an old money icon, and she still works. go attach that network interface. slay. πŸ’…βœ¨πŸ«Ά

πŸ“¦ where this page comes from