Python and AWS Cookbook

Overview

If you intend to use Amazon Web Services (AWS) for remote computing and storage, Python is an ideal programming language for developing applications and controlling your cloud-based infrastructure. This cookbook gets you started with more than two dozen recipes for using Python with AWS, based on the author’s boto library.

You’ll find detailed recipes for working with the S3 storage service as well as EC2, the service that lets you design and build cloud applications. Each ...

See more details below
Other sellers (Paperback)
  • All (11) from $13.55   
  • New (8) from $13.55   
  • Used (3) from $13.55   
Python and AWS Cookbook

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK 7.0
  • Samsung Galaxy Tab 4 NOOK 10.1
  • NOOK HD Tablet
  • NOOK HD+ Tablet
  • NOOK eReaders
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$10.99
BN.com price
(Save 15%)$12.99 List Price

Overview

If you intend to use Amazon Web Services (AWS) for remote computing and storage, Python is an ideal programming language for developing applications and controlling your cloud-based infrastructure. This cookbook gets you started with more than two dozen recipes for using Python with AWS, based on the author’s boto library.

You’ll find detailed recipes for working with the S3 storage service as well as EC2, the service that lets you design and build cloud applications. Each recipe includes a code solution you can use immediately, along with a discussion of why and how the recipe works. You also get detailed advice for using boto with AWS and other cloud services.

This book’s recipes include methods to help you:

  • Launch instances on EC2, and keep track of them with tags
  • Associate an Elastic IP address with an instance
  • Restore a failed Elastic Block Store volume from a snapshot
  • Store and monitor your own custom metrics in CloudWatch
  • Create a bucket in S3 to contain your data objects
  • Reduce the cost of storing noncritical data
  • Prevent accidental deletion of data in S3
Read More Show Less

Product Details

  • ISBN-13: 9781449305444
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 11/4/2011
  • Edition number: 1
  • Pages: 76
  • Product dimensions: 6.90 (w) x 9.10 (h) x 0.40 (d)

Meet the Author

Mitch Garnaat is a software developer at Eucalyptus Systems where he is responsible for the development of tools to make it easier to create and manage cloud computing resources. Previously, as a Principal Engineer at Xerox PARC he was the co-inventor and lead developer of DocuShare, a web-based document management product from Xerox. He is the creator of boto, an open source Python library for cloud computing.

Read More Show Less

Table of Contents

Preface;
Conventions Used in This Book;
Using Code Examples;
Safari® Books Online;
How to Contact Us;
Chapter 1: General Info;
1.1 A Quick Note About Python;
1.2 Installing boto;
1.3 Getting Started with Amazon Web Services;
1.4 Using boto with Eucalyptus;
1.5 Using boto with Google Cloud Storage;
1.6 Finding Available Regions for AWS;
1.7 Enabling Debug Output with boto;
1.8 Controlling Socket Timeouts in boto;
Chapter 2: EC2 Recipes;
2.1 Launching an Instance;
2.2 Keeping Track of Instances with Tags;
2.3 Accessing the Console Log;
2.4 Uploading Your Own SSH Keypair;
2.5 Synchronizing SSH Keypairs Across EC2 Regions;
2.6 Associate an Elastic IP Address with an Instance;
2.7 Attach a Persistent EBS Volume to an Instance;
2.8 Back Up Your EBS Volumes;
2.9 Restore a Volume from a Snapshot;
2.10 Clone an Existing Instance;
2.11 Find All Running EC2 Instances;
2.12 Monitoring the Performance of Your Instance;
2.13 Getting Notifications;
2.14 Storing Custom Data in CloudWatch;
2.15 Executing Custom Scripts upon Instance Startup;
Chapter 3: S3 Recipes;
3.1 Create a Bucket;
3.2 Create a Bucket in a Specific Location;
3.3 Store Private Data;
3.4 Store Metadata with an Object;
3.5 Computing Total Storage Used by a Bucket;
3.6 Copy an Existing Object to Another Bucket;
3.7 Modify the Metadata of an Existing Object;
3.8 Find Out Who Is Accessing Your Data;
3.9 Reduce the Cost of Storing Noncritical Data;
3.10 Generating Expiring URLs for S3 Objects;
3.11 Preventing Accidental Deletion of Data from S3;
3.12 Hosting Static Websites on S3;
3.13 Uploading Large Objects to S3;

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

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 identity 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

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