To launch an instance:
Click on the Launch Instance button on the main console page: Select an image from the list (for this example, we’ll select a CentOS image), then click the Next button: Select an instance type and availability zone from the Details tab. For this example, select the defaults, and then click the Next button: On the Security tab, we’ll create a key pair and a security group to use with our new instance. A key pair will allow you to access your instance, and a security group allows you to define what kinds of incoming traffic your instance will allow. First, we will create a key pair. Click the Create key pair link to bring up the Create key pair dialog: Type the name of your new key pair into the Name text box, and then click the Create and Download button: The key pair automatically downloads to a location on your computer, typically in the Downloads folder. The Create key pair dialog will close, and the Key name text box will be populated with the name of the key pair you just created: Next, we will create a security group. Click the Create security group link to bring up the Create security group dialog: On the Create security group dialog, type the name of your security group into the Name text box. Type a brief description of your security group into the Description text box. We’ll need to SSH into our instance later, so in the Rules section of the dialog, select the SSH protocol from the Protocol drop-down list box.
In this example, we allow any IP address to access our new instance. For production use, please use appropriate caution when specifying an IP range. For more information on CIDR notation, go to .
ssh -i my-test-keypair.private root@10.111.57.109