Error While Deploying Python Flask Application on AWS Elastic Beanstalk

pk_2001

Pronoy K Isaac

Posted on November 6, 2024

Error While Deploying Python Flask Application on AWS Elastic Beanstalk

Image description

I'm facing issues deploying a Flask application on AWS Elastic Beanstalk, and I could use some help troubleshooting. Here’s the step-by-step process I followed and the errors I encountered:

1)Elastic Beanstalk Application Creation
Went to Elastic Beanstalk and clicked Create Application.
Selected Web Server Environment with:
Platform: Python
Uploaded a zip file of my Flask application
Environment: Single instance (free tier)
2)Configuration Settings
In Configuration Services, I chose to:
Create a new service role for Elastic Beanstalk.
Skip setting up a key (assuming this wasn’t necessary for basic
deployment).
Created an IAM role specifically for EC2 with permissions
recommended in the Elastic Beanstalk configuration guide.
3)Skipping to Review and Submit
After setting everything up, I skipped directly to Review and Submit.

The Issue:
When I submitted the configuration, I encountered several errors (screenshot attached above).

💖 💪 🙅 🚩
pk_2001
Pronoy K Isaac

Posted on November 6, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related