Questions tagged [amazon-cloudfront]

Amazon CloudFront is a content delivery network (CDN) offered by Amazon Web Services.

Amazon CloudFront is a content delivery network (CDN) offered by Amazon Web Services.

Official page

373 questions
0
votes
0 answers

Image Storage Options In AWS

In the case of my scenario, The loading issue seems to have been caused by making HTTP requests with no HTTP timeout set to our CDN. The synchronous requests held the page execution for many minutes and then the load balancer timed out the…
0
votes
0 answers

CloudFront gives 403 error when accessing a web app hosted outside AWS through the configured subdomain

I've been tasked with setting up our web app on CloudFront. Our web app is hosted on an Ubuntu server that is completely outside AWS. I have little to no experience with CDNs, but I've made some decent progress on it. Unfortunately, the docs are…
fronzee
  • 165
  • 1
  • 2
  • 10
0
votes
0 answers

Is there a workaround to use cloudflare origin certificate in aws cloudfront?

I have imported the Cloudflare origin server certificate in AWS Certificate Manager. On configuring that certificate in Cloudfront i get the following error: The certificate that is attached to your distribution was not issued by a trusted…
0
votes
1 answer

Sending push notification to s3 origin website from lambda

I want to send a websockets notification from lambda function to clients, on a website hosted via s3 origin with cloudfront. Could someone help me with this, please? Thanks.
0
votes
1 answer

Why is a post/upload of a 100k JSON file to an AWS CloudFront endpoint resulting in 504 error?

On a wordpress site, we have requests coming in to CloudFront, which sends the request to origin (if necessary) which goes through an ELB, and to two or three instances that will service the request. Most requests work, but when we upload a JSON…
0
votes
2 answers

Redirect domain root to CloudFront with nginx?

Note - I see several other questions asking about redirecting to the root of their S3 static websites, but I didn't see anything about redirecting from the root of a domain name to a CloudFront/S3 site. I have my personal website deployed to AWS…
0
votes
1 answer

aws cloudfront custom ssl pricing for subdomain and www

I have created two s3 origin website linked with cloudfront and used acm certificate. But I recently found out pricing are different between https://admin.example.com and https://www.example.com. www.example.com is charged for 20$ per day but admin…
0
votes
0 answers

CloudFront delivery is slow in particular location

In our scenario, I found that our CloudFront delivery particularly in the Japan area is very slow for a few days. which lead our site to become slow in the time of loading the media contents .our s3 origin is in the Northern Virginia region. what…
0
votes
1 answer

AWS architecture - traffic mirroring

We are going to migrate our database from Aurora Serverless to Aurora Cluster. Before that, we'd like to test the performance of the new database in a real-time traffic scenario. We have thought about cloning the current API Gateway, targeting the…
0
votes
2 answers

AWS S3 Static Website vs CloudFront OIA

It seems there are kind of two ways to host a static website on S3/CloudFront. Create S3 bucket with full public access and Static Website set to Enabled + CloudFront config Create S3 bucket with no public access and Static Website set to Disabled…
pbuzz007
  • 113
  • 5
0
votes
0 answers

How can I ensure DNS changes take effect within TTL, even when browser reuses HTTP connections?

I am helping implement CloudFront CDN for an NGINX HLS video origin. If you're not familiar, HLS in the browser just uses XHR or fetch to constantly request .m3u8 and .ts files via HTTP and display them in a video element. I have replicated the…
Daniel
  • 141
  • 1
  • 7
0
votes
0 answers

Serve content from cloudfront as webserver

I have an application running on a Kubernetes pod at example.com, I would like to be able to serve the assets in our CloudFront distribution from this same domain, i.e.: example.com/assets. We have been able to get alternate domain names working…
bgrantdev
  • 111
  • 1
  • 3
0
votes
2 answers

A record in Route 53 doesn't resolve

I added an A record in my Route 53 hosted zone pointing to the CloudFront. But for some reason, it doesn't work. When I do dig mywebsite.com I get ; <<>> DiG 9.16.1-Ubuntu <<>> mywebsite.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<-…
0
votes
0 answers

AWS/S3/Cloudfront/GoDadday and subdomains

I am wondering and hoping this is possible. On AWS I have two s3 buckets to separate a client facing application and an administrative application mysite-app mysite-admin I have a cloudfront distribution for each application. I have one AWS…
0
votes
1 answer

Deploying a Serverless site behind CloudFront

I use Serverless to deploy a website to an AWS Lambda. This works fine. I now want to use CloudFront to proxy access to this Lambda and cache requests for static files. I have set up a CloudFront distribution, and created an origin with the origin…