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
Create zip file including Dockerrun.aws.json and .ebextensions
Uploading zip to S3 as same directory as awsebcli.
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
Create zip file including Dockerrun.aws.json and .ebextensions
Uploading zip to S3 as same directory as awsebcli.
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> <cname>
This will
Copy blue environment specified by <app_name> and <cname> into new green environment
Create zip file including Dockerrun.aws.json and .ebextensions
Uploading zip to S3 as same directory as awsebcli.
Deploy new version to green environment (by calling eb deploy with uploaded –version)
Apply cname for green environment
options:
--noswap: Skip swapping to just create green 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.
--cfg: Configuration template to use.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.