An AWS Base setup from scratch with Cloudformation.
This is your basic setup for your VPC, Subnet, Security Group (w/inbound and outbound rules), Internet gateway, routing table, IAM groups and IAM users.
With this basic setup you are ready to start launching servers and start development og production stuff.
This should only be run once!
# Create the base setup
$ bash ./bin/create-stack.sh --template base
# Create new iot groups
$ bash ./bin/create-stack.sh --template iam-groups
# Create new iot users
$ bash ./bin/create-stack.sh --template iam-users
After every change you can run this command to update the stack.
# Update the base setup setup
$ bash ./bin/create-stack.sh --template base --update-stack
# Update iot groups
$ bash ./bin/create-stack.sh --template iam-groups
# Update iot users
$ bash ./bin/create-stack.sh --template iam-users