Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

README.md

LinkedIn

AWS-ElasticBeantsalk-MultiContainer

Dockerrun version:'2', deploy docker images to ECS using ElasticBeanstalk

Python API - Dockerrun.aws.json.python.api.tmpl

  • AWS Dockerrun version:2 template

  • Multiple container definitions - volumes, memory, ports, command etc

  • ENV variables for deployment -

    | ACCOUNT_ID  | AWS account ID |
    | ENVIRON     | dev, uat, prod etc |
    | NGINXM      | Nginx server memory in MB |
    | WSGIM       | API(python) server memory in MB |
    | APP_ENV     | ElasticBeanstalk environment name |
    | BUILD_TAG   | Tag name/no. of your deployment |
    | GIT_COMMIT  | Git #commit |
    
  • Depoyment

$ sed -e "s/\${ACCOUNT_ID}/${ACCOUNT_ID}/" -e "s/\${ENVIRON}/${ENVIRON}/" -e "s/\${NGINXM}/${NGINXM}/" -e "s/\${WSGIM}/${WSGIM}/" Dockerrun.aws.python.api.json.tmpl > Dockerrun.aws.json

$ eb deploy $APP_ENV -l ${BUILD_TAG}_${GIT_COMMIT} --timeout 30

About

AWS Elasticbeanstalk Multi Container deployment JSON templates

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.