EC2-ATTACH-VOLUME(1)

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

πŸ’– EC2-ATTACH-VOLUME πŸ’–

okay bestie, welcome to the ec2-attach-volume manual page, part of User Commands β€” yes the whole thing is literally just called that. buckle up, we're attaching volumes and we're gonna be so normal about it πŸŽ€


✨ NAME ✨

ec2-attach-volume β€” attach an available volume to an instance


🌸 SYNOPSIS 🌸

ec2attvol ([ec2-attach-volume])
ec2attvol [GENERAL OPTIONS] VOLUME -i INSTANCE -d DEVICE

🫢 GENERAL NOTES 🫢

so here's a lil universal truth, no cap: literally any command option or parameter can be handed a value of - , and that means "bestie, read the values for this option from stdin." that's it. that's the note. iconic behavior honestly πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

you're taking an available volume and gluing it onto an instance as one specific device. that's the whole vibe. the VOLUME parameter is the name of the available volume you want to attach β€” it has to be available, the way your schedule should be for me but never is 😭


πŸ’œ 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, which… hopefully it is πŸ₯²).
  • -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 β€” 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. (deprecated, so like… it's giving vintage. use at your own risk, fr fr.)
  • -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 you gave with -U URL and the EC2_URL environment variable. it defaults to the region specified by the EC2_URL environment variable, or us-east-1 if that env var isn't set. the way it just overrides everything… main character energy πŸ‘‘
  • -D, --auth-dry-run β€” check whether you can do the requested action instead of actually doing it. a vibe check for permissions, basically 🌈
  • -v, --verbose β€” verbose output. it will talk. a lot. we love a yapper πŸ’¬
  • -?, --help β€” display this help.
  • -H, --headers β€” display column headers.
  • --debug β€” display additional debugging information. for when you need the tea β˜•
  • --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).
  • -i, --instance INSTANCE β€” a running instance to which to attach VOLUME. it has to be running, bestie, not napping 😴
  • -d, --device DEVICE β€” a device name as which to expose VOLUME inside INSTANCE.

πŸ‘€ SEE ALSO πŸ‘€


okay that's the whole page, you ate that πŸ’…βœ¨ this was brought to you by the EC2 API command line tools, version 1.6.14.1, api=2014-05-01 β€” mwah, go attach something, you've got this πŸ«ΆπŸŽ€πŸ¦‹

πŸ“¦ where this page comes from