![]()
Table of Contents
Amazon S3 Essentials
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
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Know-How about S3
The need for S3 and its advantages
Basic concepts of Amazon S3
Buckets
Objects
Keys
Features of Amazon S3
Case studies
Use cases
Summary
2. S3 using the AWS Management Console
Logging in to the AWS Management Console
Bucket operations
Folder operations
Object operations
Use Reduced Redundancy Storage
Use Server Side Encryption
Versioning
Summary
3. S3 using AWS SDK â Java (Part 1)
Prerequisites
The AWS SDK for Java
The access key and secret key
Creating a group and attaching the AmazonS3FullAccess policy
Initialization
Using BasicAWSCredentials
Using ProfileCredentialsProvider
Bucket
Creating a bucket
Creating a bucket with versioning
Creating a bucket with logging
Folder
Objects
Uploading a file to a bucket
Uploading a file to a folder
Listing of bucket, folder, and objects
Delete operations
Summary
4. S3 using AWS SDK â Java (Part 2)
Copying objects
Bucket lifecycle
Cross-origin Resource Sharing
Summary
5. Deploying a Website on S3
Website configuration using the Amazon S3 Java SDK
Mapping a custom domain with website configuration in Amazon S3
Summary
Index
![]()
Copyright © 2015 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: October 2015
Production reference: 1261015
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78355-489-8
www.packtpub.com
![]()
Author
Sunil Gulabani
Reviewers
Guðmundur Jón Halldórsson
Parth Mehta
Commissioning Editor
Kunal Parikh
Acquisition Editors
Shaon Basu
Sonali Vernekar
Content Development Editor
Mayur Pawanikar
Technical Editor
Humera Shaikh
Copy Editors
Shruti Iyer
Sonia Mathur
Project Coordinator
Kranti Berde
Proofreader
Safis Editing
Indexer
Monica Ajmera Mehta
Production Coordinator
Nilesh R. Mohite
Cover Work
Nilesh R. Mohite
![]()
Sunil Gulabani is a software engineer based in Ahmedabad, Gujarat, and author of the book, Developing RESTful Web Services with Jersey 2.0, Packt Publishing. He completed his graduation in commerce from S M Patel Institute of Commerce (SMPIC) and obtained his master's degree in computer applications from AES Institute of Computer Studies (AESICS). Sunil presented a paper entitled Effective Label Matching For Automated Evaluation of Use Case Diagrams at an IEEE conference on Technology For Education (T4E) held at IIIT Hyderabad, along with senior lecturers, Vinay Vachharajani and Dr. Jyoti Pareek.
Since 2011, he has been working as a software engineer and is a cloud technologyâsavvy person. Sunil is experienced in developing enterprise solutions using Java Enterprise Edition. He has a keen interest in system architecture and integration, data modeling, relational databases, and mapping with NoSQL for high throughput.
Apart from this, Sunil is interested in writing tech blogs and is actively involved in knowledge-sharing communities.
You can visit him online at
http://www.sunilgulabani.com and follow him on Twitter at
twitter.com/sunil_gulabani. You can also reach Sunil directly at
<[email protected]>.
![]()
Guðmundur Jón Halldórsson is a veteran software developer who has designed and built software for many of the biggest companies in Iceland. His focus is on finding big data solutions for his company.
Guðmundur is the chief technology officer of Medilync, a small medical device company in Iceland. Medilync was founded with the goal of revolutionizing the way diabetes is managed and treated in a value-based care landscape.
Guðmundur is the author of Apache Accumulo for Developers, Packt Publishing.
Parth Mehta is a full stack software developer and earned his bachelor's degree in information technology from Vishwakarma Government Engineering College (VGEC).
He is an Oracle Certified Java programmer and also has experience in development and deployment of scalable and highly available application design with Advanced Java technologies and frameworks, Amazon Web Services, SOA with REST, and AngularJS.
Parth is passionate about learning alg...