AWS Classroomnotes 16/Oct/2022

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
  • Install dependencies
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

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube