Connect to instance
- Once the instance is started successfully copy the public IP address assigned you will need it later. You may have assigned an elastic ip address which is also fine.
- Connect to the instance using PuTTY or OpenSSH.
ssh -i <key-file-name> username@<public-ip-address>
- Once you connect to the instance we can start next steps.
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.