Install and configure the AWS Infrastructure for the BridgeServer 2.0 application.
-
Create common infrastructure. Run
sceptre launch-env common
-
Deploy the infrastructure to AWS. Run
sceptre launch-env develop
The above will only install and configure the required AWS infrastructure. AWS automatically deploys a sample app. You will need to deploy the app as a separate step.
-
Check for additional bootstrapping steps in BridgeServer2 repo.
-
Once the infrastructure for BridgeServer2 app has been setup you can deploy the app file to the stack.
We have configured Travis to deploy CF template updates. Travis deploys using sceptre
We use the AWS SSM to store secrets for this project. Sceptre retrieves the secrets using a sceptre ssm resolver and passes them to the cloudformation stack on deployment.
To install these custom resolvers, create the resolvers directory in the root of your project, then run
wget https://raw.githubusercontent.com/cloudreach/sceptre/v1/contrib/ssm-resolver/ssm.py -O resolvers/ssm.py
wget https://raw.githubusercontent.com/cloudreach/sceptre/v1/contrib/kms-resolver/kms.py -O resolvers/kms.py