Amazon Elastic Compute Cloud User Guide API Version 2011-11-01 Amazon Elastic Compute Cloud User Guide

Total Page:16

File Type:pdf, Size:1020Kb

Amazon Elastic Compute Cloud User Guide API Version 2011-11-01 Amazon Elastic Compute Cloud User Guide Amazon Elastic Compute Cloud User Guide API Version 2011-11-01 Amazon Elastic Compute Cloud User Guide Amazon Elastic Compute Cloud: User Guide Copyright © 2011 Amazon Web Services LLC or its affiliates. All rights reserved. Amazon Elastic Compute Cloud User Guide Table of Contents Welcome ............................................................................................................................................................. 1 Introduction to Amazon EC2 .............................................................................................................................. 3 Using Amazon EC2 .......................................................................................................................................... 14 Using AMIs ........................................................................................................................................... 15 AMI Basics .................................................................................................................................. 15 Creating Your Own AMIs ............................................................................................................. 17 Overview of the AMI Creation Process .............................................................................. 17 Creating Amazon EBS-Backed AMIs ................................................................................. 18 Bundling Amazon EC2 instance store-backed Windows AMIs .......................................... 21 Bundling Amazon EC2 instance store-backed Linux/UNIX AMIs ..................................... 25 Tools You Need ......................................................................................................... 26 From an Existing AMI ............................................................................................... 27 From a Loopback ...................................................................................................... 31 Creating Paid AMIs ............................................................................................................ 39 Sharing AMIs Safely .................................................................................................................... 48 Amazon Linux AMI Basics ........................................................................................................... 56 Enabling Your Own Linux Kernels ................................................................................................ 62 Technical Notes for Advanced Users ................................................................................. 69 Using Instances .................................................................................................................................... 70 Instance Families and Types ....................................................................................................... 70 Instance Usage ........................................................................................................................... 75 Launching and Using Instances .................................................................................................. 76 Finding a Suitable AMI ....................................................................................................... 76 Getting an SSH Key Pair .................................................................................................... 78 Adding Rules to the Default Security Group ...................................................................... 84 Running an Instance .......................................................................................................... 86 Stopping and Starting Instances ........................................................................................ 90 Ensuring Idempotency ....................................................................................................... 92 Enabling Termination Protection for an Instance ................................................................ 94 Using Instance Metadata ................................................................................................... 97 Using Shared AMIs .......................................................................................................... 103 Paying for AMIs ................................................................................................................ 105 What to Do If an Instance Immediately Terminates ......................................................... 108 Getting Console Output and Rebooting Instances ........................................................... 110 Connecting to Instances ............................................................................................................ 112 Connecting to Linux/UNIX Instances from Linux/UNIX .................................................... 114 Connecting to Linux/UNIX Instances from Windows Using PuTTY ................................. 118 Connecting to Windows Instances ................................................................................... 123 Using Storage ..................................................................................................................................... 126 Amazon Elastic Block Store ...................................................................................................... 127 API and Command Overview ........................................................................................... 132 Creating an Amazon EBS Volume ................................................................................... 133 Attaching the Volume to an Instance ................................................................................ 135 Describing Volumes and Instances .................................................................................. 137 Making an Amazon EBS Volume Available for Use .......................................................... 139 Creating an Amazon EBS Snapshot ................................................................................ 141 Describing Snapshots ...................................................................................................... 142 Modifying Snapshot Permissions ..................................................................................... 144 Detaching an Amazon EBS Volume from an Instance ..................................................... 146 Deleting an Amazon EBS Snapshot ................................................................................ 149 Deleting an Amazon EBS Volume .................................................................................... 150 Amazon Simple Storage Service ............................................................................................... 151 Amazon EC2 Instance Storage ................................................................................................. 152 Amazon EC2 Storage Options Quick Reference ....................................................................... 161 Root Device Storage ................................................................................................................. 161 Amazon Elastic Compute Cloud User Guide Block Device Mapping ............................................................................................................... 168 Using Amazon EBS-Backed AMIs and Instances ............................................................................... 178 Basics of Amazon EBS-Backed AMIs and Instances ................................................................ 178 Launching, Stopping, and Starting ............................................................................................ 182 Creating an Image from a Running Instance ............................................................................. 186 Automatically Attaching Volumes ............................................................................................... 188 Launching an Instance from a Snapshot ................................................................................... 190 Modifying Attributes of a Stopped Instance ............................................................................... 191 Changing the Instance Initiated Shutdown Behavior ................................................................. 194 Using Instances of Your Virtual Machine in Amazon EC2 ................................................................... 195 Before You Get Started .............................................................................................................. 197 Using the Amazon EC2 VM Import Connector to Import Your Virtual Machine to Amazon EC2 ........................................................................................................................................... 198 Using the Command Line Tools to Import Your Virtual Machine to Amazon EC2 ...................... 212 Reserved Instances ............................................................................................................................ 225 Understanding the Pricing Benefit and Consolidated Billing ..................................................... 227 Reserved Instances and Consolidated Billing .................................................................. 228 Tools and Prerequisites ............................................................................................................. 230 Working with Reserved Instances ............................................................................................
Recommended publications
  • Oracle Database on AWS October 2013
    Amazon Web Services – RDBMS in the Cloud: Oracle Database on AWS October 2013 RDBMS in the Cloud: Oracle Database on AWS Jean-Pierre Le Goaller, Carlos Conde, and Shakil Langha October 2013 (Please consult http://aws.amazon.com/whitepapers/ for the latest version of this paper) Page 1 of 33 Amazon Web Services – RDBMS in the Cloud: Oracle Database on AWS October 2013 Table of Contents Abstract ................................................................................................................................................................................... 3 Oracle Database Solutions on AWS ........................................................................................................................................ 3 Oracle Database on Amazon RDS ....................................................................................................................................... 3 Oracle Database on Amazon EC2 ........................................................................................................................................ 3 Other Database Scenarios ................................................................................................................................................... 3 Choosing between Amazon RDS and Amazon EC2 for an Oracle Database ........................................................................... 4 Oracle Database Feature Comparison between Amazon RDS and Amazon EC2 ............................................................... 5 Oracle Licensing and
    [Show full text]
  • Website Hosting Amazon Web Services
    Website Hosting Amazon Web Services Arpit Ahuja, Principal Consultant [email protected] Why to host your website on AWS Website on Amazon Web Service Low Scalable Flexible Cost Stable About Amazon Web Services • World’s leading Cloud Computing Platform • Collection of Remote Computing Services (Web Services) • Powered by Amazon.com – World’s leading Ecommerce Portal • Currently have Data Centers in 10 Geographic locations • Multiple Availability Zones in each region • Edge locations for content distribution in many other geographies • Have done 42 Price Reductions in the last 8 years (Launched in 2006) • More than a Use Cases • Public Website • A company’s website is one of its most visible, accessible, and valuable ways of communicating with current and potential customers. Putting your website on the AWS cloud is fast, easy, and low-cost. • Online Application • Connected applications underpin the modern Internet. Amazon Web Services provides the services you need to make your application successful online. • Intranet Site • Internal websites help share information within your organization and aid collaboration while keeping the information protected from those outside your organization. • Connected Mobile Application • Many mobile applications rely on servers behind the scenes to deliver the information that makes them useful. Many of the world’s biggest sites uses AWS Capabilities • AWS is a flexible cloud computing solution. You can use whatever platform you like. AWS even provides SDKs for many popular platforms like Java, Ruby, PHP, Node.js, .Net, and more. Use Your Favorite Tools • Your content management system (CMS) may be the core of your website. No matter which system you choose; it can run on AWS Let your website grow and shrink with demand • Website traffic can fluctuate a lot.
    [Show full text]
  • Creating Smart Virtual Appliances with IBM Image Construction and Composition Tool
    Front cover Creating Smart Virtual Appliances with IBM Image Construction and Composition Tool Create smart appliances that are cloud-ready Develop PowerVM, KVM, and ESX customized virtual appliances Learn from experts how to cloudify your applications Jarek Miszczyk Greg Hurlebaus Pat Nickel Rashed Ferdous David Peraza John Jacobson Moises Romo Li-Fang Lee Kerry Staples ibm.com/redbooks International Technical Support Organization Creating Smart Virtual Appliances with IBM Image Construction and Composition Tool July 2013 SG24-8042-01 Note: Before using this information and the product it supports, read the information in “Notices” on page ix. Second Edition (July 2013) This edition applies to Version 2, Release 2, Modification 1.1 of the IBM Image Construction and Composition Tool. © Copyright International Business Machines Corporation 2012, 2013. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Notices . ix Trademarks . .x Preface . xi Authors. xi Now you can become a published author, too! . xiii Comments welcome. xiii Stay connected to IBM Redbooks . xiv Chapter 1. Introduction to virtual appliance construction . 1 1.1 Deploying your applications into the cloud . 2 1.2 Solving the terminology puzzle . 3 1.3 Why implement software virtual appliances . 4 1.4 A need for a virtual appliance construction tool . 5 1.4.1 Application packaging options . 5 1.4.2 Supported deployment options . 5 1.5 Putting the Image Construction and Composition Tool into context . 7 1.5.1 Image Construction and Composition Tool and the IBM PureSystems . 7 1.5.2 Image Construction and Composition Tool and the IBM Workload Deployer.
    [Show full text]
  • Best Practices for Building Virtual Appliances Vmware White Paper
    WHITE PAPER Best Practices for Building Virtual Appliances VMWARE WHITE PAPER Table of Contents Objectives. 3 Design Principles . 3 Completely Encapsulated. 3 Optimized Virtual Disk and Operating System. 4 Initial Configuration. 4 ‘Standard’ Components. 5 Command Line Interface . 5 SSH Support. 5 Web Management Interface . 5 External Management . 5 Virtual Machine Configuration. 6 Updates and Ongoing Maintenance. 6 Packaging and Publishing . 6 2 VMWARE WHITE PAPER Best Practices for Building Virtual Appliances A virtual appliance is a pre-installed, pre-configured operating system and software solution delivered inside a virtual machine. 60-70% of support calls relate to initial installation and Deploying a software solution as a virtual appliance enables you configuration of a software application to build a complete turnkey package that customers are able to download and immediately deploy. Thus, customers skip the time-consuming and often support-intensive task of installing and configuring the appliance. This lets customers focus all their energies on trying or using your solution rather than struggling Design Principles to get it to run. Completely Encapsulated This document describes the best practices for building a virtual A virtual appliance contains all of the components required to appliance. It covers high level design principles as well as low run your solution on top of a virtualization layer. Since virtual level details for building virtual appliances ready for certification appliances are designed to run a specific solution, customers under the VMware Certified Virtual Appliance program. In turn, should not need root access to the operating system inside virtual appliances built according to these standards will allow your appliance.
    [Show full text]
  • Reproducibility, Virtual Appliances, and Cloud Computing
    1 Reproducibility, Virtual Appliances, and Cloud Computing Bill Howe University of Washington CONTENTS 1.1 Introduction ...................................................... 1 1.2 Background on Cloud Computing and Virtualization ........... 2 1.3 Related Approaches and Examples .............................. 3 1.3.1 Other Uses of Virtual Machines ......................... 5 1.3.2 Towards Services Instead of Artifacts ................... 6 1.4 How Cloud Computing can Improve Reproducibility ........... 6 1.4.1 Capturing More Variables ............................... 6 1.4.2 Fewer constraints on research methods ................. 6 1.4.3 On-Demand Backups .................................... 7 1.4.4 Virtual Machines as Citable Publications ............... 7 1.4.5 Code, Data, Environment, plus Resources .............. 7 1.4.6 Automatic Upgrades ..................................... 8 1.4.7 Competitive, Elastic Pricing ............................ 8 1.4.8 Reproducibility for Complex Architectures. ............. 8 1.4.9 Unfettered Collaborative Experiments .................. 8 1.4.10 Data-intensive Computing ............................... 9 1.4.11 Cost Sharing ............................................. 9 1.4.12 A Foundation for Single-Payer Funding ................. 9 1.4.13 Compatibility with Other Approaches .................. 9 1.5 Remaining Challenges ............................................ 10 1.5.1 Cost ...................................................... 10 1.5.2 Culture ..................................................
    [Show full text]
  • Amazon Elastic Compute Cloud User Guide for Linux API Version 2015-04-15 Amazon Elastic Compute Cloud User Guide for Linux
    Amazon Elastic Compute Cloud User Guide for Linux API Version 2015-04-15 Amazon Elastic Compute Cloud User Guide for Linux Amazon Elastic Compute Cloud: User Guide for Linux Copyright © 2015 Amazon Web Services, Inc. and/or its affiliates. All rights reserved. The following are trademarks of Amazon Web Services, Inc.: Amazon, Amazon Web Services Design, AWS, Amazon CloudFront, AWS CloudTrail, AWS CodeDeploy, Amazon Cognito, Amazon DevPay, DynamoDB, ElastiCache, Amazon EC2, Amazon Elastic Compute Cloud, Amazon Glacier, Amazon Kinesis, Kindle, Kindle Fire, AWS Marketplace Design, Mechanical Turk, Amazon Redshift, Amazon Route 53, Amazon S3, Amazon VPC, and Amazon WorkDocs. 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 for Linux Table of Contents What Is Amazon EC2? ................................................................................................................... 1 Features of Amazon EC2 .......................................................................................................
    [Show full text]
  • Virtual Scanner Appliance User Guide
    Virtual Scanner Appliance User Guide April 22, 2021 Verity Confidential Copyright 2012-2021 by Qualys, Inc. All Rights Reserved. Qualys and the Qualys logo are registered trademarks of Qualys, Inc. All other trademarks are the property of their respective owners. Qualys, Inc. 919 E Hillsdale Blvd 4th Floor Foster City, CA 94404 1 (650) 801 6100 Table of Contents About this guide............................................................................................... 3 About Qualys ........................................................................................................................... 3 Qualys Support ........................................................................................................................ 3 Get Started ........................................................................................................ 4 It’s easy to add a virtual scanner........................................................................................... 4 Add Your Virtual Scanner ...................................................................................................... 5 We recommend one more thing.......................................................................................... 10 Configuration settings ................................................................................... 11 Troubleshooting............................................................................................. 16 Why do I see an Activation Code? ......................................................................................
    [Show full text]
  • The Future of Virtualization Technology
    The Future of Virtualization Technology Stephen Alan Herrod VP of Technology VMware Agenda •Virtualization Today •Technology Trends and the Future Datacenter •Future directions • CPU Virtualization • I/O Virtualization • Virtual appliances •Conclusions 2 X86 Server Virtualization Basics Application Operating System Before Server Virtualization: Single OS image per machine Software and hardware tightly coupled Running multiple applications on same machine often creates conflict Underutilized resources 3 X86 Server Virtualization Basics VM1 VM2 App App Application Operating System Operating System Virtualization Layer Operating System Before Server Virtualization: After Server Virtualization: Single OS image per machine Virtual machines (VMs) break 1-to-1 dependency between OS and HW Software and hardware tightly coupled Manage OS and application as single Running multiple applications on unit by encapsulating them into VMs same machine often creates conflict Strong isolation between VMs Underutilized resources Hardware-independent: they can be provisioned anywhere 4 X86 Server Virtualization Architectures •Hosted Architectures • Install as applications on Windows/Linux with small context switching driver • Leverage host IO stack and resource management • Examples include VMware Workstation, VMware Server, Microsoft Virtual PC, Microsoft Virtual Server, … •Bare-metal Architectures • “Hypervisor” installs directly on hardware • Approach acknowledged as direction for datacenter • VMware ESX Server, Xen, Microsoft Viridian 5 Bare-metal
    [Show full text]
  • Cloud Computing Infrastructure on IBM Power Systems Getting Started with ISDM
    Front cover Cloud Computing Infrastructure on IBM Power Systems Getting started with ISDM Detailed cloud resource configuration instructions Detailed installation steps of ISDM Point and click deployment of AIX Thierry Huché Behzad Koohi Thanh V. Lam Paul Reynolds Sean M. Swehla Jez Wain ibm.com/redbooks International Technical Support Organization Cloud Computing Infrastructure on IBM Power Systems: Getting Started with ISDM May 2012 SG24-7983-00 Note: Before using this information and the product it supports, read the information in “Notices” on page xv. First Edition (May 2012) This edition applies to Version 7.2.2, of IBM Service Delivery Manager (CRFK7ML). © Copyright International Business Machines Corporation 2012. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Figures . vii Tables . xiii Notices . xv Trademarks . xvi Preface . xvii The team who wrote this book . xviii Now you can become a published author, too! . xix Comments welcome. xix Stay connected to IBM Redbooks . xx Chapter 1. Introduction . 1 1.1 Target audience . 2 1.2 IBM Service Delivery Manager and cloud computing . 2 1.3 IBM Service Delivery Manager components . 4 1.4 TivSAM virtual appliance. 5 1.5 IBM Tivoli Monitoring (ITM) appliance. 8 1.6 IBM Tivoli Usage and Accounting Manager (TUAM) appliance . 9 1.7 NFS appliance. 10 1.8 Connecting the appliances . 13 Chapter 2. IBM Service Delivery Manager prerequisites . 15 2.1 Hardware prerequisites . 16 2.1.1 Computer nodes . 16 2.1.2 Management node . 16 2.1.3 Our configuration.
    [Show full text]
  • Virtual Appliance Installation Guide
    Oracle® SD-WAN Edge Virtual Appliance Installation Guide Release 9.0 F29171-04 June 2021 Oracle SD-WAN Edge Virtual Appliance Installation Guide, Release 9.0 F29171-04 Copyright © 2019, 2021, Oracle and/or its affiliates. This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, then the following notice is applicable: U.S. GOVERNMENT END USERS: Oracle programs (including any operating system, integrated software, any programs embedded, installed or activated on delivered hardware, and modifications of such programs) and Oracle computer documentation or other Oracle data delivered to or accessed by U.S. Government end users are "commercial computer software" or "commercial computer software documentation" pursuant to the applicable Federal Acquisition
    [Show full text]
  • Sophos Virtual Email Appliance Setup Guide Contents Installing a Virtual Appliance
    Sophos Virtual Email Appliance setup guide Contents Installing a virtual appliance.....................................................................................................................1 Prerequisites.............................................................................................................................................3 Enabling Port Access...............................................................................................................................4 Downloading Virtual Appliance Files....................................................................................................... 7 Determining Disk Space and Memory Requirements..............................................................................8 Adding a virtual appliance....................................................................................................................... 9 Starting a Virtual Appliance................................................................................................................... 12 Configuring Network Settings............................................................................................................... 13 Cloning Considerations.......................................................................................................................... 14 Re-Registering a Virtual Appliance.......................................................................................................15 Troubleshooting VMware Performance..................................................................................................17
    [Show full text]
  • Vmware Integrated Openstack
    DATASHEET VMware Integrated OpenStack AT A GLANCE VMware Integrated OpenStack VMware Integrated OpenStack is a VMware- Horizon OpenStack Heat supported OpenStack distribution (distro) that (Web Portal) APIs/SDKs (App Templates) makes it easier for IT to run a production-grade VMware Optimized OpenStack Services OpenStack Install OpenStack-based deployment on top of their + Nova Cinder Glance Neutron Management existing VMware infrastructure. Building on their (Compute) (Block Storage) (Image Catalog) (Networking) vCenter Driver VMDK Driver VMDK Driver NSX Driver existing expertise, VMware administrators can foster innovation and agility by providing their developers with simple vendor-neutral OpenStack APIs on top vCenter Server NSX vCenter Server of VMware’s best-of-breed Software-Defined Data vRealize Operations vRealize Business VSAN Virtual Center (SDDC) infrastructure. Key administration ESXi vSphere Datastores Distributed Switch vRealize Log Insight capabilities, including install, upgrade, troubleshooting, VMware Software-Defined Data Center Infrastructure and cost-visibility are provided via deep integration with already familiar VMware management tools, enabling fast time to innovation and lower total cost of ownership. Advantages of Running OpenStack on VMware BENEFITS vSphere for Compute (NOVA) • The industry’s most robust and production proven hypervisor. • Enterprise Grade OpenStack Cloud • Rich, differentiated features, including vSphere vMotion®, • No OpenStack PhD Required! High Availability (HA), Fault Tolerance, Distributed
    [Show full text]