Skip to content

Latest commit

 

History

History
43 lines (22 loc) · 1.49 KB

README.md

File metadata and controls

43 lines (22 loc) · 1.49 KB

Flask-Elastic-Beanstalk

Note, the best way to use this repo is to "fork it", delete the .elasticbeanstalk directory and replace it with yours generated by the eb init. Also change the buildspec.yml file eb deploy to your app name.

eb-deploy

Deploy via AWs Cloud9 + AWS Code Build

You can refer to tutorial here as well for Flask EB

A. check out this repo and cd into it

B. create a python virtualenv and source it and run make all

python3 -m venv ~/.eb source ~/.eb/bin/activate make all

Note, that awsebcli is installed via requirements

C. initialize new eb app

eb init -p python-3.7 flask-continuous-delivery --region us-east-1

Optional eb init again to create ssh keys

D. Create remote eb instance

eb create flask-continuous-delivery-env

E. Setup AWS Code Build Project

View Sample buildspec.yml Config Here

F. Suggested next steps (Convert to ML Engineering project like this project)

Other Resources