0

I have the following instances, they are in the same VPC and region but different AZs, both of them are in the same SecurityGroup.

Subnets:

  • us-west-2a instance-a 172.31.32.0/20
  • us-west-2b instance-b 172.31.16.0/20

These two instances are not able to communicate with each other. What do I need to do to enable communication between these two AZs?

Here is the main route: enter image description here

Subnet 1: Subnet 1

Subnet 2: Subnet 2

henrycarteruk
  • 12,708
  • 2
  • 36
  • 40
Danny D
  • 828
  • 1
  • 9
  • 20

1 Answers1

1

You have to open the needed ports in the SecurityGroups of the EC2s. You should also look into your subnets and the routing tables of these subnets or your VPC.

  • both of them are in the same security group does – Danny D Mar 21 '17 at 15:50
  • I was working with the assumption that since both instances are using the same securityGroup , the issue had to be routing table but . even if they are with in the same security group, i had to open ports by self referencing the security group . – Danny D Mar 21 '17 at 22:19