https://github.com/kohrongying/tw-de102
https://github.com/kohrongying/tw-de102
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kohrongying/tw-de102
- Owner: kohrongying
- Created: 2021-08-13T04:06:33.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-08-13T04:12:46.000Z (almost 4 years ago)
- Last Synced: 2025-01-27T22:14:03.928Z (4 months ago)
- Language: HCL
- Size: 228 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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:)

