Reply
Expert Contributor
Posts: 66
Registered: ‎12-24-2015
Accepted Solution

Accessing services(private subnet) from browser (localhost)

My setup is done using private and public subnet using cloudformation scripts of cloudera director client.

Using below tunnel, i am able to use cloudera manager on localhost:7180

ssh -i my-key.pem -L 7180:<private IP of master>:7180 -L 7187:<private IP of master>:7187 ec2-user@<Public Ip of launcher(director client)>

 

I am able to use cloudera manager on localhost:7180.

 

how to access other services  like application master resource manager which are running on different port like 8088.

 

I am failed to access below kind of url, example.

http://ip-10-0-1-106.ec2.internal:8088/cluster/app/application_1463741301226_0001


Highlighted
Cloudera Employee
Posts: 11
Registered: ‎09-21-2015

Re: Accessing services(private subnet) from browser (localhost)

not sure if the problem is dns or tunneling, or both

 

does nslookup ip-10.0.0.106.ec2.internal return an ip address?

 

If you change the hostname to the ip address:

http://10.0.0.106:8088/cluster/app/application_1463741301226_0001

does that route?

 

If it doesn't route, maybe you have to setup another ssh tunnel or a socks proxy

 

Let me know your findings

Cloudera Employee
Posts: 11
Registered: ‎09-21-2015

Re: Accessing services(private subnet) from browser (localhost)