A media company has a static web application that is generated programmatically. The company has a build pipeline that generates HTML content that is uploaded to an Amazon S3 bucket served by Amazon CloudFront. The build pipeline runs inside a Build Account. The S3 bucket and CloudFront distribution are in a Distribution Account. The build pipeline uploads the files to Amazon S3 using an IAM role in the Build Account. The S3 bucket has a bucket policy that only allows CloudFront to read objects using an origin access identity (OAI). During testing all attempts to access the application using the CloudFront URL result in an
HTTP 403 Access Denied response.
What should a solutions architect suggest to the company to allow access the objects in Amazon S3 through CloudFront?
Nemer
Highly Voted 3 years, 7 months agoviet1991
3 years, 6 months agoByrney
2 years, 6 months agodarthvoodoo
Highly Voted 3 years, 7 months agopetebear55
3 years, 7 months agotekkart
3 years, 6 months ago01037
3 years, 7 months agooscargee
3 years, 6 months agodev112233xx
Most Recent 2 years ago[Removed]
2 years, 2 months ago[Removed]
2 years, 2 months agoDionenonly
2 years, 7 months agoCloudHell
2 years, 11 months agojohnnsmith
3 years, 2 months agocldy
3 years, 5 months agoAzureDP900
3 years, 5 months agostudent22
3 years, 6 months agoblackgamer
3 years, 6 months agoWhyIronMan
3 years, 6 months agoSJain50
3 years, 6 months agoWaiweng
3 years, 6 months agokiev
3 years, 6 months agoele
3 years, 6 months agoKian1
3 years, 6 months ago