Install and configure nginx as reverse proxy.
- Install the nginx server on instance using below command.
sudo apt install nginx
- Check the server is installed and running by running curl to instance public Ip address. You should see nginx landing page.
How To Deploy Flask APP On AWS EC2 Instance?
In this article, we will study how we can deploy our existing Flask application in AWS EC2. We will also see how to use the public IP of the EC2 instance to access the flask application. For this article, you should know about setting up EC2 in AWS. So, let’s begin with the deployment.