Sage-Bionetworks/sandbox-infra

Name: sandbox-infra

Owner: Sage Bionetworks

Description: Infra for sandbox application

Created: 2017-07-19 04:37:44.0

Updated: 2017-07-19 21:47:39.0

Pushed: 2017-07-24 19:48:21.0

Homepage: null

Size: 45

Language: Shell

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

sandbox-infra

Infra for sandbox application

Creating a new stack
  1. Bootstrap the stack with required resources. Important, the stack name is $STACK_NAME-$ENVIRONMENT-boostrap (example: foo-develop-boostrap)
--profile aws-admin-user --region us-east-1 cloudformation create-stack \
ack-name foo-develop-bootstrap --capabilities CAPABILITY_NAMED_IAM --on-failure DELETE \
mplate-body file://cf_templates/eb_bridgepf_bootstrap.yml \
rameters ParameterKey=AppDeployBucket,ParameterValue=org-sagebridge-bridgepf-deployment-foo-develop
  1. Deploy the application and resources. This time the stack name is $STACK_NAME-$ENVIRONMENT (example: foo-develop). This time you can pass in the user that was created by the boostrap stack.
--profile foo-bootstapper-User --region us-east-1 cloudformation create-stack \
ack-name foo-develop \
pabilities CAPABILITY_NAMED_IAM \
mplate-url https://s3.amazonaws.com/org-sagebridge-bridgepf-artifacts-sandbox-infra-develop/cf_templates/eb_bridgepf.yml \
rameters \
meterKey=SSLCertArn,ParameterValue=$SSLCertArn \


est of the parameters from update_cf_stack.sh
  1. Deploy your app file to the stack. This can be done by using either the AWS console[1] or using the AWS CLI[2][3].

[1] https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.deploy-existing-version.html [2] https://docs.aws.amazon.com/cli/latest/reference/elasticbeanstalk/create-application-version.html [3] https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb3-deploy.html


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.