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
1 answer

CloudFront cache limit

Say I am serving 3 million requests of static and dynamic images per month from an EC2 machine (origin), and each image is about 15 KB, and my guess is that the approximate amount stored in the CloudFront cache will be about 15 GB of images, since…
b_dev
  • 201
  • 1
  • 3
  • 6
0
votes
1 answer

Anyone using RTMP on CloudFront? I can't specify a crossdomain.xml file

I'm using a streaming distribution on CloudFront to serve media via RTMP. Obviously I want to restrict the crossdomain.xml file but CloudFront is only serving it's default one. The docs give instruction on how to overwrite their default -> I have…
0
votes
1 answer

Static website cname problem, cloudfront

Hey guys, one quick question. I've got a problem setting the cname for my domain http://snaremedia.com . I use godaddy and set the www cname to point at my cloudfront url, but currently my domain only work through entering www. and not without the…
Ulrik M
  • 1
  • 1
0
votes
3 answers

Easier way how to put AWS ALB behind Cloudfront with TLS?

I have this flow: user => Cloudfront with TLS => ALB with TLS => ECS I encrypted connection between Cloudfront and ALB. Cloudfront has domain MAIN.DOMAIN.NET + TLS cert configured. ALB has also domain WEB.DOMAIN.NET + TLS cert (it seems that for…
wtdmn
  • 33
  • 2
0
votes
0 answers

switch S3 origin path instead of switching origin domain

Someone help me with below case and share a simple and best approach to achieve this goal. I have one s3 bucket and bucket have two folder Like V1 and V2. And two cloud front URLs ( Assume my blue and green URLs ) and my both cloud front URLs are…
0
votes
0 answers

Redirection for WP website

We have a WP website in an EC2 instance. Over that, we have a CloudFront distribution which is serving the DNS requests. At times we face the website error - redirected too many times. While checking the server logs, we find that CF requests are…
0
votes
0 answers

Amazon Lightsail + CDN 502 Error

I have gone through all of the various posts here about the issue as well as gone through this link and still can't solve the problem. Using Amazon's Lightsail and Amazon Linux 2, I tried setting up a CDN distribution and it returns the error: "502…
0
votes
0 answers

How does a CloudFront cache behavior's "Path Pattern" interact with the origin's "Origin Path"?

I have an origin that looks like this: "https://myS3Bucket.s3/static/ui/v1.0.0". This origin has an "Origin Path" that is "/v1.0.0", and the cache behavior associated with this origin has a "Path Pattern" that is "/static/ui/*". If a user makes a…
Brian K
  • 101
0
votes
0 answers

nginx how to replace try_files with proxy_pass having multiple paths

I have a set of rules in Nginx of this type: location ~ ^/race/[a-z0-9\-_]*/session/[a-z0-9\-]*/topic/[a-z0-9\-_]*$ { try_files $uri $uri/ /race/period/session/team/topic/index.html; } location /images/assets/ { try_files /backup/data$uri…
nbari
  • 548
  • 1
  • 8
  • 25
0
votes
0 answers

AWS CloudFront error 502 connecting to EC2 host

Community I have a web page served by Apache running on a EC2 AWS instance. I am using AWS Certificate Manager with CloudFront to manage SSL/TLS in order to access the web page using HTTPS My environment: Domain: some.com.do AWS Certificate…
Geraldo
  • 1
  • 1
0
votes
1 answer

Setting up CloudFront with SSL/TLS certificate and EC2 instance

Community. I have a web page served by Apache running on a EC2 AWS instance. I am using AWS Certificate Manager with CloudFront to manage SSL/TLS in order to access the web page using HTTPS My environment: Domain: some.com.do AWS Certificate…
0
votes
1 answer

DDOS AWS API Gateway protection

I have publicly exposed API Gateway (HTTP). To authenticate you have to provide a valid JWT. I want to secure this APIGW with Cloudfront + WAF. After reading docs I think that API Gateway endpoint is still exposed to the Internet. The only thing…
0
votes
0 answers

ALB instead of Cloudfront in front of single server web app

AWS Recommends adding cloudfront in front of single server applications for security and performance see https://aws.amazon.com/blogs/networking-and-content-delivery/dynamic-whole-site-delivery-with-amazon-cloudfront/ I want to add it for an…
Niro
  • 1,371
  • 3
  • 17
  • 35
0
votes
1 answer

influxdb connect to cloudfront aws

Just installed influxdb on fedora server 35 with this repo : https://repos.influxdata.com/rhel/8/x86_64/stable/ every time i restart the service influxdb (default conf) it connects to random ip on aws cloudfront : tcp ESTAB 0 0 …
proxyd43
  • 123
  • 1
  • 11
0
votes
0 answers

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…