1.0.3 • Published 5 years ago
aws-spa-deploy v1.0.3
aws-spa-deploy
A no-brainer script to deploy a single page app on AWS.
Features
- Create AWS Bucket & CloudFront distribution & Route 53 record and configure it
- Serve gzipped file
- Smart HTTP cache
- Invalidate CloudFront after deployment
How to use
No need to create a bucket
npx create-react-app hello-world && cd hello-world && yarn build
yarn add aws-spa-deploy
npx aws-spa-deploy hello-world.my-domain.com build my-domain.com.
IAM
TODO: complete the required access.
Todo
- create certificate
- can the hosted zone be deduced?
Collaboration
If you know any tool that already do this, please tell me.