Skip to content

Tout/china

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

china

Manage AWS deployments.

Common options

Every command accepts the following options:

Path to blueprints repository (-b /path/to/blueprints)

This is where the blueprints live. If you define the environment variable CHINA_BLUEPRINT_DIR then you can omit this option

EC2 region (-r ec2-region)

The EC2 region to operate in, for example 'east' or 'west'. If you define the environment variable CHINA_EC2_REGION then you can omit this option

Environment (-e env_name)

The EC2 environment to operate in, valid values are found in the "supported_envs" in the region's yml blueprint.

Unit (-u unit_name)

The name of the unit to work with. This must match the name of the unit's directory within the blueprints repo.

Do-nothing mode (-n)

Print the commands that would run, but do not execute anything. Dummy values will be shown where necessary.

china_env_create

Initialize an environment

china_env_create -e dev -u your_unit

china_unit_create

Launch an instance and do nothing else

china_unit_create -e dev -u your_unit

china_unit_add

Launch an instance and add it to various haproxy/directors that it should be part of

china_unit_add -e dev -u your_unit

About

Manage AWS environments and instances

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published