万本电子书0元读

万本电子书0元读

顶部广告

Amazon S3 Cookbook电子书

售       价:¥

4人正在读 | 0人评论 9.8

作       者:Naoya Hashimoto

出  版  社:Packt Publishing

出版时间:2015-08-27

字       数:160.6万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
This book is for cloud developers who have experience of using Amazon S3 and are also familiar with Amazon S3.
目录展开

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 grant cross-account bucket permissions

Getting ready

How to do it…

How it works…

The bucket policy

The user policy

See also

Walkthrough 3: To grant cross-account bucket permissions to objects without ownership

Getting ready

How to do it…

How it works…

The bucket policy

See also

Walkthrough 4: Bucket and user policy examples

Getting ready

How to do it…

Granting permissions to multiple accounts, specific resources, and addresses in a bucket policy

Allowing a user to access a folder in a bucket in a specific region in a user policy

How it works…

Granting permissions to multiple accounts, specific resources and addresses in a bucket policy

Allowing a user to access a folder in a bucket in a specific region in a user policy

7. Sending Authenticated Requests with AWS SDKs

Introduction

How to make requests using IAM user temporary credentials with AWS SDK

Getting ready

How to do it…

How it works…

See also

How to make requests using federated user temporary credentials with AWS SDK

Getting ready

How to do it…

How it works…

See also

8. Protecting Data Using Server-side and Client-side Encryption

Introduction

How to protect data using server-side encryption

Getting ready

How to do it…

How it works…

See also

How to protect data using client-side encryption

AWS KMS-managed customer master key (CMK)

The client-side master key

Getting ready

How to do it...

How it works...

See also

9. Enabling Cross-origin Resource Sharing

Introduction

Walkthrough 1: Enabling CORS through the S3 console

Getting ready

How to do it…

How it works…

The AllowedMethod element

The AllowedOrigin element

The AllowedHeader element

The ExposeHeader element

The MaxAgeSeconds element

There's more…

Restricting cross-origin requests from a specific domain

Allowing specific headers for a preflight request

See also

Walkthrough 2: Enabling CORS with AWS CLI

Getting ready

How to do it…

How it works…

There's more…

See also

10. Managing Object Lifecycle to Lower the Cost

Introduction

How to apply the lifecycle policy through the S3 console

Getting ready

How to do it…

How it works…

There's more…

Walkthrough – applying several lifecycle policies

Applying lifecycle configuration rules

Object expiration for versioning and server access logging

The Glacier storage class

See also

How to apply the lifecycle policy with AWS CLI

Getting ready

How to do it…

How it works…

There's more…

Walkthrough – archiving the current version into Glacier and deleting the previous versions

Archival storage charges

See also…

11. S3 Performance Optimization

Introduction

Choosing a region to optimize latency

The data consistency model

Key naming schema

CloudHarmony for measuring S3 performance

How to optimize PUT requests

Getting ready

How to do it…

How it works…

There's more…

Multipart upload specification

Multipart upload and charging

See also

How to optimize GET requests

Getting ready

How to do it…

How it works…

There's more…

Range GET request support

See also

12. Creating Triggers and Notifying S3 Events to Lambda

Introduction

How to create a sample policy to notify S3 events

Getting ready

How to do it…

How it works...

See also

How to enable S3 event notification with Lambda

Getting ready

How to do it…

How it works…

There's more...

See also

Index

累计评论(0条) 1个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部