Manage AWS deployments.
Every command accepts the following options:
This is where the blueprints live. If you define the environment variable CHINA_BLUEPRINT_DIR then you can omit this option
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
The EC2 environment to operate in, valid values are found in the "supported_envs" in the region's yml blueprint.
The name of the unit to work with. This must match the name of the unit's directory within the blueprints repo.
Print the commands that would run, but do not execute anything. Dummy values will be shown where necessary.
Initialize an environment
china_env_create -e dev -u your_unit
Launch an instance and do nothing else
china_unit_create -e dev -u your_unit
Launch an instance and add it to various haproxy/directors that it should be part of
china_unit_add -e dev -u your_unit