Amazon S3 Cookbook

Over 30 hands-on recipes that will get you up and running with Amazon Simple Storage Service (S3) efficiently
Preview in Mapt

Amazon S3 Cookbook

Naoya Hashimoto

Over 30 hands-on recipes that will get you up and running with Amazon Simple Storage Service (S3) efficiently
Mapt Subscription
FREE
$29.99/m after trial
eBook
$28.00
RRP $39.99
Save 29%
Print + eBook
$49.99
RRP $49.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$28.00
$49.99
$29.99p/m after trial
RRP $39.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Amazon S3 Cookbook Book Cover
Amazon S3 Cookbook
$ 39.99
$ 28.00
Amazon S3 Essentials Book Cover
Amazon S3 Essentials
$ 27.99
$ 19.60
Buy 2 for $35.00
Save $32.98
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781785280702
Paperback280 pages

Book Description

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 Lambda.

By the end of this book, you will be successfully implementing pro-level practices, techniques, and solutions in Amazon S3.

Table of Contents

Chapter 1: Managing Common Operations with AWS SDKs
Introduction
Learning AWS SDK for Java and basic S3 operations with sample code
Learning AWS SDK for Node.js and basic S3 operations with sample code
Learning AWS SDK for Python and basic S3 operations with sample code
Learning AWS SDK for Ruby and basic S3 operations with sample code
Learning AWS SDK for PHP and basic S3 operations with sample code
Chapter 2: Hosting a Static Website on Amazon S3 Bucket
Introduction
How to configure a static website on Amazon S3 bucket
How to configure S3 server access logging
How to configure a static website using a custom domain
How to configure a static website on Amazon S3 bucket with AWS CLI
Chapter 3: Calculating Cost with the AWS Simple Monthly Calculator
Introduction
How to calculate and estimate S3 costs with the AWS calculator
How to annotate S3 billing by adding cost allocation tagging
Chapter 4: Deploying a Static Website with CloudFormation
Introduction
How to deploy a template of a static website with CloudFormation
How to deploy a template with AWS CLI
Chapter 5: Distributing Your Contents via CloudFront
Introduction
How to configure a CloudFront distribution on the Amazon S3 bucket
How to measure throughput between S3 and CloudFront
How to compare costs for data transfer between S3 and CloudFront
Chapter 6: Securing Resources with Bucket Policies and IAM
Introduction
Walkthrough 1: To grant users bucket permissions
Walkthrough 2: To grant cross-account bucket permissions
Walkthrough 3: To grant cross-account bucket permissions to objects without ownership
Walkthrough 4: Bucket and user policy examples
Chapter 7: Sending Authenticated Requests with AWS SDKs
Introduction
How to make requests using IAM user temporary credentials with AWS SDK
How to make requests using federated user temporary credentials with AWS SDK
Chapter 8: Protecting Data Using Server-side and Client-side Encryption
Introduction
How to protect data using server-side encryption
How to protect data using client-side encryption
Chapter 9: Enabling Cross-origin Resource Sharing
Introduction
Walkthrough 1: Enabling CORS through the S3 console
Walkthrough 2: Enabling CORS with AWS CLI
Chapter 10: Managing Object Lifecycle to Lower the Cost
Introduction
How to apply the lifecycle policy through the S3 console
How to apply the lifecycle policy with AWS CLI
Chapter 11: S3 Performance Optimization
Introduction
How to optimize PUT requests
How to optimize GET requests
Chapter 12: Creating Triggers and Notifying S3 Events to Lambda
Introduction
How to create a sample policy to notify S3 events
How to enable S3 event notification with Lambda

What You Will Learn

  • Host a static website on Amazon S3
  • Calculate costs with AWS Simple Monthly Calculators
  • Deploy a static website via CloudFormation
  • Distribute your content via CloudFront
  • Secure resources with bucket policies and IAM
  • Protect objects using server-side and client-side encryption
  • Enable Cross-Origin Resource Sharing
  • Manage objects’ life cycles to lower costs
  • Optimize performance for uploading as well as downloading objects
  • Enable S3 event notifications and create Lambda functions
  • Manage common operations with AWS SDKs

Authors

Table of Contents

Chapter 1: Managing Common Operations with AWS SDKs
Introduction
Learning AWS SDK for Java and basic S3 operations with sample code
Learning AWS SDK for Node.js and basic S3 operations with sample code
Learning AWS SDK for Python and basic S3 operations with sample code
Learning AWS SDK for Ruby and basic S3 operations with sample code
Learning AWS SDK for PHP and basic S3 operations with sample code
Chapter 2: Hosting a Static Website on Amazon S3 Bucket
Introduction
How to configure a static website on Amazon S3 bucket
How to configure S3 server access logging
How to configure a static website using a custom domain
How to configure a static website on Amazon S3 bucket with AWS CLI
Chapter 3: Calculating Cost with the AWS Simple Monthly Calculator
Introduction
How to calculate and estimate S3 costs with the AWS calculator
How to annotate S3 billing by adding cost allocation tagging
Chapter 4: Deploying a Static Website with CloudFormation
Introduction
How to deploy a template of a static website with CloudFormation
How to deploy a template with AWS CLI
Chapter 5: Distributing Your Contents via CloudFront
Introduction
How to configure a CloudFront distribution on the Amazon S3 bucket
How to measure throughput between S3 and CloudFront
How to compare costs for data transfer between S3 and CloudFront
Chapter 6: Securing Resources with Bucket Policies and IAM
Introduction
Walkthrough 1: To grant users bucket permissions
Walkthrough 2: To grant cross-account bucket permissions
Walkthrough 3: To grant cross-account bucket permissions to objects without ownership
Walkthrough 4: Bucket and user policy examples
Chapter 7: Sending Authenticated Requests with AWS SDKs
Introduction
How to make requests using IAM user temporary credentials with AWS SDK
How to make requests using federated user temporary credentials with AWS SDK
Chapter 8: Protecting Data Using Server-side and Client-side Encryption
Introduction
How to protect data using server-side encryption
How to protect data using client-side encryption
Chapter 9: Enabling Cross-origin Resource Sharing
Introduction
Walkthrough 1: Enabling CORS through the S3 console
Walkthrough 2: Enabling CORS with AWS CLI
Chapter 10: Managing Object Lifecycle to Lower the Cost
Introduction
How to apply the lifecycle policy through the S3 console
How to apply the lifecycle policy with AWS CLI
Chapter 11: S3 Performance Optimization
Introduction
How to optimize PUT requests
How to optimize GET requests
Chapter 12: Creating Triggers and Notifying S3 Events to Lambda
Introduction
How to create a sample policy to notify S3 events
How to enable S3 event notification with Lambda

Book Details

ISBN 139781785280702
Paperback280 pages
Read More

Read More Reviews

Recommended for You

AWS Administration - The Definitive Guide Book Cover
AWS Administration - The Definitive Guide
$ 35.99
$ 25.20
Docker Cookbook Book Cover
Docker Cookbook
$ 35.99
$ 25.20
Git: Version Control for Everyone Book Cover
Git: Version Control for Everyone
$ 23.99
$ 16.80
Git Version Control Cookbook Book Cover
Git Version Control Cookbook
$ 26.99
$ 18.90
Mastering Docker Book Cover
Mastering Docker
$ 39.99
$ 28.00
Learning Docker Book Cover
Learning Docker
$ 39.99
$ 8.00