Skip to content

Deployment

Martin Müller edited this page Feb 19, 2019 · 12 revisions

Deployment to production on AWS EC2 (Ubuntu 16.04)

Instructions:

  1. Create SSL keypair
ssh-keygen -t rsa -b 4096 -C "example@email.com"
  1. Add public key to deploy keys in github repository and clone repo
  2. Set secrets in secrets.list
cp secrets.list.example secrets.list
  1. Install docker and docker-compose
  2. Install certbot, obtain certificates for kibana.crowdbreaks.org and api.crowdbreaks.org and set up automatic renewal
  3. Run deploy script
source build_production.sh

Clone this wiki locally