How can I configure my S3 bucket to have a custom domain like cdn.enhanceai.art for serving images on my website https://enhanceai.art?

0

I'm looking to enhance the performance of my website, https://enhanceai.art, by optimizing the delivery of images through Amazon S3. Currently, I am using an S3 bucket to store these images, but I want to customize the S3 bucket URL to something like cdn.enhanceai.art for a more branded and streamlined experience.

Could you guide me through the steps on how to achieve this? I want to ensure that when users access images on my website, they are served seamlessly from a custom domain like cdn.enhanceai.art associated with the S3 bucket. Your assistance in configuring this setup would be greatly appreciated.

kittu
質問済み 3ヶ月前194ビュー
1回答
1
承認された回答

Hello.

In that case, I think it would be a good idea to edit CloudFront's OAC and S3 bucket policy to publish the images.
https://aws.amazon.com/jp/blogs/networking-and-content-delivery/amazon-cloudfront-introduces-origin-access-control-oac/

Please check the following document for detailed setting method.
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html

Please check the following documentation to set up your domain on CloudFront.
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html

profile picture
エキスパート
回答済み 3ヶ月前
profile picture
エキスパート
レビュー済み 2ヶ月前
profile picture
エキスパート
レビュー済み 3ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ