QT-DevOps / AWSIssues

Issues with AWS
Apache License 2.0
3 stars 26 forks source link

Not Able to Communicate within a Same VPC Using custom Hostname #86

Closed mayanksharma2080 closed 4 years ago

mayanksharma2080 commented 4 years ago

Hi, I have create 2 EC2 Instances in a VPC and enabled DNS resolution and DNS Hostname resolution and changed hostnames of both machines as Example1 and Example2 but i am not able to ping each other using custom.

shaikkhajaibrahim commented 4 years ago

Share your NACL AND SECURITY GROUP

mayanksharma2080 commented 4 years ago

Thanks for reverting back sir, Hope your health is better now. I have allowed all traffic in SG and NACL.

SG NACL

mayanksharma2080 commented 4 years ago

I am able to ping these instances using IPs but not able to ping using Custom hostnames.

image

image

NareshAbbanapuri commented 4 years ago

hi we can able to ping DNS or Ip machine name I don't think so

shaikkhajaibrahim commented 4 years ago

image

Refer https://docs.aws.amazon.com/vpc/latest/userguide/vpc-dns.html