Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Not able to connect to AWS when Using Red Hat Enterprise Linux version

SOLVED Go to solution
Highlighted

Not able to connect to AWS when Using Red Hat Enterprise Linux version

Expert Contributor

I have opted for Red Hat Enterprise Linux version(Red Hat Enterprise Linux 7.3 (HVM), SSD Volume Type - ami-b63769a1).

Gave the Public dns and port number :5901 in VNC viewer, was giving timeout error

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Not able to connect to AWS when Using Red Hat Enterprise Linux version

@Viswa

You can check the following:

1. Check your security group rules. You need a security group rule that allows inbound traffic from your public IPv4 address on the proper port.

2. Check the route table for the subnet. You need a route that sends all traffic destined outside the VPC to the Internet gateway for the VPC.

3. Check the network access control list (ACL) for the subnet. The network ACLs must allow inbound and outbound traffic from your local IP address on the proper port. The default network ACL allows all inbound and outbound traffic.

4. If your computer is on a corporate network, ask your network administrator whether the internal firewall allows inbound and outbound traffic from your computer on port 22 (for Linux instances) or port 3389 (for Windows instances).If you have a firewall on your computer, verify that it allows inbound and outbound traffic from your computer on port 22 (for Linux instances) or port 3389 (for Windows instances).

5. Check that your instance has a public IPv4 address.

For details on how to perform the above checks, you can check out the AWS troubleshooting guide which lists the steps for various known error messages(including the one you are getting).

http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesConnecting.html

In my case the problem was that I was behind a corporate firewall. So had to find my proxy server details and then update the same proxy configurations in Putty.

3 REPLIES 3

Re: Not able to connect to AWS when Using Red Hat Enterprise Linux version

@Viswa

You can check the following:

1. Check your security group rules. You need a security group rule that allows inbound traffic from your public IPv4 address on the proper port.

2. Check the route table for the subnet. You need a route that sends all traffic destined outside the VPC to the Internet gateway for the VPC.

3. Check the network access control list (ACL) for the subnet. The network ACLs must allow inbound and outbound traffic from your local IP address on the proper port. The default network ACL allows all inbound and outbound traffic.

4. If your computer is on a corporate network, ask your network administrator whether the internal firewall allows inbound and outbound traffic from your computer on port 22 (for Linux instances) or port 3389 (for Windows instances).If you have a firewall on your computer, verify that it allows inbound and outbound traffic from your computer on port 22 (for Linux instances) or port 3389 (for Windows instances).

5. Check that your instance has a public IPv4 address.

For details on how to perform the above checks, you can check out the AWS troubleshooting guide which lists the steps for various known error messages(including the one you are getting).

http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesConnecting.html

In my case the problem was that I was behind a corporate firewall. So had to find my proxy server details and then update the same proxy configurations in Putty.

Re: Not able to connect to AWS when Using Red Hat Enterprise Linux version

Expert Contributor

@Dinesh Chitlangia

I have checked Security groups which allows inbound traffic and also validated that my instance has IPv4 address. As you mentioned I verify on the internal firewall if it allows inbound and outbound traffic.

Re: Not able to connect to AWS when Using Red Hat Enterprise Linux version

Expert Contributor

tried of the steps you mentioned, looks like there is issue with firewall. Works after setting firewall proxy.