Skip to main content

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 from eb_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 the DATABASE_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

eb-create-environment-0.0.4.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

eb_create_environment-0.0.4-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file eb-create-environment-0.0.4.tar.gz.

File metadata

  • Download URL: eb-create-environment-0.0.4.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for eb-create-environment-0.0.4.tar.gz
Algorithm Hash digest
SHA256 d70b6a2b82604e5dc6f222a204d0ac5d8a47592b74567d55310f36efa107d7ab
MD5 934e772116229415647cd9826d5ff96f
BLAKE2b-256 5027406ef33d8e3422fb59155b9d52f6c92809fbdae15ea211a3c21955c41585

See more details on using hashes here.

File details

Details for the file eb_create_environment-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for eb_create_environment-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5ba11f22014591c1c4bd4458904cea8fd41cffc1cc3949b9a5e00eb6af6f566d
MD5 a91af0eeac6ecae04e919b140fd483ca
BLAKE2b-256 ff77a291c949cb4de88ec6ea5a5e87db641ec7621ae8ec89dc8d62edf8e75e65

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page