Deploying application to elastic beanstalk using ebcli
- Get the sample code for python application
git clone https://github.com/GitPracticeRepo/msdocs-python-flask-webapp-quickstart.git
cd msdocs-python-flask-webapp-quickstart
- Install virtual environment and pip3
sudo apt install python3-venv python3-pip -y
- Create virtual environment
python3 -m venv .venv
source .venv/bin/activate
pip3 install -r requirements.txt
- Now lets execute eb cli commands to create application on environment
eb init -p python-3.7 flask-tutorial --region us-west-2
eb create flask-env
- eb open
- Post this delete the environment and the application
Like this:
Like Loading...