how to find the attached ebs volume for an instance

user3435964

Is there a way to find ebs volume id attached to a instance given the ec2 instanceid something like

curl -s http://169.254.169.254/???? 

or aws-cli

E.J. Brennan

With the aws-cli, you could do this:

aws ec2 describe-instances --instance-ids xxxxxxxx

where xxxxxxx, is the instance id you are after. It will give you a lot more information that just the ebs volumne id, but it is in there for you to parse out.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Instance OS cannot find attached volume

From Dev

Can an existing device-name be given to a new EBS volume being attached to an Amazon EC2 instance?

From Dev

Switch EBS volume to another instance

From Dev

Boot EBS volume from Bamboo instance

From Dev

Boot EBS volume from Bamboo instance

From Dev

AWS EBS Volume - Python - Find all fields info as shown in AWS EC2 EBS Volume Console

From Dev

How to tag EBS volume using Ansible?

From Dev

How To Create a Bootable EBS Volume for Amazon Linux

From Dev

AWS - t2.micro instance EBS Volume size

From Dev

BASH - Check if a volume is attached to instance without AWS CLI tools

From Dev

How to find AWS AMI image for EBS backed instance that would let me connect

From Dev

How can I test in bash if an EBS volume already has a filesystem on it?

From Dev

AWS OpsWorks: how to set the default EBS volume size per layer?

From Dev

How To Use Cloud Init To mount an unformatted EBS volume

From Dev

AWS OpsWorks: how to set the default EBS volume size per layer?

From Dev

How to attach new EBS volume to Ubuntu machine on AWS?

From Dev

Prewarming EBS Volume

From Dev

Prewarming EBS Volume

From Dev

Is the EBS volume mounted ? and where?

From Dev

On AWS, is it possible to find leftover data on the instance stores or EBS volumes?

From Java

AWS EC2 EBS Volume mapping - how to identify volume on host

From Dev

How to find the attached devices UUID through terminal?

From Dev

How to find the attached devices UUID through terminal?

From Dev

Terraform: How to read the volume ID of one instance?

From Dev

On attaching CentOS root volume with AWS marketplace code to other CentOS EC2 instance, the other instance boots up using the attached root volume

From Dev

AWS EC2: How to remount previous EBS volume using pivot_root?

From Dev

How can I transfer data from an EBS volume to a S3 bucket?

From Dev

How can I transfer data from an EBS volume to a S3 bucket?

From Dev

How to find volume of petrol in horizontal cylindrical tank?

Related Related

  1. 1

    Instance OS cannot find attached volume

  2. 2

    Can an existing device-name be given to a new EBS volume being attached to an Amazon EC2 instance?

  3. 3

    Switch EBS volume to another instance

  4. 4

    Boot EBS volume from Bamboo instance

  5. 5

    Boot EBS volume from Bamboo instance

  6. 6

    AWS EBS Volume - Python - Find all fields info as shown in AWS EC2 EBS Volume Console

  7. 7

    How to tag EBS volume using Ansible?

  8. 8

    How To Create a Bootable EBS Volume for Amazon Linux

  9. 9

    AWS - t2.micro instance EBS Volume size

  10. 10

    BASH - Check if a volume is attached to instance without AWS CLI tools

  11. 11

    How to find AWS AMI image for EBS backed instance that would let me connect

  12. 12

    How can I test in bash if an EBS volume already has a filesystem on it?

  13. 13

    AWS OpsWorks: how to set the default EBS volume size per layer?

  14. 14

    How To Use Cloud Init To mount an unformatted EBS volume

  15. 15

    AWS OpsWorks: how to set the default EBS volume size per layer?

  16. 16

    How to attach new EBS volume to Ubuntu machine on AWS?

  17. 17

    Prewarming EBS Volume

  18. 18

    Prewarming EBS Volume

  19. 19

    Is the EBS volume mounted ? and where?

  20. 20

    On AWS, is it possible to find leftover data on the instance stores or EBS volumes?

  21. 21

    AWS EC2 EBS Volume mapping - how to identify volume on host

  22. 22

    How to find the attached devices UUID through terminal?

  23. 23

    How to find the attached devices UUID through terminal?

  24. 24

    Terraform: How to read the volume ID of one instance?

  25. 25

    On attaching CentOS root volume with AWS marketplace code to other CentOS EC2 instance, the other instance boots up using the attached root volume

  26. 26

    AWS EC2: How to remount previous EBS volume using pivot_root?

  27. 27

    How can I transfer data from an EBS volume to a S3 bucket?

  28. 28

    How can I transfer data from an EBS volume to a S3 bucket?

  29. 29

    How to find volume of petrol in horizontal cylindrical tank?

HotTag

Archive