Skip to main content

Questions tagged [amazon-cloudfront]

Amazon CloudFront is a web service for content delivery. It integrates with other Amazon Web Services to give developers and businesses an easy way to distribute content to end users with low latency, high data transfer speeds, and no commitments.

0 votes
0 answers
12 views

AWS cloudfront giving the access denied error while trying to access S3 static web hosting image

S3 Policy { "Version": "2012-10-17", "Id": "Policy1721361019639", "Statement": [ { "Sid": "...
dhruv singhal's user avatar
0 votes
0 answers
11 views

AWS CloudFront - "CORS header ‘Access-Control-Allow-Origin’ missing" for single S3 Resource

I have a video service which will automatically convert uploaded MP4 files to HLS Streams using MediaConvert and store them in S3. From there, a CloudFront URL to the HLS Stream is used for displaying ...
MattChris's user avatar
  • 417
0 votes
0 answers
8 views

Do I need to move all my DNS records to Route 53 when I point Godaddy to their nameservers?

I'm managing a website that is currently using Godaddy as its DNS provider. Godaddy can't point at a Cloud Front distribution, so I need to swap the DNS name servers to Route 53. I have MX records for ...
Connor's user avatar
  • 919
0 votes
0 answers
13 views

how do you give cloudfront access to s3 that has been encrypted by aws managed KMS?

Currently I am trying to deploy cloudfront backed by s3. Contents in s3 are encrypted with the aws managed kms. This is causing the and 403 error since I am not able to give CF access to the key. ...
Sonny's user avatar
  • 7
0 votes
0 answers
16 views

AWS S3 website using CloudFront has too many redirects

I have a S3 bucket configured as a website, mysite.net. Another empty bucket named www.mysite.net, the website for this bucket is not enabled. I have a hosted zone in Route53 for mysite.net There are ...
JanuskaE's user avatar
  • 1,304
0 votes
0 answers
21 views

Is Cloudfront distribution backed by s3 able to return entire "folder" via prefix?

I am trying query cloudfront with key prefix. ex. of key "{uuid}/static/{uuid}.json". When trying to query with request, it will return the correct file. res = requests.get("https://...
Sonny's user avatar
  • 7
0 votes
0 answers
20 views

Next js 14 app router always Hard refresh when behind cloudfront

I am working with nextJs 14 app router and it's behind CloudFront My application works very weirdly it is always hard refresh irrespective of whether I use the Link component of the nextJs. I have ...
Ronak's user avatar
  • 359
0 votes
0 answers
9 views

What is the best practice for implementing AWS WAF for multiple (cloudfront + api_gateway)?

I am new with AWS Cloud and right now I'm working with AWS WAF and I have a multiple site/server (obviously with their respective github repository), I'm planning to implement a WAF for each site, but ...
Kuys's user avatar
  • 33
0 votes
0 answers
19 views

Getting CORS error in AWS (Cloudfront distribution + S3 setup)

Earlier I was accessing this cloudfront distribution from one repo, localhost:4000, and from stage env. It was all working fine. I set up a new localhost localhost:4800 and tried accessing the same ...
Deepak Negi's user avatar
0 votes
0 answers
24 views

Slow lambda run times when using SharpJS

I have an AWS Object Lambda in Node 20.x that uses SharpJS to watermark and reduce an image size upon GET requests. Code looks like this: export const handler = async (event) => { const start = ...
Justin Sumida's user avatar
0 votes
0 answers
21 views

My vite web app not opening on linkendIn and instagram mobile browser

I have a vite app, and i'm trying to promote it on instagram and have attached my link to it. But the link is not opening in the instagram app inbuilt browser and same for linkendIn only in ios ...
Sparsh Gahlot's user avatar
0 votes
1 answer
23 views

Why can't I connect to my EC2 instance through AWS CloudFront?

I'm moving a WordPress site onto AWS. To do this, I've set up the following architecture: A single EC2 instance held in a target group with a database and WordPress installed on it. An Elastic Load ...
Connor's user avatar
  • 919
0 votes
0 answers
25 views

Cloudfront omits CORS header in preflight request only when Authorization header is included

We have a Cloudfront distribution in front of a HTTP API Gateway. Cloudfront: Caching disabled AllViewerExceptHostHeader Response Header policy, custom Adds Access-Control-Allow-Origin: <list>, ...
omairvaiyani's user avatar
0 votes
0 answers
32 views

Is it worth reducing Vite build chunk sizes if I am serving compressed files through CloudFront?

Just as the title says, I have a Vite application that is currently building to about 9.5mb, with two index files being the largest offenders. This of course causes the warning to be shown after build ...
J_C's user avatar
  • 347
0 votes
0 answers
30 views

Serve wordpress and S3 website using Cloudfront

I have my main site at WPEngine hosted and a React based webpage hosted on S3. Domain is setup on Route 53, I have created a cloudfront with 2 origins. Origin 1 -> domain.wpenginepowered.com Origin ...
Galeej's user avatar
  • 29

15 30 50 per page
1
2 3 4 5
338