Tool to create an Elastic Beanstalk environment and linked database using sensible defaults
Project description
eb-environment-creation
Tired of byzantine EB environment and RDS instance creation workflows? Use this tool to set up Elastic Beanstalk environments and linked RDS instances simply, without having to rely on the AWS interface. The tool ships with sensible defaults, which may be overridden if desired.
Instalation
pip install eb-create-environment
Usage
usage: eb-create-environment [-h] [-c CONFIG] [-a APPLICATION_NAME]
[-e ENVIRONMENT_NAME] [-p PROFILE] [-r REGION]
[--db-only]
Set up linked EB and RDS instances
optional arguments:
-h, --help show this help message and exit
-c CONFIG, --config CONFIG
Specify a custom config file
-a APPLICATION_NAME, --application_name APPLICATION_NAME
Elastic Beanstalk application name
-e ENVIRONMENT_NAME, --environment_name ENVIRONMENT_NAME
Elastic Beanstalk environment name
-p PROFILE, --profile PROFILE
Specify an AWS profile from your credential file
-r REGION, --region REGION
Specify an AWS region region
--db-only Skip setup of application and environment. Requires
application and environment to exist already.
--print-default-config
Print default config and exit
eb-create-environment
reads configuration by default fromeb_create_environment.default_config.yml
. Override default configs by create=ing a custom config yaml file and specify its path using the--config
option.- Print defaults with the
--print-default-config
option - Elastic beanstalk configuration (application name, authentication profile name, default region) are read from the
.elasticbeanstalk/config.yml
file if it exists. Otherwise, the user will be prompted for these values and the config file will be created. - If arguments are missing the user will be prompted for required inputs.
- If the desired environment already exists, skip environment setup and create an associated RDS instance using the
--db-only
option. - If
--db-only
is not selected,eb-create-environment
will create an EB environment with the specified parameters, create a database in the same VPC, create the necessary security groups, and set theDATABASE_URL
environment variable on the EB environment.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file eb-create-environment-0.0.3.tar.gz
.
File metadata
- Download URL: eb-create-environment-0.0.3.tar.gz
- Upload date:
- Size: 11.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7f7b7f26e04be301380ac11a23dad5a47045a4098f3e4617c68a2efafd6bf47 |
|
MD5 | 5f1d4f2484fde7cf304125751e546c52 |
|
BLAKE2b-256 | 57edb912210a7f399ed4c04eb8abdb50a160b699d76bf99c8da68d03e676e49b |
File details
Details for the file eb_create_environment-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: eb_create_environment-0.0.3-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 216aa7c440e36456bbfa5e9311e967aa437b99124f81dffeca2b5eea3c575c85 |
|
MD5 | c3d41857cc34b570d6ba21dcfe107e8d |
|
BLAKE2b-256 | baf4eadd6272e8b2916855523cd6ee29db548bdf01cd7a02beabfb21a8cffe27 |