ebdeployer

command module
v0.0.0-...-41b895a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2019 License: MIT Imports: 18 Imported by: 0

README

EBdeployer GoDoc Go Report Card

EBdeployer is a wrapper for deploying a Docker multi-image build to AWS Elastic Beanstalk.

Elastic Beanstalk is designed to make it simple to spin up new servers, but unfortunately, the awsebcli tool does not currently automate the steps involved in creating a Docker multi-image build. This tool fixes that problem.

Installation

First install Go.

If you just want to install the binary to your current directory and don't care about the source code, run

GOBIN="$(pwd)" GOPATH="$(mktemp -d)" go get github.com/baltimore-sun-data/ebdeployer

Other requirements:

  • A valid AWS key (run aws configure to set this with the AWS CLI)
  • awsebcli should be installed as eb (on Mac brew install awsebcli)
  • Docker/docker-compose

CLI options

$ ebdeployer -h
Usage of ebdeployer:
  -cfg string
        name of the eb config
  -compose path
        path to the docker-compose file (default "docker-compose.yaml")
  -deploy
        run eb create env after setting up Dockerrun file (default true)
  -dir path
        path of Docker project directory (default ".")
  -dockerrun file
        json file to use as base template for Dockerrun.aws.json (default Dockerrun.base.json)
  -repo string
        name of the repo
  -secrets file
        json file to read secrets out of (default secrets.json)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL