Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Amazon S3 Cookbook (n)
  • Table Of Contents Toc
Amazon S3 Cookbook (n)

Amazon S3 Cookbook (n)

By : Hashimoto
3 (2)
close
close
Amazon S3 Cookbook (n)

Amazon S3 Cookbook (n)

3 (2)
By: Hashimoto

Overview of this book

Amazon S3 is one of the most famous and trailblazing cloud object storage services, which is highly scalable, low-latency, and economical. Users only pay for what they use and can store and retrieve any amount of data at any time over the Internet, which attracts Hadoop users who run clusters on EC2. The book starts by showing you how to install several AWS SDKs such as iOS, Java, Node.js, PHP, Python, and Ruby and shows you how to manage objects. Then, you’ll be taught how to use the installed AWS SDKs to develop applications with Amazon S3. Furthermore, you will explore the Amazon S3 pricing model and will learn how to annotate S3 billing with cost allocation tagging. In addition to this, the book covers several practical recipes about how to distribute your content with CloudFront, secure your content with IAM, optimize Amazon S3 performance, and notify S3 events with Lambada. By the end of this book, you will be successfully implementing pro-level practices, techniques, and solutions in Amazon S3.
Table of Contents (14 chapters)
close
close
13
Index

How to optimize GET requests


To optimize GET requests, we can apply the same technique as with PUT requests. One is to parallelize GET requests, and the other is to use CloudFront to cache objects and reduce the number of GETs. This is because, as you already learned how the performance between S3 and CloudFront differs in How to measure throughput between S3 and CloudFront in the Chapter 5, Distributing Your Contents via CloudFront, CloudFront provides content with low-latency distributing for your content stored in your S3 bucket through a global network of edge locations.

We will see the difference of the performance using a simple curl command.

Getting ready

You need to complete the following set up in advance:

  • Sign up on AWS and be able to access S3 with your IAM credentials

  • Install and set up AWS CLI in your PC or use Amazon Linux AMI

  • Create and enable a CloudFront distribution over your bucket following the instruction, How to configure a CloudFront distribution on the Amazon S3 bucket...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Amazon S3 Cookbook (n)
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon