Score:0

Hosting dynamic Flask website using AWS ElasticBeanstalk

ph flag

I have been trying to host a dynamic Flask website which includes Machine Learning on AWS ElasticBeanstalk. The success message "Environment has succesfully launched" is displayed.

However, in the "environment overview" section the health status is still "No data". When I clicked on the "View causes" link. The following is obtained: "Instance has not sent any data since launch." (The running time is 13 hours). Health Status - View causes Health Status

The following steps have been performed:

  1. All the required files and folders(.ebextensions folder,static folder, templates folder, app.py file, requirements.txt file, pickle file) of the Flask website have been moved to a folder and compressed into a zip folder.

  2. Navigate to AWS ElasticBeanstalk page and click on "Create application" button.

  3. Provide application name.

  4. Upload source code.

  5. Choose platform (Chose Python).

  6. Chose the "free tier" configuration.

  7. The remaining network configurations were left as default ones.

  8. Clicked on "Submit" button.

I also created two IAM roles. One role was created with the access for EC2 and the second role was given the access for ElasticBeanstalk. These two roles were used for configuration of the environment.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.