All Projects → imperfectproduce → aws-docker-deploy

imperfectproduce / aws-docker-deploy

Licence: MIT license
Scripts and templates for deploying docker containers to aws / elastic beanstalk

Programming Languages

shell
77523 projects

Labels

Projects that are alternatives of or similar to aws-docker-deploy

lambda
Minecraft utility mod coded in Kotlin
Stars: ✭ 389 (+2061.11%)
Mutual labels:  utility
sublimetext-autobackups
Sublime Text 2/3 Auto backups plugin
Stars: ✭ 70 (+288.89%)
Mutual labels:  utility
sortr.py
sort files using python
Stars: ✭ 15 (-16.67%)
Mutual labels:  utility
fhash
fHash - an open source files hash calculator for Windows and macOS
Stars: ✭ 222 (+1133.33%)
Mutual labels:  utility
autocommand
Autocommand turns a python function into a CLI program
Stars: ✭ 44 (+144.44%)
Mutual labels:  utility
BlauBot
A discord bot providing a collection of useful and unrelated commands
Stars: ✭ 16 (-11.11%)
Mutual labels:  utility
calculate-aspect-ratio
📐 A simple utility function, and command line utility, for calculating an aspect ratio based on width and height.
Stars: ✭ 43 (+138.89%)
Mutual labels:  utility
catsay
🐱 💻 like cowsay but cats
Stars: ✭ 33 (+83.33%)
Mutual labels:  utility
actlist
📦 Actlist is a utility platform to execute your own action list easily and simply.
Stars: ✭ 85 (+372.22%)
Mutual labels:  utility
Tyval
Fast and extensible validator for JavaScript
Stars: ✭ 62 (+244.44%)
Mutual labels:  utility
transee
Simple and useful tool for quick translation
Stars: ✭ 65 (+261.11%)
Mutual labels:  utility
kubernetes-basico
Demonstração dos componentes do Kubernetes
Stars: ✭ 26 (+44.44%)
Mutual labels:  utility
as-a
Runs a given command with additional environment settings for simple local development
Stars: ✭ 60 (+233.33%)
Mutual labels:  utility
sora
A simple library to display images in Jupyter notebooks
Stars: ✭ 15 (-16.67%)
Mutual labels:  utility
emma.css
🍴 Emma.css { utility-classes: emmet-like; }
Stars: ✭ 53 (+194.44%)
Mutual labels:  utility
codec
Encode keys, values and range options, with built-in or custom encodings.
Stars: ✭ 27 (+50%)
Mutual labels:  utility
AjaxHandler
ASimple PHP Class to help handling Ajax Requests easily
Stars: ✭ 30 (+66.67%)
Mutual labels:  utility
web-mqtt-client
A better MQTT API for the browser
Stars: ✭ 48 (+166.67%)
Mutual labels:  utility
pytest-stress
A Pytest plugin that allows you to loop tests for a user defined amount of time.
Stars: ✭ 39 (+116.67%)
Mutual labels:  utility
RunDLL-NG
A better alternative to RunDLL32
Stars: ✭ 23 (+27.78%)
Mutual labels:  utility

aws-docker-deploy

Scripts and templates for deploying docker containers to aws / elastic beanstalk ("Single Container" style with v1 Dockerrun.aws.json).

The script does the following

  • Builds the docker image
  • Uploads the docker image to ECR
  • Creates and uploads new beanstalk application version to S3
  • Deploys new beanstalk version to target environment

The docker image is tagged with <branch name>-<commit hash>-<timestamp> which is also used as the beanstalk application version.

Create a project specific deploy script like the following

# e.g. (optional) project-specific build script to prepare artifacts needed by Dockerfile
./build.sh

# project-specific environment variables
NAME=container-name
AWS_ACCOUNT_ID=1234567890
AWS_REGION=us-east-1
EB_BUCKET=elasticbeanstalk-us-east-1-1234567890
EB_APP_NAME="EB App Name"
# optional beanstalk environment name; if omitted then no environment update command will be sent
# may also be provided as an array for multiple environment updates
EB_ENV_NAME=eb-env-name
CONTAINER_PORT=80
# optional flag to poll for success after deployment; if omitted then polling is not performed
DEPLOY_POLLING=true

# download and execute deploy.sh in the current shell
eval "$(curl -s -L https://raw.githubusercontent.com/imperfectproduce/aws-docker-deploy/d72ecd282c91f204be11840f0b58aa0b46ee0ccf/deploy.sh)"

Note the revision specific curl sources, see https://help.github.com/articles/getting-permanent-links-to-files/

Credit to Yefim Vedernikoff for original inspiration / code reference.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].