Search Unity

Deploying Visual Studio Flask app to Elastic Beanstalk

Discussion in 'Visual Scripting' started by hanssheri123, Dec 8, 2020.

  1. hanssheri123

    hanssheri123

    Joined:
    Dec 8, 2020
    Posts:
    1
    I am using the Visual Studio 2019 Flask Web Project template. It runs in my local Python environment and is a good start (very much like the standard Asp.net) template. I created a Python Elastic Beanstalk Application to host this. I am attempting to deploy this on AWS Elastic Beanstalk. I created a repository at: https://github.com/jlongo62/Flask-Web-Project

    • I think one of these files (or a missing file) needs to be named application.py(it may also need some special content). I included a directory listing.

    • It appears that I need to zip this and upload it through the portal/cli. I am not sure what zip should look like, but I suspect requirements.txt needs to be at the root.). If AWS Toolkit Extension cannot handle this job, it should be easy to script.

    • Is there a better template or sample project in GitHub ?

    • Is the fix something simple ?
     
  2. ashley_unity

    ashley_unity

    Unity Technologies

    Joined:
    Dec 18, 2016
    Posts:
    21