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

https://github.com/kohrongying/tw-de102


https://github.com/kohrongying/tw-de102

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# DE102 Prac

## AWS account
- Use personal account
- Use a specific IAM user for terraform with some IAM policies but not admin

## 1. S3 static website hosting
- Ensure public read
- Ensure bucket policy (set principal to aws:* and permission is to read)
- Use bootstrapped error/index.html

## 2. Set up Alerting mechanism
- Use bucket notification to push to lambda
- Set up lambda permission to allow s3 to invoke function
- Set up lambda to track bucket changes
- Lambda will invoke SNS to get alerts when hosted site is up
- Configure SNS to send email to admin

:)

![main](index.png)
![err](error.png)