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

398 questions
0
votes
1 answer

block public access to the AWS Elastic Beanstalk URL

I have a node.js app running on AWS Elastic Beanstalk. I have setup a domain pointing to a CDN distribution which is pointing to the EBS. But the web app is also accessible via the EBS URL directly. I want to block public access to the EBS URL. how…
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
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
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
  • 6
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
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…
0
votes
1 answer

Cloudfront distribution with react app and wordpress app hosted on same domain - how to get browsers with react app cached to render wordpress app?

I have a domain that hosts a react website in an s3 bucket via cloudfront. There is also a wordpress site hosted on a subdomain of that domain, and in the cloudfront distribution for the web app, I have two behaviors set up with path patterns en and…
Katie
  • 103
  • 4
0
votes
1 answer

Cloudfront 502 error with ALB origin in different region

I have a CloudFront which has one of its origins as an application load balancer, this load balancer is available in a different region from the CloudFront which is only available in N.Virginia and is using a different SSL certificate, as its domain…
0
votes
0 answers

Transfer Compression with Cloudfront and nginx SSI

Is there any way to enable GZIP / Brotli compression on Cloudfront if the origin is a nginx server with SSI (Server Side Includes) enabled? The issue seems that nginx SSI drops the Content-Length header, as it doesn’t know the content length at the…