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

Trying to revoke public access on CloudFront S3 bucket

All the AWS security tools are bugging me all day about having public S3 bucket access turned on. So I said sure, the only bucket we have that needs public access is our cloudfront bucket, let me fix that and then I can use the new "don't make any…
mxyzplk
  • 113
  • 5
1
vote
1 answer

CloudFront - Forward all query strings, cache based on none - possible?

Background I have an EC2 instance serving Websocket connections, with CloudFront over the top. Now I am serving dynamic content that cannot be cached within CloudFront so I've effectively disabled object caching by setting the "Cache Based on…
Dimos
  • 13
  • 1
  • 4
1
vote
1 answer

Serving secure static S3 site without www

I'm trying to set up AWS to serve a static S3 site over SSL with a custom domain. I'm so close but I'm missing one piece. S3 static website (works): xyz.s3-website.us-east-2.amazonaws.com CloudFront distribution: abc.cloudfront.net w/SSL cert from…
1
vote
1 answer

how to make a ecs web service task definition public on the internet

I have created an ECS Cluster, an AWS ECS service with 1 ECS task definition that has a container that points to this simple docker image which is the Nginx hello image just for testing. I now want to make this publicly available on the internet and…
dagda1
  • 247
  • 3
  • 7
  • 19
1
vote
1 answer

Cloudfront infront of ELB and kubernetes is showing Default backend (nginx-ingress)

Having kubernetes cluster with nginx ingress, pointed to AWS ELB load balancer and Route 53 domain pointed to this ELB is working just fine. Now I am trying to add cloudfront, it's pointing to load balancer, but it shows 404 Default backend all the…
1
vote
1 answer

what should the ACL value be when limiting S3 object access to CloudFront only?

I followed https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html But I cannot figure out what should the ACL on AWS.S3.PutObjectRequest be when I upload to s3 bucket. Possible…
A.Blanc
  • 113
  • 3
1
vote
0 answers

domain masking for a cloudfront distribution

I have a domain test.com which is linked to a cloudfront distribution which then serves static content from s3 bucket. Now I want another domain www.test2.com to masked redirect to test.com. I created a CNAME entry in DNS settings of test2.com with…
1
vote
1 answer

Cloudfront disrupting authentication with JSON Web Token

Short version: my jwt token is not surviving a refresh when pointing to domain behind Cloudfront. Not sure if this is best posted here or on stackoverflow, but since I think I've isolated the problem to AWS Cloudfront, I thought I'd start here. My…
0
votes
1 answer

Does a website need port 443 configured in the nginx file if traffic is routed through CloudFront?

I was googling how to set up the ssl/tls configuration in my nginx file when I noticed if I type https://example.com I am getting the green connection is secure message. I was expecting it to not work like it was doing before I set up the route53…
0
votes
1 answer

AWS CloudFront Traffic Not Reaching EC2 Instance

I've got an API app on EC2 that only knows HTTP, and it's listening on port 8080. Its code does not return 504 for any request. I need CloudFront to be an SSL-Terminating reverse proxy because the app only speaks HTTP. My API is behind CloudFront.…
Adam
  • 101
  • 3
0
votes
0 answers

Traffic handling capacity for 1 EC2 instance for t3.2xlarge

Protocol exchange between phone server and IOT device(inter regional). say there are 100000 users and each are requesting or using 12 - 20 times a day may be approximately at the same time(protocols are very small less than 1 KB), so I need to…
0
votes
1 answer

How to route to Cloudfront+s3 and rest to ALB in Route53?

The project has a domain name foobar.com pointing to a legacy system, hosting and serving mainly static files. The project got more complex over time and in AWS ALB certain /routes are pointed to particularly isolated micro-applications (for…
punkbit
  • 221
  • 1
  • 2
  • 8
0
votes
1 answer

Amazon CloudFront default SSL certificate for multiple domain names

A few years ago I setup an S3 bucket and enabled hosting. It's got an index.html file, which I use as a simple landing page. I then setup AWS CloudFront to use this S3 bucket as an origin server and used the default CloudFront SSL cert. for https.…
0
votes
1 answer

Base64 images not showing in drupal website after integration with cloudfront

I am receiving some issues on Drupal. I have integrated Amazon cloudfront with Drupal. The Cloudfront origin for my domain is drupal.example.com and Cnames are www.example.com and example.com. The problem is that some images are are forming the…
Rocky
  • 49
  • 2
  • 9
0
votes
1 answer

Connect AWS SSL certificate to Intercom Articles

We have our support articles in Intercom Articles and need to attach a SSL certificate to the subdomain support.packaly.com. Intercom does not offer its own certificate so we need to do it through AWS. The complication is that we do not have our…