fix how to host
Closed this issue · 2 comments
t-morisawa commented
Choices
- firebase hosting
- Netlify
- GitHub Pages
- Amazon S3
- Google Cloud Storage
Point of view
- how it costs
- how easy to deploy
- whether we can use own domain
- CI/CD
t-morisawa commented
ホスティングサービス
概要
- how it costs
- how easy to deploy
- whether we can use own domain
- CI/CD
Firebase
- https://firebase.google.com/docs/hosting/
- SSL
- CDN
- deploy: firebase cli(npm module)
- roleback
- Custom Domain
- 1GBのストレージが無料
- 月あたり10GBの転送が無料
Netlify
- Custom Domain
- SSL
- 100GBの転送が無料
- Extra bandwidth $20/100GB
- deploy: git push(CD)
- ホスティングが海外でCDNも使っていないので遅いかもしれない
- 可用性が若干低い
GitHub Pages
- SSL
- deploy: git push(CD)
- 無料
- カスタムドメインだと、SSL証明書が自動で付与されない?
Amazon S3
- https://aws.amazon.com/jp/s3/pricing/
- デプロイはaws cli
- ストレージ 0.023USD/GB
- リクエスト 1,000 件あたり 0.0047USD
- リクエストデータ 0.0008USD/GB
Google Cloud Storage
- ストレージ5GBまで無料
- 同じリージョンからならリクエストも無料
- デプロイはCLIから
どうするか
- NetlifyかFirebaseが良さそう。
- CD使ってみたいのでNetlifyでやってみるかな
t-morisawa commented
結論
Netlify