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.

demandé il y a 2 mois412 vues
1 réponse
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
répondu il y a 2 mois
  • 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

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions