Create an EC2 instance allowing HTTP traffic.
- First, we have to create an Amazon EC2 instance running any Linux distribution of your choice.
- Under Launch Instance on AWS, give your instance a name and select Ubuntu Server as the OS.
- Specify other options as per your choice.
- Make sure you allow HTTP traffic to the instance. You can also allow HTTPS if you want.
- After specifying all options correctly click launch instance.
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.