-
Notifications
You must be signed in to change notification settings - Fork 2
AWS Installation Instructions
Michael edited this page Oct 19, 2021
·
2 revisions
The instructions below explain how to install the backend in AWS. It's mostly driven by a CloudFormation template, but there are few manual steps.
Installation should only take a few minutes.
- If you don't have one, create a Google client ID. See these instructions. Make note of the ID ending with
apps.googleusercontent.com
. - Log in to AWS. Create an S3 bucket to store the server code, or you can use an existing one.
- Upload the
flamewars.zip
file andcft.yml
template. - When they have uploaded, click
cft.yml
and copy the 'Object URL' beginning withhttps://
. - Open CloudFormation, click 'Create stack' > 'With new resources (standard)'.
- Under the section 'Specify Template', for the field 'Amazon S3 URL' paste the value you copied in step 3. Click next.
- Give the stack a name. 'flamewars' will usually be fine. The stack name will be prepended to some resources to prevent name clashes.
- Enter a value for each of the parameters. Click next.
- On the 'Configure stack options' page, no changes are required. Click next.
- Check the checkbox confirming "I acknowledge that AWS CloudFormation might create IAM resources with custom names". The template sets up some permissions to allow the lambda functions to connect to the DynamoDB database and this is just confirming that you're okay with that.
- Click 'Create stack' and wait for the resources to be created.
- On the 'Outputs' tab, copy the URL which is generated; you'll need it when setting up the client.
Finished? Move on to the client setup.