Question

ec2 = boto.ec2.connect_to_region(regionName)

gets hung in a instance in VPC. boto ec2 connect to region is not working in a EC2 instance in Amazon VPC but the same thing works outside Amazon VPC.

What are the things I need to check ?

Thank you

Was it helpful?

Solution

The VPC adds egress rules to Security Groups. It also adds a new feature called Network ACLs that adds stateless ingress and egress rules. Check both your Network ACLs and Security Groups to make sure that you aren't blocking anything with egress rules.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top