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.2.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

eb_create_environment-0.0.2-py3.8.egg (24.2 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: eb-create-environment-0.0.2.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.26.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for eb-create-environment-0.0.2.tar.gz
Algorithm Hash digest
SHA256 10d306b43d67de44a7ecc71e46082dd8f3621d1aba8b1302c1a1188748ba2a42
MD5 8dafbd5d0d715d324c9a7015256c0288
BLAKE2b-256 5ae5e371f4db406153675526815da89dc92d1a11905c8d29344d5eef47ea4651

See more details on using hashes here.

File details

Details for the file eb_create_environment-0.0.2-py3.8.egg.

File metadata

  • Download URL: eb_create_environment-0.0.2-py3.8.egg
  • Upload date:
  • Size: 24.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.26.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for eb_create_environment-0.0.2-py3.8.egg
Algorithm Hash digest
SHA256 594c6c4e4fcf4720b401a7702e9f583bf6baf5a252922035e8e0096d65dc08c9
MD5 c01788eba6edbb2253ee68edd4a43eab
BLAKE2b-256 8e7671a46b919b28c213bdcbb5545f530ed45cfc0386d857646e442769371547

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