Category "amazon-cloudfront"

Get 403 Error when trying to use CloudFront OAI for S3 bucket access

I have a S3 bucket which hosts my react website. I banned public access to the bucket, and configured an OAI to access the S3 bucket. I can see that I have gran

How to fix error No 'Access-Control-Allow-Origin' header is present on the requested resource when using S3 and Cloudfront of Amazon

When I config S3 and Cloudfront to secure my premium files, I have a problem with Cross-Origin from Cloudfront I have researched and found this link and follow

504 Error for Cloudfront.net distribution and Route53 Domain

I'm trying to setup a static S3 website to be reachable via my custom domain, but when I've tested my cloudfront URL I'm getting 504 Error and in the logs, I se

Cannot delete AWS Lambda@Edge replicas

This question already exists here but I think it will have more impact on SO. I created an AWS Lambda@Edge function in order to rewrite Cloudfront URLs befo

Cannot delete AWS Lambda@Edge replicas

This question already exists here but I think it will have more impact on SO. I created an AWS Lambda@Edge function in order to rewrite Cloudfront URLs befo

Delete ACM certificate after CloudFront was deleted

I had a CloudFront distribution with a custom ACM certificate associated with it. The CloudFront was deleted, but I cannot delete the certificate, it says it&rs

AWS CloudFront access denied to S3 bucket

I am trying to setup CloudFront to serve static files hosted in my S3 bucket. I have setup distribution but I get AccessDenied when trying to browse to the CSS

Domain name cannot be used in Cloudfront after deletion of distribution

I have created a cloudfront distribution and have set the alternate domain name to www.example.com, with an associated certificate. I have then deleted the dist

How to access host in lambda behind both API gateway and cloudfront?

I have a lambda function being executed by an API gateway. I have cloudfront pointing traffic to the API gateway endpoint. How do I access the host/domain the

How to pre-warm CloudFront edge servers' cache?

We have a requirement where we want to pre-warm the cache of all the edge server for a specific CloudFront distribution. For this, we will need to direct a few

React App url parameter with S3 and CloudFront

My apologies if the information that I have provided is vague as I am not so experience with AWS and React. I have a React Application being deployed on S3 and

Cloud Front : The request could not be satisfied

I am coming across this problem, i have a chat server which needs to communicate to the lambda service hosted in aws , but cloud front throws the following erro

How To Authenticate an AirPlay Session

I am serving HLS video with AWS CloudFront. The content is secured with Signed Cookies. I would like users to be able to use Apple AirPlay to watch the video

Why won't my content security policy deploy to CloudFront?

I'm composing a fairly large CSP and deploying it to CloudFront with CloudFormation. The old CSP worked, but the new one doesn't. It doesn't look like it has an

Cloudfront cache with GraphQL?

At my company we're using graphql for production apps, but only for private ressources. For now our public APIs are REST APIs with a Cloudfront service for ca

How to setup AWS cloudfront with lightsail for WordPress?

How to setup AWS cloudfront with lightsail for WordPress? (on a subdomain) I'm using Route 53 for all DNS management. I'm using a static IP from lightsail, 3.1

AWS Cloudfront + lambda@edge modify html content (making all links absolute -> relative)

I (maybe falsely) assumed lambda@edge can modify origin.responce content, so wrote a lambda function like this: /* this does not work. response.Body is not defi

Restrict Lambda function URL access to CloudFront

AWS have recently released the Lambda function URLs feature which allows a function to be invoked via a URL. I would like to allow my function to be invoked via