Package: ebi
Elastic Beanstalk Intelligence, Simple CLI tool for ElasticBeanstalk with Docker.Deploying apps more intuitivelyWithout git integrationSwitch-ableDockerrun.aws.jsonSwitch-abledocker-compose.ymlSwitch-able.ebextensions/Installpip install ebiRequires Python2.7 or 3.5UsagedeployTo deploy app, just type it on project root:$ ebi deploy <app_name> <env_name>This willCreate zip file includingDockerrun.aws.jsonand.ebextensionsordocker-compose.ymland.ebextensionsUploading zip to S3 as same directory asawsebcli.Deploying app (by callingeb deploywith uploaded –version)options:--version: version label for app. default is timestamp.--prefix: version prefix for app. It is added to timestamp.--description: description for this version.--dockerrun: File path used asDockerrun.aws.json.--docker-compose: File path used asdocker-compose.yml.--ebext: Directory path used as.ebextensions/--profile: Configured profile for AWS.--region: region for AWS.createTo create app, just type it on project root:$ ebi create <app_name> <env_name> <cname_prefix>This willCreate zip file includingDockerrun.aws.jsonand.ebextensionsordocker-compose.ymland.ebextensionsUploading zip to S3 as same directory asawsebcli.Creating app (by callingeb createwith uploaded –version)options:--version: version label for app. default is timestamp.--prefix: version prefix for app. It is added to timestamp.--description: description for this version.--dockerrun: File path used asDockerrun.aws.json.--docker-compose: File path used asdocker-compose.yml.--ebext: Directory path used as.ebextensions/--profile: Configured profile for AWS.--region: region for AWS.--cfg: Configuration template to use.bgdeployTo Blue-Green deploye app, just type it on project root:$ ebi bgdeploy <app_name> <blue_env_name> <green_env_name> <primary_env_cname>This willCreate zip file includingDockerrun.aws.jsonand.ebextensionsordocker-compose.ymland.ebextensionsUploading zip to S3 as same directory asawsebcli.Deploy new version to secondary environment which doen’t haveprimary_env_cname(by callingeb deploywith uploaded –version)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.--prefix: version prefix for app. It is added to timestamp.--description: description for this version.--dockerrun: File path used asDockerrun.aws.json.--docker-compose: File path used asdocker-compose.yml.--ebext: Directory path used as.ebextensions/--profile: Configured profile for AWS.--region: region for AWS.--capacity: Increase the number of desired instances, the minimum size, and the maximum size of the standby environment to the same as the primary environment.clonedeployTo deploy app with cloning, just type it on project root:$ ebi clonedeploy <app_name> <env_name> <green_env_name> <cname_prefix>This willCreate clone of master environment for next version environment.Create zip file includingDockerrun.aws.jsonand.ebextensionsordocker-compose.ymland.ebextensionsUploading zip to S3 as same directory asawsebcli.Deploy new version to next version (by callingeb deploywith uploaded –version)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.--prefix: version prefix for app. It is added to timestamp.--description: description for this version.--dockerrun: File path used asDockerrun.aws.json.--docker-compose: File path used asdocker-compose.yml.--ebext: Directory path used as.ebextensions/--profile: Configured profile for AWS.--region: region for AWS.