Programming Amazon Web Services: S3, EC2, SQS, FPS, and SimpleDB [NOOK Book]

NOOK Book (eBook)
$22.79
BN.com price
$39.99 List Price (Save 43%)

Available on NOOK devices and apps

  • Nook Devices
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for iPad
  • NOOK for iPhone
  • NOOK for Android
  • NOOK for Android (Tablet)
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK Study
  • NOOK for PC
  • NOOK for Mac

Want a NOOK? Explore Now

Overview

Building on the success of its storefront and fulfillment services, Amazon now allows businesses to "rent" computing power, data storage and bandwidth on its vast network platform. This book demonstrates how developers working with small- to mid-sized companies can take advantage of Amazon Web Services (AWS) such as the Simple Storage Service (S3), Elastic Compute Cloud (EC2), Simple Queue Service (SQS), Flexible Payments Service (FPS), and SimpleDB to build web-scale business applications.


With AWS, Amazon offers a new paradigm for IT infrastructure: use what you need, as you need ...

See more details below

Overview

Building on the success of its storefront and fulfillment services, Amazon now allows businesses to "rent" computing power, data storage and bandwidth on its vast network platform. This book demonstrates how developers working with small- to mid-sized companies can take advantage of Amazon Web Services (AWS) such as the Simple Storage Service (S3), Elastic Compute Cloud (EC2), Simple Queue Service (SQS), Flexible Payments Service (FPS), and SimpleDB to build web-scale business applications.


With AWS, Amazon offers a new paradigm for IT infrastructure: use what you need, as you need it, and pay as you go. Programming Amazon Web Services explains how you can access Amazon's open APIs to store and run applications, rather than spend precious time and resources building your own. With this book, you'll learn all the technical details you need to:

  • Store and retrieve any amount of data using application servers, unlimited data storage, and bandwidth with the Amazon S3 service

  • Buy computing time using Amazon EC2's interface to requisition machines, load them with an application environment, manage access permissions, and run your image using as many or few systems as needed

  • Use Amazon's web-scale messaging infrastructure to store messages as they travel between computers with Amazon SQS

  • Leverage the Amazon FPS service to structure payment instructions and allow the movement of money between any two entities, humans or computers

  • Create and store multiple data sets, query your data easily, and return the results using Amazon SimpleDB.

  • Scale up or down at a moment's notice, using these services to employ as much time and space as you need


Whether you're starting a new online business, need to ramp up existing services, or require an offsite backup for your home, Programming Amazon Web Services gives you the background and the practical knowledge you need to start using AWS. Other books explain how to build web services. This book teaches businesses how to take make use of existing services from an established technology leader.

Product Details

  • ISBN-13: 9780596551797
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 2/9/2009
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 1
  • Pages: 602
  • Sales rank: 365,565
  • File size: 4 MB

Meet the Author

James Murty is a software developer with extensive experience creating web-based applications and architectures using Java. With a working background spanning a research institute, a small software house and various corporations he has a broad perspective on both the promise and the difficulties inherent in networked applications.

Most recently James has been excited to see the rise of web applications and services that provide compelling new tools and new ways of approaching old problems. While experimenting in this area he created JetS3t, an open source library and application suite that is the leading Java implementation available for Amazon's S3 data storage service.

Table of Contents

Preface

1 Infrastructure in the Cloud 1

Amazon Web Services for Infrastructure 2

Thinking Like Amazon 6

Reality Check 8

Interfaces: REST and Query Versus SOAP 11

2 Interacting with Amazon Web Services 15

REST-Based APIs 15

User Authentication 27

Performing AWS Requests 31

3 S3: Simple Storage Service 51

S3 Overview 51

Interacting with S3 56

Buckets 61

Objects 72

Alternative Hostnames 109

Access Control Lists 111

Server Access Logging (Beta) 122

Signed URIs 130

Distributing Objects with BitTorrent 132

4 S3 Applications 135

Share Large Files 135

Online Backup with AWS::S3 137

S3 Filesystem with ElasticDrive 143

Mediated Access to S3 with JetS3t 148

5 EC2: Elastic Compute Cloud (Beta) 161

EC2 Overview 162

Interacting with EC2 166

Keypairs 167

Network Security by IP 173

Finding Amazon Machine Images 175

Controlling Instances 179

Log In to an Instance 187

Security Groups 189

Managing and Sharing AMIs 200

Console Output and Instance Reboot 208

6 Using EC2 Instances and Images 213

EC2 Instances in Detail 213

Data Management in EC2 220

Modifying an AMI 223

Registering an AMI 229

Create an AMI from Scratch 229

7 EC2 Applications 239

Dynamic DNS 239

On-Demand VPN Server with OpenVPN 243

Web Photo Album with Gallery 2 251

8 SQS: Simple Queue Service 259

SQS Overview 260

Interacting with SQS 268

Queues 269

Messages 274

Queue Attributes 284

Queue Access Control 288

9 SQS Applications 295

Messaging Simulator 295

Distributed Application Services with BOTO 311

Automated Management of EC2 Instance Pools with Lifeguard 335

10 FPS: Flexible Payments Service (Beta)351

FPS Overview 352

Interacting with FPS 360

Managing Your Tokens 367

Acquiring Third-Party Tokens 381

Pay Now Widgets 403

11 FPS Transactions and Accounts 409

Performing FPS Transactions 409

Account Management and Information 440

12 FPS Advanced Topics 449

Gatekeeper Language Guide 449

Micropayments with FPS 463

Building a Marketplace Application 487

Subscribing to FPS Event Notifications 492

13 SimpleDB (Beta) 497

SimpleDB Overview 497

Interacting with SimpleDB 502

Domains 504

Items and Attributes 511

Representing Data in SimpleDB 522

Performing Queries 528

Stock Price Database: A Mini SimpleDB Application 534

A AWS Resources 545

B AWS API Error Codes 555

Index 571

Customer Reviews

Average Rating 4
( 1 )

Rating Distribution

5 Star

(0)

4 Star

(1)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or Leave Anonymously

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identiy on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

We're sorry, but penname is already taken.

Please select one of the following:
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

penname is available!

By visiting the BN.com website or marking a purchase on BN.com, a User is deemed to have accepted the Terms of Use.

Continue Anonymously

Welcome, penname

You have successfully created your Pen Name. Start enjoying the benefits of the BN.com Community today.

Sort by: Showing 1 Customer Review
  • Anonymous

    Posted December 31, 2010

    No text was provided for this review.

Sort by: Showing 1 Customer Review

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)
500 character limit