Skip to content
This repository has been archived by the owner on Dec 28, 2019. It is now read-only.

Latest commit

 

History

History
34 lines (26 loc) · 1.26 KB

README.md

File metadata and controls

34 lines (26 loc) · 1.26 KB

Cloudformation template for Desole back-end deployment

This directory contains a Cloudformation template for the Desole collector API and standard publishers. Use this source code to create your own custom bundle for Desole backend.

To deploy using a ready-made template, check out the parent directory README.md

Prerequisites

  • NPM
  • An S3 Bucket for Deployment, in the same region where you would like to deploy Desole
  • AWS CLI (command line tools), configured to use your account

Deploying using AWS-CLI and CloudFormation

For a detailed list of supported parameters, check out template.yaml

  1. Install the dependencies
npm install
  1. Prepare and pack your code
npm run prepackage
  1. Package the template
aws cloudformation package --template-file template.yaml --output-template-file output.yaml
  1. Deploy the packaged template
aws cloudformation deploy --template-file output.yaml --capabilities CAPABILITY_IAM --stack-name <STACK NAME> 

You can also override CloudFormation template parameters by using --parameter-overrides <NAME>=<VALUE> after the deploy command. For a detailed list of supported parameters, check out template.yaml