Home › Forums › AWS › AWS Certified Solutions Architect Professional › Set 2 – Question of uploading high-resolution images of their artworks
-
Set 2 – Question of uploading high-resolution images of their artworks
Kenneth-Samonte-Tutorials-Dojo updated 3 years, 5 months ago 2 Members · 2 Posts -
Incorrect The option that says: Set the centralized Amazon S3 bucket as the custom origin on an Amazon CloudFront distribution. This will use CloudFront’s global edge network to improve the upload speed is incorrect. CloudFront distribution is designed for optimizing content delivery and content caching, not for uploading objects to the S3 bucket.
Actually it is correct see https://aws.amazon.com/blogs/aws/amazon-cloudfront-content-uploads-post-put-other-methods/
Today we are adding an important new feature that will make CloudFront even more useful. You can now configure any of your CloudFront distributions so that they support five additional HTTP methods: POST, PUT, DELETE, OPTIONS, and PATCH.
First and foremost, you can now place a single CloudFront distribution in front of your site, including the dynamic or interactive portions that make use of HTML forms or accept user data in some other way. You no longer have to create and manage multiple distributions or domain names in order to accept POST or PUT requests.
-
Hi paulv8,
Thank you for sharing your thoughts on this question.
I understand that CloudFront supports content uploads Via POST, PUT, other HTTP Methods. We will review the answer and update the explanation accordingly to reflect this detail.
However, I still think uploading very large files natively via a CloudFront endpoint is not recommended. There is a limited connection timeout to the origin (60 seconds). If uploads will take a few minutes because of the very large files, the connection might get terminated.
If you want to optimize performance when uploading large files to Amazon S3, it is recommended to use Amazon S3 Transfer Acceleration which can provide fast and secure transfers over long distances between your client and Amazon S3. Transfer Acceleration uses Amazon CloudFront’s globally distributed edge locations.
As stated on this link, S3 Transfer Acceleration will use CloudFront’s edge locations for the uploads. https://aws.amazon.com/premiumsupport/knowledge-center/s3-upload-large-files/
Hope this helps.
Let us know if you need further assistance. The Tutorials Dojo team is dedicated to helping you pass your AWS exam!
Regards,
Kenneth Samonte @ Tutorials Dojo
Log in to reply.