Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

When trying to attach a network interface, it says...

No instances were found for this availability zone.

My instance is in us-east-1c and my network interface is in us-east-1b. Is that significant?

If so, how do I create the VPC in the same zone and if not then why this error?

EDIT:

I've re-created the VPC and the Network Interface is now us-east-1c and the EC2 instance is also us-east-1c. Same error message though!

share|improve this question
    
are the interface and the instance in the same VPC? They must be. –  smcg Nov 8 '12 at 21:10
    
did you try putting everything in the same VPC yet? –  smcg Nov 9 '12 at 20:22
    
Yes thanks I recreated the instance. :) –  Ian Warburton Nov 10 '12 at 15:11

1 Answer 1

up vote 3 down vote accepted

The subnet you are trying to connect to must be in the same availability zone as the instance. When you go to create a VPC, you usually create it with one subnet. Click "edit public subnet" and then select an availability zone. For example I see us-east-1a, us-east-1c, and us-east-1d. By default it is "no preference", which I believe means it will choose one for you.

Alternatively you can add a new subnet to your VPC. You can set an availability zone for a subnet in the same manner as above.

Just to be clear - us-east-1c and us-east-1b are distinctly different availability zones.

Also, see the VPC FAQ

Q. Can I attach a network interface in one AZ to an instance in another AZ? Network interfaces can only be attached to instances residing in the same AZ.

Q. Can I attach a network interface in one VPC to an instance in another VPC? Network interfaces can only be attached to instances in the same VPC as the interface.

share|improve this answer
    
I've updated the question. –  Ian Warburton Nov 8 '12 at 20:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.