amazon-web-servicesamazon-ec2rasarasa-x

URL generated on running one line deploy script on EC2 Ubuntu VM is not working


I ran one line deploy script on an AWS EC2 instance which in turn spins up a k3s (lightweight kubernetes) cluster and returns a URL to access my Rasa bot (open source chatbot development platform).

Generated URL When I tried running the URL in the browser, it doesn’t respond. (couldn’t connect)

I figured that that might be happening because of port 80 (HTTP port on AWS) not being open. I checked and access to port 80 is allowed but the URL still doesn't seem to work. Kindly help me figure out a solution to the issue I am facing.


Solution

  • I can see because you didn't fully blot out the IP address that it starts with 172. The URL is using the private IP of the EC2 instance. You need to modify the URL to use the public IP of the EC2 instance.