Deploy Flask application on AWS EC2 instance

Hosting With Aws – Deploy Flask application on AWS EC2 instance


Deploy Flask application on AWS EC2 instance

Hosting With Aws

I am making series of videos available to you to learn Amazon Web services and in this session we are going to talk about deployment of Flask application on EC2 instance.

Be careful to choose other options you will be charged. Quick disclaimer, I am not going to be responsible for any charges incurred throughout this workshop. Please choose type of instances/aws resources carefully before launching.

AWS Complete tutorial –

Gunicorn:

AWS EC2 Playlist:

you search:

Hosting With Aws

Deploy Flask application on AWS EC2 instance

17 thoughts on “Hosting With Aws – Deploy Flask application on AWS EC2 instance

  1. It's just not working for SSL's 443 port, I have checked security config, and everything else. It works fine on HTTP (port 80) but can't get the ipv4 public DNS working with HTTPS.

  2. I watched your video. One thing I want to confirm is that do I need to keep the terminal running for the application to remain deployed. Because as soon as i close the terminal i get error even though my instance is running.

  3. Thanks for the comprehensive video. I could get the flask stand alone app running on ec2. For the wsgi, when I go to nginx I don't have sites enabled directory, so I created it and made change to nginx.conf to include /etc/nginx/sites-enabled.* But after this the server gives error at restart. Please help

  4. So looks like my code was running yesterday. But when I try to run it again and go the IP address with 8080 port then I am getting error "HTTPStatus.BAD_REQUEST" . Could you please help why?

Leave a Reply

Your email address will not be published. Required fields are marked *