Answers for "my-aws-lab"

1

my-aws-lab

#!/bin/bash -exwget https://aws-tc-largeobjects.s3-us-west-2.amazonaws.com/DEV-AWS-MO-GCNv2/FlaskApp.zipunzip FlaskApp.zipcd FlaskApp/yum -y install python3 mysqlpip3 install -r requirements.txtamazon-linux-extras install epelyum -y install stressexport PHOTOS_BUCKET=${SUB_PHOTOS_BUCKET}export AWS_DEFAULT_REGION=<INSERT REGION HERE>export DYNAMO_MODE=onFLASK_APP=application.py /usr/local/bin/flask run --host=0.0.0.0 --port=80
Posted by: Guest on July-01-2021

Browse Popular Code Answers by Language