Python and AWS Cookbook. Managing Your Cloud with Python and Boto - Helion
ISBN: 978-14-493-2048-5
stron: 78, Format: ebook
Data wydania: 2011-10-24
Księgarnia: Helion
Cena książki: 50,91 zł (poprzednio: 59,89 zł)
Oszczędzasz: 15% (-8,98 zł)
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
Osoby które kupowały "Python and AWS Cookbook. Managing Your Cloud with Python and Boto", wybierały także:
- GraphQL. Kurs video. Buduj nowoczesne API w Pythonie 169,00 zł, (50,70 zł -70%)
- Receptura na Python. Kurs Video. 54 praktyczne porady dla programist 199,00 zł, (59,70 zł -70%)
- Podstawy Pythona z Minecraftem. Kurs video. Piszemy pierwsze skrypty 149,00 zł, (44,70 zł -70%)
- Twórz gry w Pythonie. Kurs video. Poznaj bibliotekę PyGame 249,00 zł, (74,70 zł -70%)
- Data Science w Pythonie. Kurs video. Algorytmy uczenia maszynowego 199,00 zł, (59,70 zł -70%)
Spis treści
Python and AWS Cookbook. Managing Your Cloud with Python and Boto eBook -- spis treści
- Python and AWS Cookbook
- SPECIAL OFFER: Upgrade this ebook with OReilly
- Preface
- Conventions Used in This Book
- Using Code Examples
- Safari Books Online
- How to Contact Us
- 1. General Info
- A Quick Note About Python
- Installing boto
- Download and Install from github.com
- Manually Download and Install boto
- Installing boto with easy_install
- Installing boto with pip
- Installing boto with virtualenv
- Installing paramiko
- Installing euca2ools
- Getting Started with Amazon Web Services
- Create Your AWS Account
- Managing Your AWS Credentials in boto
- A Quick Test
- Using boto with Eucalyptus
- What Is Eucalyptus?
- Getting and Installing Eucalyptus
- Using the Eucalyptus Community Cloud
- Managing Your Eucalyptus Credentials in boto
- Using boto with Google Cloud Storage
- What Is Google Cloud Storage?
- Managing Your Google Cloud Storage Credentials in boto
- Finding Available Regions for AWS
- Enabling Debug Output with boto
- Controlling Socket Timeouts in boto
- 2. EC2 Recipes
- Launching an Instance
- Problem
- Solution
- Discussion
- Keeping Track of Instances with Tags
- Problem
- Solution
- Discussion
- Accessing the Console Log
- Problem
- Solution
- Discussion
- Uploading Your Own SSH Keypair
- Problem
- Solution
- Discussion
- Synchronizing SSH Keypairs Across EC2 Regions
- Problem
- Solution
- Discussion
- Associate an Elastic IP Address with an Instance
- Problem
- Solution
- Discussion
- Attach a Persistent EBS Volume to an Instance
- Problem
- Solution
- Discussion
- Back Up Your EBS Volumes
- Problem
- Solution
- Discussion
- Restore a Volume from a Snapshot
- Problem
- Solution
- Discussion
- Clone an Existing Instance
- Problem
- Solution
- Discussion
- Find All Running EC2 Instances
- Problem
- Solution
- Discussion
- Monitoring the Performance of Your Instance
- Problem
- Solution
- Discussion
- Getting Notifications
- Problem
- Solution
- Discussion
- Storing Custom Data in CloudWatch
- Problem
- Solution
- Discussion
- Executing Custom Scripts upon Instance Startup
- Problem
- Solution
- Discussion
- Launching an Instance
- 3. S3 Recipes
- Create a Bucket
- Problem
- Solution
- Discussion
- Create a Bucket in a Specific Location
- Problem
- Solution
- Discussion
- Store Private Data
- Problem
- Solution
- Discussion
- Store Metadata with an Object
- Problem
- Solution
- Discussion
- Computing Total Storage Used by a Bucket
- Problem
- Solution
- Discussion
- Copy an Existing Object to Another Bucket
- Problem
- Solution
- Discussion
- Modify the Metadata of an Existing Object
- Problem
- Solution
- Discussion
- Find Out Who Is Accessing Your Data
- Problem
- Solution
- Discussion
- Reduce the Cost of Storing Noncritical Data
- Problem
- Solution
- Discussion
- Generating Expiring URLs for S3 Objects
- Problem
- Solution
- Discussion
- Preventing Accidental Deletion of Data from S3
- Problem
- Solution
- Discussion
- Hosting Static Websites on S3
- Problem
- Solution
- Discussion
- Uploading Large Objects to S3
- Problem
- Solution
- Discussion
- Create a Bucket
- About the Author
- SPECIAL OFFER: Upgrade this ebook with OReilly