I have totally 4 VM’s deployed locally in an ESXi out of which 3 are Ubuntu 16.04 and the remaining VM is a Windows 2012 server. I have deployed a Ubuntu 20.04 instance in AWS and have done all the required network configuration for it. I used putty to access the Ubuntu 20.04 instance from Windows 2012 server which is deployed locally in the ESXi. Now when I try to ping the local machines from the Ubuntu 20.04 server, only the Ubuntu 16.04 VM’s get pinged and not the Windows 2012 Server.
The local windows 2012 server machine has DNS and AD configured in it and is able to ping the other 3 Ubuntu 16.04 VM’s. All the network configuration on the local side are also done correctly(I am telling this because, the local VM’s could ping within themselves and reach the internet.)
Please someone help me identify this issue and help me resolve. Thanks in advance
2
Answers
It sounds like you did not have a public IP on your EC2 instance, and did not allow traffic incoming into your EC2 instance from your IP address.
Normally when you create an EC2 instance it will block all incoming public traffic. You will use an ALB in the front to protect your application servers behind, but in your case where you want to connect to it (i don’t think ping in general working by the way) because you want to connect to an AWS instance from an external environment it is imported to take a look on public-IP address on your EC2 Instance and import into the look on the security group for incoming traffic ts allowed your IP address, in the start you can allow 0.0.0.0 IP when you know its working, pick you own IP.
That’s what I will recommend you to do.
Please use below troubleshoot point , i hope this can be help.
Check Windows Firewall Settings:
Ensure that the Windows Firewall on the Windows 2012 Server is not blocking incoming ICMP (ping) requests. You can temporarily disable the firewall for testing purposes to see if it resolves the issue.
Verify AWS Security Group Rules:
Check the security group associated with your Ubuntu 20.04 instance in AWS. Make sure that it allows incoming ICMP traffic (ping) from the IP range of your local network.
Check Route Tables:
Verify the route tables on your Ubuntu 20.04 instance in AWS. Make sure that the routes are correctly configured to reach your local network.
Check Subnet and VPC Configuration:
Confirm that the subnet in which your Ubuntu 20.04 instance resides is associated with the correct VPC, and the VPC is configured properly. Ensure that the VPC’s route tables and network ACLs allow traffic to and from your local network.
Security Group on Local Windows 2012 Server:
Check the security group or firewall settings on your ESXi host to ensure that it allows incoming ICMP traffic from the IP address of your AWS instance.