#Setting Up A Demo
There are 7 steps to setting up a demo.
NOTE: reset.sh assumes BSD (mac) sed
- Register a domain name of your choice like fantasticorp.click
- Create instance of CCIE, give it a hostname like circleci.fantasticorp.click.
- Follow the instructions here to create an instance of CCIE
https://circleci.com/docs/enterprise/aws/
- Follow the instructions here to create an instance of CCIE
- Create a Launch Configuration using t2.small/t2.micro instances. Under
advanced options
the user data must look like example 1 below. Subsitute the namefantasticorp-home
with the name of the ecs cluster you wish the instances to join.- When choosing what ami to deploy, use this resource: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_container_instance.html
- Create an autoscaling group out of your launch configuration.
- Create an ELB for the ECS service:
- Instructions for Application LB: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/create-application-load-balancer.html
- Instructions for Classic: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/create-standard-load-balancer.html
- Register a AWS ECS cluster and service
- Point your domain name to the elb fronting the ECS service
- Copy the
secrets.template
file to a file namedsecrets
- (Optional) Create a Trello account to demo integrating with Trello (leave all TRELLO_* env vars unset to skip)
- Fill in the file
secrets
- Run
./reset.sh
####Example 1
#!/bin/bash
echo ECS_CLUSTER=fantasticorp-home > /etc/ecs/ecs.config