Python and AWS Cookbook

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

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

Author(s): Mitch Garnaat
Publisher: O'Reilly Media
Year: 2011

Language: English
Pages: 78