
Amazon Elastic Compute Cloud User Guide API Version 2012-07-20 Amazon Elastic Compute Cloud User Guide Amazon Web Services Amazon Elastic Compute Cloud User Guide Amazon Elastic Compute Cloud: User Guide Amazon Web Services Copyright © 2012 Amazon Web Services LLC or its affiliates. All rights reserved. The following are trademarks or registered trademarks of Amazon: Amazon, Amazon.com, Amazon.com Design, Amazon DevPay, Amazon EC2, Amazon Web Services Design, AWS, CloudFront, EC2, Elastic Compute Cloud, Kindle, and Mechanical Turk. In addition, Amazon.com graphics, logos, page headers, button icons, scripts, and service names are trademarks, or trade dress of Amazon in the U.S. and/or other countries. Amazon©s trademarks and trade dress may not be used in connection with any product or service that is not Amazon©s, in any manner that is likely to cause confusion among customers, or in any manner that disparages or discredits Amazon. All other trademarks not owned by Amazon are the property of their respective owners, who may or may not be affiliated with, connected to, or sponsored by Amazon. Amazon Elastic Compute Cloud User Guide Welcome ................................................................................................................................................. 1 What is Amazon EC2? ............................................................................................................................ 3 Getting Started ..................................................................................................................................... 13 Amazon Machine Images ..................................................................................................................... 23 AMI Basics ............................................................................................................................................ 23 Finding a Suitable AMI .......................................................................................................................... 26 Shared AMIs ......................................................................................................................................... 29 Paid AMIs ............................................................................................................................................. 31 Creating Amazon EBS-Backed AMIs Using the Console ..................................................................... 33 Creating Your Own AMIs ....................................................................................................................... 35 Creating Amazon EBS-Backed AMIs .......................................................................................... 36 Creating Instance Store-Backed Linux/UNIX AMIs .................................................................... 39 Tools You Need .................................................................................................................. 40 From an Existing AMI ......................................................................................................... 41 From a Loopback ............................................................................................................... 45 Creating Paid AMIs ..................................................................................................................... 53 Sharing AMIs Safely .................................................................................................................... 62 Amazon Linux AMIs .............................................................................................................................. 70 Enabling Your Own Linux Kernels ................................................................................................ 76 Instances .............................................................................................................................................. 84 Instance Basics ..................................................................................................................................... 84 Families and Types ...................................................................................................................... 85 Micro Instances .................................................................................................................. 90 High I/O Instances ............................................................................................................. 97 Cluster Instances ............................................................................................................... 99 Regions and Availability Zones ................................................................................................. 111 Root Device Volume .................................................................................................................. 117 Best Practices ........................................................................................................................... 124 Spot Instances .................................................................................................................................... 125 Get Started with Spot Instances ................................................................................................ 126 View Spot Price History ................................................................................................... 129 Create a Spot Instance Request ...................................................................................... 132 Find Running Spot Instances ........................................................................................... 137 Cancel Spot Instance Requests ....................................................................................... 141 Walkthroughs: Using Spot Instances with AWS Services ......................................................... 143 Managing Spot Instances with Auto Scaling .................................................................... 144 Tools for Managing Auto Scaling with Spot Instances ............................................ 145 Launch Spot Instances with Auto Scaling .............................................................. 146 Obtain Information About the Instances Launched by Auto Scaling ....................... 149 Update the Bid Price for the Spot Instances ........................................................... 153 Schedule Spot Bid Requests .................................................................................. 156 Using CloudFormation Templates to Launch Spot Instances .......................................... 156 Launching Amazon Elastic MapReduce Job Flows with Spot Instances ......................... 157 Launch Spot Instances in Amazon Virtual Private Cloud ................................................. 158 Plan for Interruptions ................................................................................................................. 159 Get Notifications through Auto Scaling for Spot Instances .............................................. 160 Starting Clusters on Spot Instances ................................................................................ 162 Bidding Strategies ..................................................................................................................... 163 Advanced Tasks ........................................................................................................................ 163 Persist Your Root EBS Partition ....................................................................................... 163 Tag Spot Instance Requests ............................................................................................ 164 Subscribe to Your Spot Instance Data Feed .................................................................... 165 Programming Spot with AWS Java SDK .......................................................................... 168 Tutorial: Amazon EC2 Spot Instances .................................................................... 169 Tutorial: Advanced Amazon EC2 Spot Request Management ............................... 178 Reserved Instances ............................................................................................................................ 195 Tools and Prerequisites ............................................................................................................. 198 Understanding the Pricing Benefit and Consolidated Billing ..................................................... 200 API Version 2012-07-20 4 Amazon Elastic Compute Cloud User Guide Reserved Instances and Consolidated Billing .................................................................. 201 Understanding Reserved Instance Pricing Tiers ....................................................................... 203 Working with Reserved Instances ............................................................................................. 211 Launching Instances ........................................................................................................................... 217 Launching an Instance from an AMI .......................................................................................... 217 Launching an Instance from a Snapshot ................................................................................... 222 Launching an Instance from a Virtual Machine ........................................................................
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages578 Page
-
File Size-