Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS console not showing all instances during volume attach

Tags:

amazon-ec2

I do the following using AWS web console:

  1. Attach EBS volume-A to instance-A. Make some changes to data on volume-A and detach it
  2. Launch new instance-B (in the same zone as instance-A)
  3. Try attach volume-A to the new instance-B. But the new instance does not appear in the instances list during attach volume process (dialog box).

If I try the same attach using command line EC2 API (volume-A and instance-B), it works fine!

Do you know if this is a bug in AWS web console or am I doing something wrong in the console? Tried page refresh in Step #3 but it still would not list the new instance.

like image 539
Vijay Avatar asked Jul 08 '11 06:07

Vijay


People also ask

Can I attach an EBS volume to multiple EC2 instances?

Amazon EBS Multi-Attach enables you to attach a single Provisioned IOPS SSD ( io1 or io2 ) volume to multiple instances that are in the same Availability Zone. You can attach multiple Multi-Attach enabled volumes to an instance or set of instances.

How many instances can be attached to an EBS volume?

EC2 Instances limit: Users can currently attach a maximum of 16 instances per EBS volume.

How do I view all EC2 instances?

Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/ . In the navigation pane, choose the option that corresponds to the resource type. For example, to list your instances, choose Instances. The page displays all resources of the selected resource type.

Can I attach EBS volume to another instance?

You can attach an available EBS volume to one or more of your instances that is in the same Availability Zone as the volume.


1 Answers

In order to attach, both volumes has to be in the same zone. So if you are going to attach a volume into a instance check the zone of the instance's attached volume. If those are not matching create a new instance with the same zone as the zone of the volume that you need to attached.

like image 105
Upul Doluweera Avatar answered Sep 29 '22 00:09

Upul Doluweera