Home - HearstAT/cloudformation-chef-ha GitHub Wiki

Getting started

For more specifics please see the items to the right ===>

This entire project leans heavily on cloudformation

This can take about 40-50mins to build out completely.

How to use

  • Copy the following files into an S3 bucket

    • chef_stack_prime.json
    • chef_backends_nested.json (called by chef_stack_prime.json)
    • chef_frontends_nested.json (called by chef_stack_prime.json)
    • chef_analytics_nested.json (called by chef_stack_prime.json)
    • userdata.sh (optional, can be pulled directly from repo if you leave default)
  • Go to Cloudformation in your console

    • click create stack
    • Specify an Amazon S3 template URL, enter url to the chef_stack_prime.json bucket file
    • Fill out and/or Select all parameters
    • Optional: Select advanced, Rollback on Failover to no
    • You must select yes to the IAM checkbox (for the bucket and failover user being created)

Remove analytics

If you don't want analytics to build with this? Then just remove the following lines from chef_stack_prime.json

You can remove the analytics specific parameters up top as well, but they shouldn't cause any issues once the references have all been stripped away.

The cookbook companion won't do anything analytics specific except for here but it won't affect anything.