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

Nginx reverse-proxy to a cloudfront distribution and preserve gzip compression

I have problems trying to set up a nginx reverse-proxy that preservers gzip compression. My setup : I have a CLoudfront distribution with gzip compression enabled (as you can see on http://dvty1uxa5ftxq.cloudfront.net my main.js is indeed…
1
vote
1 answer

How to have CloudFront serves privated files

I want to use S3 + CloudFront for serving huge ~1,5GB files for download (not streaming). These files are premium, paid content so i don't want to expose them in the web. What's the best way to do this? AWS CLI -> upload S3 CloudFront -> check…
Michele
  • 169
  • 10
1
vote
1 answer

Redirect naked domain to www with SSL in cloudfront/route 53

I have setup two buckets on s3 one for my actual angular 2 app: www.example.com and one for redirecting example.com to www.example.com. I have also created two distributions in cloud front and added a custom certificate from amazon. Now I have the…
1
vote
1 answer

Redirect naked domain to www in cloudfront/route 53

I have a static website hosted on s3 with cloudfront distribution. I've found tons of answers on redirecting to www with only route 53 in front of s3, but nothing on how to do it with cloudfront. I've tried a bunch of different things but none of…
Akababa
  • 133
  • 1
  • 7
1
vote
1 answer

Can't Connect To Wordpress on EC2 With Cloudfront and SSL

I have instantaudiobook.co registered at Name Cheap and pointing to AWS Route 53. I have CloudFront in front of my AWS server (just running WordPress). I created an SSL cert in AWS Certificate Manager and associated it with my domain via…
1
vote
1 answer

Subdomain from different S3 bucket on same cloudfront distribution

I have example.com served from idxxxx.cloudfront.net, this goes to S3 bucket nr 1. This works well. I now need subdomain.example.com to also be served from same cloudfront distribution, and point to S3 bucket nr 2. It's a completely different…
1
vote
1 answer

Why i can't see created ACL into the distribution settings of cloud front?

I have created an ACL. And it is also enabled. And i want to associate with a cloud front distribution. There are two problems 1. I do not see my ACL into the dropdown list of distribution settings either while creating new cloudfront or for…
codeofnode
  • 143
  • 1
  • 9
1
vote
0 answers

Disable Detailed Response Headers from CloudFront to Satisfy Veracode?

If this is the wrong StackExchange sub-exchange, please redirect me, I'm happy to move this question. I was just moved onto a project managing a CloudFront instance. I've never used any Amazon cloud services before (except for S3, and only a little…
Steverino
  • 133
  • 1
  • 7
1
vote
2 answers

Certificate Mismatch setting up Route53, CloudFront, Custom Origin

Background My websites have been using CloudFlare with Let's Encrypt successfully for a year or two. The websites are hosted on EC2, they have valid Let's Encrypt certificates for the root, www, and all used subdomains. The website is run by…
Tim
  • 31,888
  • 7
  • 52
  • 78
1
vote
1 answer

Cloudfront returns 403 for a minute after upload

I have a cloudfront distribution in front of an s3 bucket. Cloudfront urls are restricted, and keys must be url signed. The s3 bucket is also restricted, allowing only cloudfront to read Sometimes, after I successfully upload an image to my s3,…
f.khantsis
  • 331
  • 3
  • 6
  • 13
1
vote
1 answer

DNS like hot-swap of Amazon Cloud Front distributions

First of all, I am new to AWS. :) And I am trying to do the following: There are 2 environments (blue and green) each having an EC2 instance hosting a Website and APIs, and a Cloud Front distribution Cloud Front is the entry point to my website,…
Cipi
  • 144
  • 6
1
vote
1 answer

Amazon Cloudfront with S3 bucket - 2 origins

I am bit confused with setting up Amazon Cloudfront and S3 bucket. I've got my bucket setup and using the wordpress WP Offload S3 plugin to store any images in this bucket. When checking the image URL in the media manager, all seems to work fine and…
1
vote
1 answer

Amazon S3 + CloudFront + Redirection rules don't work

my instance in amazon S3 works perfectly with its redirection rules to folders and files that don't exist on the bucket (their path converts to #arguments): this…
Lau Llobet
  • 131
  • 4
1
vote
2 answers

Can I hide S3 and Cloudfront endpoints?

I have setup a static website on AWS S3 and am accelerating it with AWS Cloudfront, but after, I am able to use AWS Route53 to connect my domain name to the Cloudfront endpoint. Now there are two other point of entries, S3 and Cloudfront (aside…
1
vote
0 answers

AWS CloudFront doesn't find my ELB as an origin in Mumbai region

I have my infra setup in AWS singapore region. Now I want to migrate to Mumbai region. I have launched 2 EC2 instances in AWS Mumbai region and deployed my web application and kept behind ELB which is working fine. If I create my Cloudfront which…