Sign inSign up

adzerk/eb

By adzerk

•Updated almost 11 years ago

Image
0

1.0K

adzerk/eb repository overview

⁠eb tool Docker Image

eb⁠ is the official command line interface for Elastic Beanstalk. This Docker⁠ image lets you install and use eb without installing it or any of its dependencies natively.

⁠Usage

You'll need Docker⁠ installed to continue.

⁠Build
docker build -t adzerk/eb .
⁠Configure
docker run -i -t adzerk/eb bash
# eb init -r us-east-1

After entering your AWS credentials, and while the container is running, and in a separate termainal, commit the container's filesystem:

docker commit -m 'add eb credentials' <container-id> adzerk/eb

Then, exit the running container.

⁠Run

Navigate to a Beanstalk project directory. Then, to e.g. SSH to a Beanstalk instance:

docker run -v $PWD:/app -v <dir-with-pems>:/root/.ssh -i -t adzerk/eb eb ssh

Substitute <dir-with-pems> for some directory containing your .pem files.

You may alias this invocation to eb:

alias eb='docker run -v $PWD:/app -v <dir-with-pems>:/root/.ssh -i -t adzerk/eb eb'

Then, you can run eb commands easily:

eb list
eb events

Tag summary

Content type

Image

Digest

sha256:16342ca45…

Size

153.5 MB

Last updated

almost 11 years ago

docker pull adzerk/eb