You are previewing Python and AWS Cookbook.
O'Reilly logo
Python and AWS Cookbook

Book Description

This book will focus on Elastic Compute Cloud (EC2), Auto Scaling, Elastic Load Balancing and one or two other Amazon Web Services for developers writing in Python.

Table of Contents

  1. Python and AWS Cookbook
    1. SPECIAL OFFER: Upgrade this ebook with O’Reilly
    2. Preface
      1. Conventions Used in This Book
      2. Using Code Examples
      3. Safari® Books Online
      4. How to Contact Us
    3. 1. General Info
      1. A Quick Note About Python
      2. Installing boto
        1. Download and Install from github.com
        2. Manually Download and Install boto
        3. Installing boto with easy_install
        4. Installing boto with pip
        5. Installing boto with virtualenv
        6. Installing paramiko
        7. Installing euca2ools
      3. Getting Started with Amazon Web Services
        1. Create Your AWS Account
        2. Managing Your AWS Credentials in boto
        3. A Quick Test
      4. Using boto with Eucalyptus
        1. What Is Eucalyptus?
        2. Getting and Installing Eucalyptus
        3. Using the Eucalyptus Community Cloud
        4. Managing Your Eucalyptus Credentials in boto
      5. Using boto with Google Cloud Storage
        1. What Is Google Cloud Storage?
        2. Managing Your Google Cloud Storage Credentials in boto
      6. Finding Available Regions for AWS
      7. Enabling Debug Output with boto
      8. Controlling Socket Timeouts in boto
    4. 2. EC2 Recipes
      1. Launching an Instance
        1. Problem
        2. Solution
        3. Discussion
      2. Keeping Track of Instances with Tags
        1. Problem
        2. Solution
        3. Discussion
      3. Accessing the Console Log
        1. Problem
        2. Solution
        3. Discussion
      4. Uploading Your Own SSH Keypair
        1. Problem
        2. Solution
        3. Discussion
      5. Synchronizing SSH Keypairs Across EC2 Regions
        1. Problem
        2. Solution
        3. Discussion
      6. Associate an Elastic IP Address with an Instance
        1. Problem
        2. Solution
        3. Discussion
      7. Attach a Persistent EBS Volume to an Instance
        1. Problem
        2. Solution
        3. Discussion
      8. Back Up Your EBS Volumes
        1. Problem
        2. Solution
        3. Discussion
      9. Restore a Volume from a Snapshot
        1. Problem
        2. Solution
        3. Discussion
      10. Clone an Existing Instance
        1. Problem
        2. Solution
        3. Discussion
      11. Find All Running EC2 Instances
        1. Problem
        2. Solution
        3. Discussion
      12. Monitoring the Performance of Your Instance
        1. Problem
        2. Solution
        3. Discussion
      13. Getting Notifications
        1. Problem
        2. Solution
        3. Discussion
      14. Storing Custom Data in CloudWatch
        1. Problem
        2. Solution
        3. Discussion
      15. Executing Custom Scripts upon Instance Startup
        1. Problem
        2. Solution
        3. Discussion
    5. 3. S3 Recipes
      1. Create a Bucket
        1. Problem
        2. Solution
        3. Discussion
      2. Create a Bucket in a Specific Location
        1. Problem
        2. Solution
        3. Discussion
      3. Store Private Data
        1. Problem
        2. Solution
        3. Discussion
      4. Store Metadata with an Object
        1. Problem
        2. Solution
        3. Discussion
      5. Computing Total Storage Used by a Bucket
        1. Problem
        2. Solution
        3. Discussion
      6. Copy an Existing Object to Another Bucket
        1. Problem
        2. Solution
        3. Discussion
      7. Modify the Metadata of an Existing Object
        1. Problem
        2. Solution
        3. Discussion
      8. Find Out Who Is Accessing Your Data
        1. Problem
        2. Solution
        3. Discussion
      9. Reduce the Cost of Storing Noncritical Data
        1. Problem
        2. Solution
        3. Discussion
      10. Generating Expiring URLs for S3 Objects
        1. Problem
        2. Solution
        3. Discussion
      11. Preventing Accidental Deletion of Data from S3
        1. Problem
        2. Solution
        3. Discussion
      12. Hosting Static Websites on S3
        1. Problem
        2. Solution
        3. Discussion
      13. Uploading Large Objects to S3
        1. Problem
        2. Solution
        3. Discussion
    6. About the Author
    7. SPECIAL OFFER: Upgrade this ebook with O’Reilly