Skip to content

Latest commit

 

History

History
33 lines (16 loc) · 1000 Bytes

README.md

File metadata and controls

33 lines (16 loc) · 1000 Bytes

Flask-Elastic-Beanstalk (Not Working)

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