When to use Amazon Cloudfront or S3

0 votes

down votefavorite
Are there use cases that lend themselves better to Amazon cloudfront over s3 or the other way around? I'm trying to understand the difference between the 2 through examples.
Aug 1, 2018 in Cloud Computing by Gopalan
• 1,360 points

1 answer to this question.

0 votes
  • Amazon S3 is simple storage service for internet with large capacity and provides secure,durable and highly scalable object storage.
  • Amazon CloudFront is a web service that speeds up distribution of your static and dynamic web content, such as .html, .css, .js, and image files, to your users. CloudFront delivers your content through a worldwide network of data centers called edge locations
  • When an object is requsted by end user using the domain name, they are automatically routed to the nearest edge location for high performance delivery of your content.
  • The data served by CloudFront may or may not come from S3. Since it is more optimized for delivery speed, the bandwidth costs a little more.
  • If user base is localized, then it won't make difference working with S3 or CloudFront . but  if user base is spread globally and speed is important, CloudFront may be a better option.
  • Both S3 and CloudFront allow domain aliases, however CloudFront allows multiple aliases so that d1.mystatics.com, d2.mystatics.com and d3.mystatics.com could all point to the same location increasing the capacity for parallel downloads 

answered Aug 1, 2018 by ArchanaNagur
• 2,340 points

Related Questions In Cloud Computing

+3 votes
5 answers

AWS EFS vs EBS vs S3 (differences & when to use?)

EFS is: May not yet be available in ...READ MORE

answered Apr 9, 2018 in Cloud Computing by hemant
• 5,790 points
+4 votes
2 answers

Amazon S3 Permission problem - How to set permissions for all files at once?

This can be done by setting the ...READ MORE

answered Mar 27, 2018 in Cloud Computing by brat_1
• 7,200 points
+1 vote
1 answer

Can we use boto to generate last modified datetime of S3 objects

Okay this code snippet will help you ...READ MORE

answered Apr 10, 2018 in Cloud Computing by hemant
• 5,790 points
0 votes
1 answer

Is there a way to use amazon ECR image from one account in the code build of another account?

These forums might just about help https://forums.aws.amazon.com/ ...READ MORE

answered May 7, 2018 in Cloud Computing by brat_1
• 7,200 points
0 votes
1 answer

Is there a way to use websockets for streaming S3 bucket?

I believe that’s not possible natively in ...READ MORE

answered May 10, 2018 in Cloud Computing by DragonLord999
• 8,450 points
0 votes
1 answer

AWS: What is SQS? How to use Amazon SQS?

Amazon Simple Queue service is a message ...READ MORE

answered Jul 11, 2018 in Cloud Computing by brat_1
• 7,200 points
+1 vote
1 answer
0 votes
1 answer

Does it make sense to have an Amazon Elastic Load Balancer with just one EC2 instance?

ELB automatically distributes incoming application traffic across ...READ MORE

answered Jul 12, 2018 in Cloud Computing by ArchanaNagur
• 2,340 points
0 votes
1 answer

AWS API Gateway should prevent use of TLS v1

API ( application programming interface )- It ...READ MORE

answered Aug 1, 2018 in Cloud Computing by ArchanaNagur
• 2,340 points
Send OTP
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP