Search icon CANCEL
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Amazon SimpleDB Developer Guide

You're reading from  Amazon SimpleDB Developer Guide

Product type Book
Published in Jun 2010
Publisher Packt
ISBN-13 9781847197344
Pages 252 pages
Edition 1st Edition
Languages

Table of Contents (16) Chapters

Amazon SimpleDB Developer Guide
Credits
Foreword
About the Authors
About the Reviewers
1. Preface
1. Getting to Know SimpleDB 2. Getting Started with SimpleDB 3. SimpleDB versus RDBMS 4. The SimpleDB Data Model 5. Data Types 6. Querying 7. Storing Data on S3 8. Tuning and Usage Costs 9. Caching 10. Parallel Processing

Plan of action


We are going to store the metadata for our songs collection on SimpleDB and also store the corresponding MP3 files on S3. The following figure shows what we are going to accomplish:

In order to accomplish this, here is the sequence of steps we need to take:

  1. 1. Create a bucket in S3 for storing our music files.

  2. 2. Create additional metadata that we will need for the files and store the metadata in our songs domain.

  3. 3. Save the actual MP3 file to S3.

Creating an S3 bucket

Each S3 bucket has a name associated with it. Please keep in mind that the name of the bucket needs to be unique not just for your AWS account, but across all accounts in S3. This sometimes makes creating a bucket name challenging!

Note

You must of course be signed up to use Amazon S3 before trying out the code samples in this chapter. We examined in detail how to signup for Amazon's Web Services in Chapter 2, Getting Started with SimpleDB. Please review the chapter if you need help with the sign up process.

Creating...

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 €14.99/month. Cancel anytime}