https://github.com/hf/pasbox-aws
Pasbox' AWS Infrastructure as Code.
https://github.com/hf/pasbox-aws
Last synced: 11 days ago
JSON representation
Pasbox' AWS Infrastructure as Code.
- Host: GitHub
- URL: https://github.com/hf/pasbox-aws
- Owner: hf
- Created: 2019-07-13T15:48:00.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-14T09:00:08.000Z (almost 7 years ago)
- Last Synced: 2025-06-05T07:28:43.830Z (about 1 year ago)
- Language: Kotlin
- Size: 107 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Pasbox AWS Infrastructure
=========================
This is the Pasbox Infrastructure-as-Code setup for the AWS Cloud. Here are all
the steps necessary to bootstrap a new AWS account.
1. Create a new AWS account. Log in as the root user, add access keys to the
root user and configure the AWS CLI for it and the region you want.
2. Install troposphere: `pip3 install troposphere[policy] boto3`
3. With `python3 deploy.py --stack --region --account --execute` run:
1. As the root user deploy the `root` stack -- will setup the basics of the infrastructure.
2. Manually create accounts in the Administrators, Engineers and Robots IAM
groups.
3. Lock the root account, switch to an account in Administrators.
4. Deploy the `pushnotifications` stack, execute the change set.
5. Manually create an SNS Platform Application for FCM with the exact name of `pasbox-android`. Set the
attributes to the topics created in the `pushnotifications` stack.
5. From this point on you can use accounts in the Robots IAM group.
6. You can now deploy the `apidevices` stack and execute the changeset.