Amazon S3 Essentials - Sunil Gulabani - E-Book

Amazon S3 Essentials E-Book

Sunil Gulabani

0,0
27,59 €

-100%
Sammeln Sie Punkte in unserem Gutscheinprogramm und kaufen Sie E-Books und Hörbücher mit bis zu 100% Rabatt.

Mehr erfahren.
Beschreibung

Amazon Simple Storage Service (Amazon S3), provides developers and IT teams with secure, durable, and highly-scalable object storage. Amazon S3 is easy to use, with a simple web services interface to store and retrieve any amount of data from anywhere on the web.
S3 is automatically web scalable and responds to the requirements of your application and traffic, and therefore offers a key element to help companies deal dynamically with any spike in traffic for their application (such as a free e-book offer).
This book starts with the basics of the Amazon S3 and its features, and you will quickly get an understanding how to use the Amazon Management Console for Amazon S3 which is the simplest way to manage Amazon S3. Next, we will cover basic operations on bucket, folder, objects. Once the basic operations are understood, you will know how to use Amazon S3 using Java SDK. Following that, you will learn about Copy Objects and Multipart copy objects for large objects size. You will also learn to manage the life cycle of bucket and how to share resources to the different domain by configuring CORS. The book will then guide you through the development and deployment of a static website on Amazon S3 using different services of Amazon.
By the end of the book, you will be able to create a scalable application using Amazon S3.

Das E-Book können Sie in Legimi-Apps oder einer beliebigen App lesen, die das folgende Format unterstützen:

EPUB
MOBI

Seitenzahl: 67

Veröffentlichungsjahr: 2015

Bewertungen
0,0
0
0
0
0
0
Mehr Informationen
Mehr Informationen
Legimi prüft nicht, ob Rezensionen von Nutzern stammen, die den betreffenden Titel tatsächlich gekauft oder gelesen/gehört haben. Wir entfernen aber gefälschte Rezensionen.



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

Amazon S3 Essentials

Amazon S3 Essentials

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

Credits

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

About the Author

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

I would like to express my heartiest thanks to my parents, my wife, Priya, and family members, who supported me at each and every level of my career. I would also like to convey thanks to my friends and colleagues, without whom jumping onto the next step of my career would not be possible. Also, thanks to the Packt Publishing team, who gave me the opportunity to author this book.

About the Reviewers

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.

I want to thank my family because without them I would be lost.

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 algorithm design and development and a big fan of the book, The Algorithm Design Manual. He can be reached at <[email protected]>.

www.PacktPub.com

Support files, eBooks, discount offers, and more

For support files and downloads related to your book, please visit www.PacktPub.com.

Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at <[email protected]> for more details.

At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.

https://www2.packtpub.com/books/subscription/packtlib

Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can search, access, and read Packt's entire library of books.

Why subscribe?

Fully searchable across every book published by PacktCopy and paste, print, and bookmark contentOn demand and accessible via a web browser

Free access for Packt account holders

If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view 9 entirely free books. Simply use your login credentials for immediate access.

Preface

The Amazon Simple Storage Service (Amazon S3) is an online object storage service. It can be used to store and get any data via the following:

The REST web service interfaceThe SOAP web service interfaceBitTorrent

Amazon S3 is easy to configure; it's a reliable and scalable storage that stores files (objects) with high security at a nominal price. Developers or system teams don't have to worry about the data that is stored at or retrieved from Amazon S3. Amazon S3 manages the web-scale computing by itself.

What this book covers

Chapter 1, Know-How about S3, gives a brief introduction to Amazon S3, covering the basic concepts, buckets, objects, and keys. We will also discuss the features of Amazon S3 that can be utilized at minimal cost and its reliable storage service.

Chapter 2, S3 using the AWS Management Console, teaches you how to use AWS Management Console and manage buckets, folders, objects, and operations on it. Along with basic operations, you will also learn about logging and versioning.

Chapter 3, S3 using AWS SDK – Java (Part 1), shows you how to use Amazon SDK—Java for Amazon S3 web services. We will take a look at how to create, upload, get, and delete the bucket, folder, and objects.

Chapter 4, S3 using AWS SDK – Java (Part 2)