User guide

throw;
15 }
}
You can also create the security group using the AWS Toolkit for Visual Studio. Go to the toolkit
documentation for more information.
Step 3: Submitting Your Spot Request
To submit a Spot Request, you first need to determine the instance type, the Amazon Machine Image
(AMI), and the maximum bid price you want to use.You must also include the security group we configured
previously, so that you can log into the instance if you want to.
There are several instance types to choose from; go to Amazon EC2 Instance Types for a complete list.
For this tutorial, we will use t1.micro, the least expensive instance type available. Next, we will determine
the type of AMI we would like to use.We'll use ami-fbf93092, the most up-to-date Windows AMI available
when we wrote this tutorial. The latest AMI may change over time, but you can always determine the
latest version AMI by doing the following:
1. Log into the AWS Management Console, open the Amazon EC2 console, and from the Amazon
EC2 Console Dashboard, attempt to launch an instance.
2. In the window that displays AMIs, just use the AMI ID as shown in the following image. Alternatively,
you can use the DescribeImages API, but leveraging that command is outside the scope of this
tutorial.
Version v2.0.0
55
AWS SDK for .NET Developer Guide
Step 3: Submitting Your Spot Request