you may have a initscript that attaches an already accessible volume using this command:
ec2-attach-volume volume_id
for this you need
EC2-API installed on the machine
you need to have EC2_PRIVATE_KEYand EC2_CERTas an environment variable or will need to be explicitly passed.
, , . , , .
curl http://169.254.169.254/latest/meta-data/instance-id instance_id.
:
, .