EC2-ATTACH-VOLUME(1)
π 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 whateverAWS_ACCESS_KEYis 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 theAWS_SECRET_KEYenvironment variable (if set).-T,--security-token TOKENβ 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. (deprecated, so likeβ¦ it's giving vintage. use at your own risk, fr fr.)-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 tohttps://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 you gave with-U URLand theEC2_URLenvironment variable. it defaults to the region specified by theEC2_URLenvironment variable, orus-east-1if 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 timeoutTIMEOUT(in seconds).--request-timeout TIMEOUTβ specify a request timeoutTIMEOUT(in seconds).-i,--instance INSTANCEβ a running instance to which to attachVOLUME. it has to be running, bestie, not napping π΄-d,--device DEVICEβ a device name as which to exposeVOLUMEinsideINSTANCE.
π SEE ALSO π
http://docs.amazonwebservices.com/AWSEC2/2014-05-01/CommandLineReferencehttp://docs.amazonwebservices.com/AWSEC2/latest/CommandLineReference
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
- 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