Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 1.04 KB

README.md

File metadata and controls

39 lines (26 loc) · 1.04 KB

Deploy

We chose AWS Elastic Beanstalk as our method of deployment because of its (1) low complexity, (2) high availability features, and (3) ease of use under time constraints. To learn more about all the deployment options we considered, refer to the CONSIDERATIONS.md document

SampleStar Architecture

Setup

# Install
brew install awsebcli

# Initialize app in Elastic BeanStalk
pip freeze > requirements.txt
eb init sample-star -p python-3.8 --region us-west-1

Deploy app

# Create environment from app
eb create sample-star-env -v --min-instances 4 --max-instances 8

# Redeploy new source code
eb deploy

# Adjust the number of running instances
eb scale 2 sample-star-env

# Terminate the environment
eb terminate

References