Using CloudFront to upload files to S3 bucket using presign URL and custom domain

0

Hi,

I understand it's possible to use CloudFront distribution to upload files (via POST) to an S3 Bucket. My Question is how can I achieve this with presigned URL's and a custom domain ?

TIA, Roi

Roi
質問済み 7ヶ月前2384ビュー
3回答
0

Hello, Roi. I have one article with a good point on how you can configure that https://www.automat-it.com/post/using-presigned-urls-with-cloudfront. It`s not official documentation but this guys as an AWS Partner so people have good experience and knowledge.

Best regards, Andrii

profile picture
エキスパート
回答済み 7ヶ月前
  • Thanks for the quick reply but it doesn't seem like it answers my question regarding upload of a file to a custom domain using CloudFront.

0

So the thing is, S3 presigned URLs don't work well with CloudFront, since they are two different mechanisms that practically do the same thing. CloudFront is the more elaborate, with many more options and functionality. So instead pre-signed URL you can use signed URL for Cloudfront https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-signed-urls.html. This will allow more detailed access to the file for those who need it. Best regards, Andrii

profile picture
エキスパート
回答済み 7ヶ月前
  • Thanks for the help. Please see my solution below.

0
Roi
回答済み 7ヶ月前

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

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

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

関連するコンテンツ