0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

cloudfront静的サイト

Posted at

オリジンアクセスコントロール

左側の再度メニューからオリジンアクセスへ
コントロールを作成
名前決めて
オリジンタイプは「S3」

ディストリビューションを作成

オリジンドメインで作成したS3バケットを選ぶ
https onlyにするの絶対忘れそう

WAF設定するかしないかのところは任意でいいっぽいけどとりあえずつけとこう
Use monitor modeはブロックせずに監視だけやって問題なさそうか確認してから始める?っているお試しモードらしい

注意

s3内のindex.htmlがルートにないとcloudfrontfunctionでこねこねしないといけなくなる
ルートに置いておく方がいいかも

CloudFrontに「ルートへのアクセスが来たら index.html を表示してね」と教える必要がある
一般の設定の編集からデフォルトルートオブジェクトにindex.htmlと入れる

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?