Unable to Access Airflow login from EC2 instance

0

I have created EC2 instance then install apache-airflow inside that after starting airflow i got ip to login then i added All traffic in Security then try to open on public ip with :8080 to login airflow i am not able to access.

This site can’t be reached10.123.12.123:8080 took too long to respond.

asked a month ago399 views
1 Answer
0

Hello.

The IP address "10.123.12.123" is usually a private IP address, so I don't think you can connect globally from a browser etc.
You need to set a public IP address to access EC2 globally.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-instance-addressing.html#concepts-public-addresses

Also, the subnet where EC2 is running must be set to a public subnet.
In other words, you need to set a route to the Internet gateway in the subnet's route table.
https://docs.aws.amazon.com/vpc/latest/userguide/configure-subnets.html#subnet-types

profile picture
EXPERT
answered a month ago
  • my instance have public IP DNS. ec2-13-233-146-138.ap-south-1.compute.amazonaws.com so when i am try to reach on that unable to connect i also changed the security inbounds.

  • Have you also checked the route table of the subnet where EC2 is running? Also, is your application listening on port "8080" on your EC2? For example, you can check the process using port 8080 by running the following command.

    sudo lsof -i:8080
    
  • If you are Free then Connect with me on www.linkedin.com/in/ojharitesh

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions