Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Amazon S3 Cookbook (n)

You're reading from   Amazon S3 Cookbook (n) Over 30 hands-on recipes that will get you up and running with Amazon Simple Storage Service (S3) efficiently

Arrow left icon
Product type Paperback
Published in Aug 2015
Publisher Packt
ISBN-13 9781785280702
Length 280 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Naoya Hashimoto Naoya Hashimoto
Author Profile Icon Naoya Hashimoto
Naoya Hashimoto
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Preface 1. Managing Common Operations with AWS SDKs FREE CHAPTER 2. Hosting a Static Website on Amazon S3 Bucket 3. Calculating Cost with the AWS Simple Monthly Calculator 4. Deploying a Static Website with CloudFormation 5. Distributing Your Contents via CloudFront 6. Securing Resources with Bucket Policies and IAM 7. Sending Authenticated Requests with AWS SDKs 8. Protecting Data Using Server-side and Client-side Encryption 9. Enabling Cross-origin Resource Sharing 10. Managing Object Lifecycle to Lower the Cost 11. S3 Performance Optimization 12. Creating Triggers and Notifying S3 Events to Lambda Index

Conventions

In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "We can include other contexts through the use of the include directive."

A block of code is set as follows:

{
"Version":"2012-10-17",
"Statement":[{
"Sid":"PublicReadGetObjects", "Effect":"Allow", "Principal": "*", "Action":["s3:GetObject"], "Resource":["arn:aws:s3:::<your_bucket>/*"]
}]
}

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

$ aws s3 sync <your_document_directory>/ s3://<your_bucket> --region <region_name>

Example:

$ aws s3 syncmy_doc_dir/ s3://hashnao.info --region ap-northeast-1

Any command-line input or output is written as follows:

$ dig hashweb.s3-website-ap-northeast-1.amazonaws.com

; <<>>DiG 9.8.3-P1 <<>> hashweb.s3-website-ap-northeast-1.amazonaws.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45068
;; flags: qrrdra; QUERY: 1, ANSWER: 2, AUTHORITY: 4,

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "Click on Static Website Hosting and then select Enable website hosting."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime