An open API service indexing awesome lists of open source software.

https://github.com/buildit/bookit-riglet

AWS infrastructure for Bookit app's riglet.
https://github.com/buildit/bookit-riglet

Last synced: about 1 month ago
JSON representation

AWS infrastructure for Bookit app's riglet.

Awesome Lists containing this project

README

        

# AWS The Rig

This setup will create a CloudFormation, GoCD powered Rig on AWS.

## Setup

### Dependencies

For using this repo you'll need:

* AWS CLI, and credentials working: `brew install awscli && aws configure`
* Setup `.make` for local settings

This can either be done by copying settings from the template `.make.example`
and save in a new file `.make`:

```
DOMAIN =
EMAIL =
ENV =
KEY_NAME =
OWNER =
PROFILE =
PROJECT =
REGION =
```

Or also done interactively through `make .make`.

Run `make deps` to create required S3 buckets.

Confirm everything is valid with `make check-env`

## Makefile Targets

* Run `make create-foundation` to start an AWS Bare Rig Foundation Stack.

This is the Stack that will be shared by all management and services in an AWS Region.

* Run `make status-foundation` to check status of the stack. (Should be `CREATE_COMPLETE`)
* Check the outputs as well with `make outputs-foundation`
* Run `make create-app`, same options for status: `make status-app` and outputs `make outputs-app`

To delete everything, in order:

* Run `make delete-app` to delete the App stack.
* Run `make delete-foundation` to delete the Foundation stack.