This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Simple CLI tool for ElasticBeanstalk with Docker

Project Description

Elastic Beanstalk Intelligence, Simple CLI tool for ElasticBeanstalk with Docker.

  • Deploying apps more intuitively
    • Without git integration
    • Switch-able Dockerrun.aws.json
    • Switch-able .ebextensions/

Install

pip install ebi

Requires Python2.7 or 3.5

Usage

deploy

To deploy app, just type it on project root:

$ ebi deploy <app_name> <env_name>

This will

  1. Create zip file including Dockerrun.aws.json and .ebextensions
  2. Uploading zip to S3 as same directory as awsebcli.
  3. Deploying app (by calling eb deploy with uploaded –version)

options:

  • --version: version label for app. default is timestamp.
  • --dockerrun: File path used as Dockerrun.aws.json.
  • --ebext: Directory path used as .ebextensions/
  • --profile: Configured profile for AWS.
  • --region: region for AWS.

create

To create app, just type it on project root:

$ ebi create <app_name> <env_name> <cname_prefix>

This will

  1. Create zip file including Dockerrun.aws.json and .ebextensions
  2. Uploading zip to S3 as same directory as awsebcli.
  3. Creating app (by calling eb create with uploaded –version)

options:

  • --version: version label for app. default is timestamp.
  • --dockerrun: File path used as Dockerrun.aws.json.
  • --ebext: Directory path used as .ebextensions/
  • --profile: Configured profile for AWS.
  • --region: region for AWS.
  • --cfg: Configuration template to use.

bgdeploy

To Blue-Green deploye app, just type it on project root:

$ ebi bgdeploy <app_name> <blue_env_name> <green_env_name> <primary_env_cname>

This will

  1. Create zip file including Dockerrun.aws.json and .ebextensions
  2. Uploading zip to S3 as same directory as awsebcli.
  3. Deploy new version to secondary environment which doen’t have primary_env_cname (by calling eb deploy with uploaded –version)
  4. Apply primary cname for deployed (secondary) environment
+-------+              +------+
| green |              | blue |
+-------+              +------+
 pri.elastic...com      sec.elastic...com
                          ^
                          |
                      3. deploy!

options:

  • --noswap: Skip swapping to just deploy secondary environment.
  • --version: version label for app. default is timestamp.
  • --dockerrun: File path used as Dockerrun.aws.json.
  • --ebext: Directory path used as .ebextensions/
  • --profile: Configured profile for AWS.
  • --region: region for AWS.

clonedeploy

To deploy app with cloning, just type it on project root:

$ ebi clonedeploy <app_name> <env_name> <green_env_name> <cname_prefix>

This will

  1. Create clone of master environment for next version environment.
  2. Create zip file including Dockerrun.aws.json and .ebextensions
  3. Uploading zip to S3 as same directory as awsebcli.
  4. Deploy new version to next version (by calling eb deploy with uploaded –version)
  5. Apply master cname for deployed (next version) environment
+--------+              +----------+
| master |  =1.Clone=>  | next ver |
+--------+              +----------+
 master.elastic...com     master-<timestamp>.elastic...com
                          ^
                          |
                      4. deploy!
  • --noswap: Skip swapping to just deploy secondary environment.
  • --version: version label for app. default is timestamp.
  • --dockerrun: File path used as Dockerrun.aws.json.
  • --ebext: Directory path used as .ebextensions/
  • --profile: Configured profile for AWS.
  • --region: region for AWS.
Release History

Release History

This version
History Node

0.6.4

History Node

0.6.3

History Node

0.6.2

History Node

0.6.1

History Node

0.6

History Node

0.5.1

History Node

0.5

History Node

0.4.3

History Node

0.4.2

History Node

0.4.1

History Node

0.4

History Node

0.3.1

History Node

0.3

History Node

0.2.6

History Node

0.2.5

History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

History Node

0.2

History Node

0.1.1

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
ebi-0.6.4.tar.gz (5.3 kB) Copy SHA256 Checksum SHA256 Source Nov 4, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting