Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blue0513/cloudfront-experiment
https://github.com/blue0513/cloudfront-experiment
Last synced: 15 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/blue0513/cloudfront-experiment
- Owner: blue0513
- Created: 2024-04-04T15:35:18.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-04-04T16:14:46.000Z (10 months ago)
- Last Synced: 2024-11-10T00:44:57.467Z (2 months ago)
- Language: HCL
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cloudfront-experiment
Make Cloudfront and S3 bucket
## Usage
```shell
# Setup terraform.tfvars
make setup# Deploy S3 & Cloudfront
make plan
make apply
``````shell
# After accessing several times, it says `x-cache: Hit from cloudfront`
DISTRIBUTION_DOMAIN="YOUR_DISTRIBUTION_DOMAIN_NAME" make access
``````shell
# After WAF rejects DoS attack, it says `HTTP/2 403`
DISTRIBUTION_DOMAIN="YOUR_DISTRIBUTION_DOMAIN_NAME" make attack
```