Amazon Elastic Compute Cloud User Guide For Windows Instances
User Manual:
Open the PDF directly: View PDF
Page Count: 860 [warning: Documents this large are best viewed by clicking the View PDF Link!]
- Amazon Elastic Compute Cloud
- Table of Contents
- What Is Amazon EC2?
- Features of Amazon EC2
- How to Get Started with Amazon EC2
- Related Services
- Accessing Amazon EC2
- Pricing for Amazon EC2
- PCI DSS Compliance
- Amazon EC2 Basic Infrastructure for Windows
- Setting Up with Amazon EC2
- Getting Started with Amazon EC2 Windows Instances
- Best Practices for Amazon EC2
- Tutorials for Amazon EC2 Instances Running Windows Server
- Tutorial: Deploying a WordPress Blog on Your Amazon EC2 Instance Running Windows Server
- Tutorial: Installing a WAMP Server on an Amazon EC2 Instance Running Windows Server
- Tutorial: Installing a WIMP Server on an Amazon EC2 Instance Running Windows Server
- Tutorial: Increase the Availability of Your Application on Amazon EC2
- Tutorial: Remotely Manage Your Amazon EC2 Instances
- Tutorial: Setting Up a Windows HPC Cluster on Amazon EC2
- Prerequisites
- Step 1: Set Up Your Active Directory Domain Controller
- Step 2: Configure Your Head Node
- Step 3: Set Up the Compute Node
- Step 4: Scale Your HPC Compute Nodes (Optional)
- Running the Lizard Performance Measurement Application
- IP Permissions for the Active Directory Security Groups
- IP Permissions for HPC Cluster Security Group
- Amazon Machine Images (AMI)
- Using an AMI
- Creating Your Own AMI
- Buying, Sharing, and Selling AMIs
- Deregistering Your AMI
- AWS Windows AMIs
- AMI Types
- Finding a Windows AMI
- Shared AMIs
- Paid AMIs
- Creating an Amazon EBS-Backed Windows AMI
- Creating an Instance Store-Backed Windows AMI
- AMIs with Encrypted Snapshots
- Copying an AMI
- Deregistering Your AMI
- AWS Windows AMI Version History
- Create a Standard Amazon Machine Image Using Sysprep
- Amazon EC2 Instances
- Instance Types
- Instance Purchasing Options
- Determining the Instance Lifecycle
- Reserved Instances
- How Reserved Instances Work
- Billing Benefits and Payment Options
- Buying Reserved Instances
- Selling in the Reserved Instance Marketplace
- Modifying Your Reserved Instances
- Troubleshooting Modification Requests
- Scheduled Reserved Instances
- Spot Instances
- Concepts
- How to Get Started
- Related Services
- Pricing
- How Spot Instances Work
- How Spot Fleet Works
- Spot Instance Pricing History
- Spot Instance Requests
- Spot Fleet Requests
- Spot Fleet Request States
- Spot Fleet Prerequisites
- Spot Fleet and IAM Users
- Planning a Spot Fleet Request
- Creating a Spot Fleet Request
- Monitoring Your Spot Fleet
- Modifying a Spot Fleet Request
- Cancelling a Spot Fleet Request
- Spot Fleet Example Configurations
- Example 1: Launch Spot Instances Using the Lowest-priced Availability Zone or Subnet in the Region
- Example 2: Launch Spot Instances Using the Lowest-priced Availability Zone or Subnet in a Specified List
- Example 3: Launch Spot Instances Using the Lowest-priced Instance Type in a Specified List
- Example 4. Override the Spot Price for the Request
- Example 5: Launch a Spot Fleet Using the Diversified Allocation Strategy
- Example 6: Launch a Spot Fleet Using Instance Weighting
- CloudWatch Metrics for Spot Fleet
- Automatic Scaling for Spot Fleet
- Spot Bid Status
- Spot Instance Interruptions
- Spot Instance Data Feed
- Spot Instance Limits
- Dedicated Hosts
- Differences between Dedicated Hosts and Dedicated Instances
- Pricing and Billing
- Dedicated Hosts Limitations and Restrictions
- Dedicated Host Configurations
- Using Dedicated Hosts
- Monitoring Dedicated Hosts
- Instance Lifecycle
- Instance Launch
- Instance Stop and Start (Amazon EBS-backed instances only)
- Instance Reboot
- Instance Retirement
- Instance Termination
- Differences Between Reboot, Stop, and Terminate
- Launch Your Instance
- Connecting to Your Windows Instance Using RDP
- Stop and Start Your Instance
- Reboot Your Instance
- Instance Retirement
- Terminate Your Instance
- Recover Your Instance
- Configuring Your Windows Instance
- Instance Metadata and User Data
- Configuring a Windows Instance Using the EC2Config Service
- Overview of EC2Config Tasks
- Ec2 Service Properties
- EC2Config Settings Files
- Configure Proxy Settings for the EC2Config Service
- Managing the EC2Config Service
- Sending Performance Counters to CloudWatch and Logs to CloudWatch Logs Using EC2Config
- Step 1: Configure IAM Permissions
- Step 2: Enable CloudWatch Logs Integration
- Step 3: Configure the Credentials for CloudWatch and CloudWatch Logs
- Step 4: Configure the Performance Counters and Logs to Send to CloudWatch and CloudWatch Logs
- Step 5: Configure the Flow Control
- Step 6: Restart EC2Config
- Troubleshooting CloudWatch Logs in EC2Config
- Troubleshooting Problems with the EC2Config Service
- Paravirtual Drivers
- Drivers According to Windows Version
- AWS PV Drivers
- Citrix PV Drivers
- RedHat PV Drivers
- Subscribing to Amazon EC2 Windows Driver Notifications
- Related Topics
- Upgrading PV Drivers on Your Windows AMI
- Troubleshooting PV Drivers
- Setting Passwords for Windows Instances
- Setting the Time for a Windows Instance
- Managing Windows Instance Configuration
- Joining a Windows Instance to an AWS Directory Service Domain
- Limitations
- Prerequisites
- Joining a Domain Using the AWS CLI or AWS Tools for Windows PowerShell
- Joining a Domain Using the Amazon EC2 Launch Wizard
- Getting the Domain Join Status
- Connecting To Your Instance Using Domain Credentials
- Troubleshooting
- Viewing Information About Your Associations
- Changing an Association
- Deleting an SSM document
- Sending Performance Counters to CloudWatch and Logs to CloudWatch Logs Using Amazon EC2 Simple Systems Manager
- Step 1: Prepare Your Environment
- Step 2: Create a JSON File
- Step 3: Configure the Region and Namespace for CloudWatch and CloudWatch Logs
- Step 4: Configure the Performance Counters and Logs to Send to CloudWatch and CloudWatch Logs
- Step 5: Configure the Flow Control
- Step 6: Create a Configuration Document
- Step 7: Associate the Configuration Document with the Instance
- Configuring a Secondary Private IP Address for Your Windows Instance in a VPC
- Upgrading a Windows Server EC2 Instance to a Newer Version of Windows Server
- Remotely Manage Your Instances
- Amazon EC2 Run Command Components and Concepts
- Amazon EC2 Run Command Prerequisites
- Configuring the EC2Config Service for Run Command
- Delegating Access to Amazon EC2 Run Command
- Setting Up Run Command On Managed Instances
- Executing a Command Using Amazon EC2 Run Command
- Running PowerShell Commands or Scripts with Amazon EC2 Run Command
- Installing Applications Using Amazon EC2 Run Command
- Installing PowerShell Modules with Amazon EC2 Run Command
- Joining EC2 Instances to a Domain Using Amazon EC2 Run Command
- Uploading Logs from EC2 Instances to Amazon CloudWatch Using Amazon EC2 Run Command
- Enabling or Disabling Windows Updates Using Amazon EC2 Run Command
- Updating the EC2Config Service Using Amazon EC2 Run Command
- Inventory an Amazon EC2 Instance for Windows Using Amazon EC2 Run Command
- Managing Updates for an EC2 Windows Instance Using Amazon EC2 Run Command
- Viewing Command Output in the Amazon EC2 Console
- Creating SSM Documents
- Sharing SSM Documents
- Amazon EC2 Run Command Walkthroughs
- Amazon EC2 Run Command Walkthrough Using the Console
- Amazon EC2 Run Command Walkthrough Using the AWS Tools for Windows PowerShell
- Configure AWS Tools for Windows PowerShell Session Settings
- List all Available Documents
- Run PowerShell Commands or Scripts
- Install an Application Using the AWS-InstallApplication Document
- Install a PowerShell Module Using the AWS-InstallPowerShellModule JSON Document
- Join an Instance to a Domain Using the AWS-JoinDirectoryServiceDomain JSON Document
- Send Windows Metrics to Amazon CloudWatch using the AWS-ConfigureCloudWatch document
- Enable/Disable Windows Automatic Update Using the AWS-ConfigureWindowsUpdate document
- Update EC2Config Using the AWS-UpdateEC2Config Document
- Manage Windows Updates Using Run Command
- Cancelling a Command
- Monitoring Commands
- Troubleshooting Amazon EC2 Run Command
- Importing and Exporting Virtual Machines
- Monitoring Amazon EC2
- Automated and Manual Monitoring
- Best Practices for Monitoring
- Monitoring the Status of Your Instances
- Monitoring Your Instances Using CloudWatch
- Enable or Disable Detailed Monitoring for Your Instances
- List the Available CloudWatch Metrics for Your Instances
- Get Statistics for Metrics for Your Instances
- Graph Metrics for Your Instances
- Create a CloudWatch Alarm
- Create Alarms That Stop, Terminate, Reboot, or Recover an Instance
- Adding Stop Actions to Amazon CloudWatch Alarms
- Adding Terminate Actions to Amazon CloudWatch Alarms
- Adding Reboot Actions to Amazon CloudWatch Alarms
- Adding Recover Actions to Amazon CloudWatch Alarms
- Using the Amazon CloudWatch Console to View the History of Triggered Alarms and Actions
- Using the CLI or the API to Create an Alarm to Stop, Terminate, Reboot, or Recover an Instance
- Amazon CloudWatch Alarm Action Scenarios
- Scenario 1: Stop Idle Development and Test Instances
- Scenario 2: Stop Idle Instances
- Scenario 3: Send Email About Web Servers with Unusually High Traffic
- Scenario 4: Stop Web Servers with Unusually High Traffic
- Scenario 5: Stop an Instance Experiencing a Memory Leak
- Scenario 6: Stop an Impaired Instance
- Scenario 7: Terminate Instances When Batch Processing Jobs Are Complete
- Scenarios Using the CloudWatch Console
- Network and Security
- Amazon EC2 Key Pairs and Windows Instances
- Amazon EC2 Security Groups for Windows Instances
- Controlling Access to Amazon EC2 Resources
- Network Access to Your Instance
- Amazon EC2 Permission Attributes
- IAM and Amazon EC2
- IAM Policies for Amazon EC2
- IAM Roles for Amazon EC2
- Retrieving Security Credentials from Instance Metadata
- Granting an IAM User Permission to Launch an Instance with an IAM Role
- Creating an IAM Role Using the Console
- Launching an Instance with an IAM Role Using the Console
- Creating an IAM Role Using the AWS CLI
- Launching an Instance with an IAM Role Using the AWS CLI
- Authorizing Inbound Traffic for Your Windows Instances
- Amazon EC2 and Amazon Virtual Private Cloud
- Benefits of Using a VPC
- Differences Between EC2-Classic and EC2-VPC
- Sharing and Accessing Resources Between EC2-Classic and EC2-VPC
- Instance Types Available Only in a VPC
- Amazon VPC Documentation
- Supported Platforms
- ClassicLink
- ClassicLink Basics
- ClassicLink Limitations
- Working with ClassicLink
- Enabling a VPC for ClassicLink
- Linking an Instance to a VPC
- Creating a VPC with ClassicLink Enabled
- Linking an EC2-Classic Instance to a VPC at Launch
- Viewing Your ClassicLink-Enabled VPCs and Linked EC2-Classic Instances
- Enabling ClassicLink DNS Support
- Disabling ClassicLink DNS Support
- Unlinking a EC2-Classic Instance from a VPC
- Disabling ClassicLink for a VPC
- API and CLI Overview
- Example: ClassicLink Security Group Configuration for a Three-Tier Web Application
- Migrating from a Windows Instance in EC2-Classic to a Windows Instance in a VPC
- Full Migration to a VPC
- Incremental Migration to a VPC Using ClassicLink
- Amazon EC2 Instance IP Addressing
- Private IP Addresses and Internal DNS Hostnames
- Public IP Addresses and External DNS Hostnames
- Elastic IP Addresses
- Amazon DNS Server
- IP Address Differences Between EC2-Classic and EC2-VPC
- Determining Your Public, Private, and Elastic IP Addresses
- Assigning a Public IP Address
- Multiple Private IP Addresses
- How Multiple IP Addresses Work
- Assigning a Secondary Private IP Address
- Configuring the Operating System on Your Instance to Recognize the Secondary Private IP Address
- Associating an Elastic IP Address with the Secondary Private IP Address
- Viewing Your Secondary Private IP Addresses
- Unassigning a Secondary Private IP Address
- Elastic IP Addresses
- Elastic Network Interfaces (ENI)
- Private IP Addresses Per Network Interface Per Instance Type
- Public IP Addresses for Network Interfaces
- Creating a Management Network
- Use Network and Security Appliances in Your VPC
- Creating Dual-homed Instances with Workloads/Roles on Distinct Subnets
- Create a Low Budget High Availability Solution
- Monitoring IP Traffic on Your Network Interface
- Best Practices for Configuring Elastic Network Interfaces
- Creating an Elastic Network Interface
- Deleting an Elastic Network Interface
- Viewing Details about an Elastic Network Interface
- Attaching an Elastic Network Interface When Launching an Instance
- Attaching an Elastic Network Interface to a Stopped or Running Instance
- Detaching an Elastic Network Interface from an Instance
- Changing the Security Group of an Elastic Network Interface
- Changing the Source/Destination Checking of an Elastic Network Interface
- Associating an Elastic IP Address with an Elastic Network Interface
- Disassociating an Elastic IP Address from an Elastic Network Interface
- Changing Termination Behavior for an Elastic Network Interface
- Adding or Editing a Description for an Elastic Network Interface
- Adding or Editing Tags for an Elastic Network Interface
- Placement Groups
- Network Maximum Transmission Unit (MTU) for Your EC2 Instance
- Enhanced Networking on Windows
- Storage
- Amazon Elastic Block Store (Amazon EBS)
- Features of Amazon EBS
- Amazon EBS Volumes
- Benefits of Using EBS Volumes
- Amazon EBS Volume Types
- Creating an Amazon EBS Volume
- Restoring an Amazon EBS Volume from a Snapshot
- Attaching an Amazon EBS Volume to an Instance
- Making an Amazon EBS Volume Available for Use
- Viewing Volume Information
- Monitoring the Status of Your Volumes
- Detaching an Amazon EBS Volume from an Instance
- Deleting an Amazon EBS Volume
- Expanding the Storage Space of an EBS Volume on Windows
- Amazon EBS Snapshots
- Amazon EBS–Optimized Instances
- Amazon EBS Encryption
- Amazon EBS Volume Performance on Windows Instances
- Amazon EBS Performance Tips
- Use EBS-Optimized Instances
- Understand How Performance is Calculated
- Understand Your Workload
- Be Aware of the Performance Penalty When Initializing Volumes from Snapshots
- Factors That Can Degrade HDD Performance
- Increase Read-Ahead for High-Throughput, Read-Heavy Workloads on st1 and sc1
- Use RAID 0 to Maximize Utilization of Instance Resources
- Track Performance with Amazon CloudWatch
- Amazon EC2 Instance Configuration
- I/O Characteristics
- Initializing Amazon EBS Volumes
- RAID Configuration on Windows
- Amazon EBS Performance Tips
- Amazon EC2 Instance Store
- Amazon Simple Storage Service (Amazon S3)
- Instance Volume Limits
- Device Naming on Windows Instances
- Block Device Mapping
- Mapping Disks to Volumes on Your Windows EC2 Instance
- Using Public Data Sets
- Amazon Elastic Block Store (Amazon EBS)
- Resources and Tags
- Resource Locations
- Resource IDs
- Listing and Filtering Your Resources
- Tagging Your Amazon EC2 Resources
- Amazon EC2 Service Limits
- Amazon EC2 Usage Reports
- AWS Systems Manager for Microsoft System Center VMM
- AWS Management Pack for Microsoft System Center
- Overview of AWS Management Pack for System Center 2012
- Overview of AWS Management Pack for System Center 2007 R2
- Downloading the AWS Management Pack
- Deploying the AWS Management Pack
- Using the AWS Management Pack
- Upgrading the AWS Management Pack
- Uninstalling the AWS Management Pack
- Troubleshooting the AWS Management Pack
- AWS Diagnostics for Windows Server - Beta
- Troubleshooting Windows Instances
- Troubleshoot an Unreachable Instance
- Common Issues
- Boot an EC2 Windows Instance into Directory Services Restore Mode (DSRM)
- High CPU usage shortly after Windows starts
- No console output
- Instance terminates immediately
- Remote Desktop can't connect to the remote computer
- RDP displays a black screen instead of the desktop
- Instance loses network connectivity or scheduled tasks don't run when expected
- Insufficient Instance Capacity
- Instance Limit Exceeded
- Windows Server 2012 R2 not available on the network
- Common Messages
- Document History
- AWS Glossary