Amazon S3 Cookbook
eBook - ePub

Amazon S3 Cookbook

Naoya Hashimoto

Share book
  1. 280 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Amazon S3 Cookbook

Naoya Hashimoto

Book details
Book preview
Table of contents
Citations

About This Book

Over 30 hands-on recipes that will get you up and running with Amazon Simple Storage Service (S3) efficientlyAbout This Book• Learn how to store, manage, and access your data with AWS SDKs• Study the Amazon S3 pricing model and learn how to calculate costs by simulating practical scenarios• Optimize your Amazon S3 bucket by following step-by-step instructions of how to deliver your content with CloudFront, secure the S3 bucket with IAM, and lower costs with object life cycle managementWho This Book Is ForThis book is for cloud developers who have experience of using Amazon S3 and are also familiar with Amazon S3.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 SDKsIn DetailAmazon 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.Style and approachA step-by-step practical guide that will show you how to efficiently store, manage, and control your data in Amazon S3.

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Amazon S3 Cookbook an online PDF/ePUB?
Yes, you can access Amazon S3 Cookbook by Naoya Hashimoto in PDF and/or ePUB format, as well as other popular books in Ciencia de la computación & Servicios web y API. We have over one million books available in our catalogue for you to explore.

Information

Year
2015
ISBN
9781785289859

Amazon S3 Cookbook


Table of Contents

Amazon S3 Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Instant updates on new Packt books
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Getting ready
How to do it…
How it works…
There's more…
See also
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Managing Common Operations with AWS SDKs
Introduction
Learning AWS SDK for Java and basic S3 operations with sample code
Getting ready
How to do it…
How it works…
See also
Learning AWS SDK for Node.js and basic S3 operations with sample code
Getting ready
How to do it…
How it works…
See also
Learning AWS SDK for Python and basic S3 operations with sample code
Getting ready
How to do it…
How it works…
See also
Learning AWS SDK for Ruby and basic S3 operations with sample code
Getting ready
How to do it…
How it works…
See also
Learning AWS SDK for PHP and basic S3 operations with sample code
Getting ready
How to do it…
How it works…
See also
2. Hosting a Static Website on Amazon S3 Bucket
Introduction
How to configure a static website on Amazon S3 bucket
Getting ready
How to do it…
How it works…
See also
How to configure S3 server access logging
Getting ready
How to do it…
How it works…
There's more…
See also
How to configure a static website using a custom domain
Getting ready
How to do it…
How it works…
See also
How to configure a static website on Amazon S3 bucket with AWS CLI
Getting ready
How to do it…
How it works…
See also
3. Calculating Cost with the AWS Simple Monthly Calculator
Introduction
How to calculate and estimate S3 costs with the AWS calculator
Getting ready
How to do it…
The first example
The second example
The third example
How it works…
There's more…
See also
How to annotate S3 billing by adding cost allocation tagging
Getting ready
How to do it…
How it works…
See also
4. Deploying a Static Website with CloudFormation
Introduction
How to deploy a template of a static website with CloudFormation
Getting ready
How to do it…
How it works…
There's more…
Why CloudFormation failed to create a stack
Deleting a stack
See also
How to deploy a template with AWS CLI
Getting ready
How to do it…
How it works…
Deleting a stack
Validating your template
See also
5. Distributing Your Contents via CloudFront
Introduction
How to configure a CloudFront distribution on the Amazon S3 bucket
Getting ready
How to do it…
How it works…
There's more…
Using an alias record instead of alternate domain names (CNAMEs)
See also
How to measure throughput between S3 and CloudFront
Getting ready
How to do it…
How it works…
There's more…
Amazon CloudFront limits
See also
How to compare costs for data transfer between S3 and CloudFront
Getting ready
Regional data transfer out to the Internet (per GB)
Regional data transfer out to origin (per GB)
Request pricing for all HTTP methods
How to do it…
The second example – transferred out of an S3 bucket to the Internet
The third example – transferred out of CloudFront edge locations to the Internet
How it works…
See also
6. Securing Resources with Bucket Policies and IAM
Introduction
Walkthrough 1: To grant users bucket permissions
Getting ready
How to do it…
How it works…
The bucket policy
The user policy
See also
Walkthrough 2: To gr...

Table of contents