Amazon S3 Essentials

Book description

Get started with Amazon S3 for virtually unlimited cloud and Internet storage

About This Book

  • Familiarize yourself with the concepts of Amazon S3
  • Understand basic operations of bucket, folders, and objects using Amazon S3 SDK Java
  • Leverage the power of Amazon S3 to effectively store and retrieve data

Who This Book Is For

This book is intended for System Engineers/ Developers, Software Architects, Project managers, and users who want to explore Amazon S3 SDK Java. If you want to learn about Amazon S3 quickly, then this book is for you. Basic knowledge of Java programming is expected.

What You Will Learn

  • Start with the basic concepts of Amazon S3 to get you going
  • Use Copy Object and Multipart Copy Object for objects of different sizes
  • Understand how to use the amazon management console for Amazon S3
  • Learn how to use the AWS SDK of Java and consume the Amazon S3
  • Get to grips with managing the bucket life cycle
  • Configure CORS to share resources to a different domain
  • Discover how to develop and deploy the static website on Amazon S3 using different services of Amazon

In Detail

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.

Style and approach

This fast-paced book is a pragmatic guide to writing Amazon S3 applications. Each chapter is blended beautifully with lucid concepts and pertinent examples.

Table of contents

  1. Amazon S3 Essentials
    1. Table of Contents
    2. Amazon S3 Essentials
    3. Credits
    4. About the Author
    5. About the Reviewers
    6. www.PacktPub.com
      1. Support files, eBooks, discount offers, and more
        1. Why subscribe?
        2. Free access for Packt account holders
    7. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Downloading the color images of this book
        3. Errata
        4. Piracy
        5. Questions
    8. 1. Know-How about S3
      1. The need for S3 and its advantages
      2. Basic concepts of Amazon S3
        1. Buckets
        2. Objects
        3. Keys
      3. Features of Amazon S3
      4. Case studies
      5. Use cases
      6. Summary
    9. 2. S3 using the AWS Management Console
      1. Logging in to the AWS Management Console
      2. Bucket operations
      3. Folder operations
      4. Object operations
        1. Use Reduced Redundancy Storage
        2. Use Server Side Encryption
      5. Versioning
      6. Summary
    10. 3. S3 using AWS SDK – Java (Part 1)
      1. Prerequisites
        1. The AWS SDK for Java
        2. The access key and secret key
        3. Creating a group and attaching the AmazonS3FullAccess policy
      2. Initialization
        1. Using BasicAWSCredentials
        2. Using ProfileCredentialsProvider
      3. Bucket
        1. Creating a bucket
        2. Creating a bucket with versioning
        3. Creating a bucket with logging
      4. Folder
      5. Objects
        1. Uploading a file to a bucket
        2. Uploading a file to a folder
      6. Listing of bucket, folder, and objects
      7. Delete operations
      8. Summary
    11. 4. S3 using AWS SDK – Java (Part 2)
      1. Copying objects
      2. Bucket lifecycle
      3. Cross-origin Resource Sharing
      4. Summary
    12. 5. Deploying a Website on S3
      1. Website configuration using the Amazon S3 Java SDK
      2. Mapping a custom domain with website configuration in Amazon S3
      3. Summary
    13. Index

Product information

  • Title: Amazon S3 Essentials
  • Author(s): Sunil Gulabani
  • Release date: November 2015
  • Publisher(s): Packt Publishing
  • ISBN: 9781783554898