Menu
Amazon Elastic Compute Cloud
User Guide for Windows Instances

Managing EC2 Instances Using AWS Systems Manager for Microsoft SCVMM

After you log in to the AWS Systems Manager using your AWS credentials, you can manage your EC2 instances.

Creating an EC2 Instance

The permissions that you've been granted by your administrator determine whether you can create instances.

Prerequisites

  • A virtual private cloud (VPC) with a subnet in the Availability Zone where you'll launch the instance. For more information about creating a VPC, see the Amazon VPC Getting Started Guide.

To create an EC2 instance

  1. Open SCVMM.

  2. On the ribbon, click Create Amazon EC2 Instance.

  3. Complete the Create Amazon EC2 Instance dialog box as follows:

    1. Select a region for your instance. By default, we select the region that you configured as your default region.

    2. Select a template (known as an AMI) for your instance. To use an AMI provided by Amazon, select Windows or Linux and then select an AMI from Image. To use an AMI that you created, select My images and then select the AMI from Image.

    3. Select an instance type for the instance. First, select one of the latest instance families from Family, and then select an instance type from Instance type. To include previous generation instance families in the list, select Show previous generations. For more information, see Amazon EC2 Instances and Previous Generation Instances.

    4. Create or select a key pair. To create a key pair, select Create a new key pair from Key pair name and enter a name for the key pair in the highlighted field (for example, my-key-pair).

    5. (Optional) Under Advanced settings, specify a display name for the instance.

    6. (Optional) Under Advanced settings, select a VPC from Network (VPC). Note that this list includes all VPCs for the region, including VPCs created using the Amazon VPC console and the default VPC (if it exists). If you have a default VPC in this region, we select it by default. If the text is "There is no VPC available for launch or import operations in this region", then you must create a VPC in this region using the Amazon VPC console.

    7. (Optional) Under Advanced settings, select a subnet from Subnet. Note that this list includes all subnets for the selected VPC, including any default subnets. If this list is empty, you must add a subnet to the VPC using the Amazon VPC console, or select a different VPC. Otherwise, we select a subnet for you.

    8. (Optional) Under Advanced settings, create a security group or select one or more security groups. If you select Create default security group, we create a security group that grants RDP and SSH access to everyone, which you can modify using the Amazon EC2 or Amazon VPC console. You can enter a name for this security group in the Group name box.

    9. (Optional) Under Advanced settings, select an IAM role. If this list is empty, you can create a role using the IAM console.

    
                            The Create Amazon EC2 Instance dialog box
  4. Click Create. If you are creating a key pair, you are prompted to save the .pem file. Save this file in a secure place; you'll need it to log in to your instance. You'll receive confirmation that the instance has launched. Click Close.

After you've created your instance, it appears in the list of instances for the region in which you launched it. Initially, the status of the instance is pending. After the status changes to running, your instance is ready for use.

You can manage the lifecycle of your instance using AWS Systems Manager, as described on this page. To perform other tasks, such as the following, you must use the AWS Management Console:

Viewing Your Instances

The permissions that your administrator grants you determine whether you can view instances and get detailed information about them.

To view your instances and get detailed information

  1. Open AWS Systems Manager.

  2. From the region list, select a region.

  3. From the list of instances, select one or more instances.

  4. In the lower pane, click the down arrow next to each instance to view detailed information about the instance.

    
                            View instance details

Connecting to Your Instance

You can log in to an EC2 instance if you have the private key (.pem file) for the key pair that was specified when launching the instance. The tool that you'll use to connect to your instance depends on whether the instance is a Windows instance or a Linux instance.

To connect to a Windows EC2 instance

  1. Open AWS Systems Manager.

  2. From the list of instances, select the instance, right-click, and then click Retrieve Windows Password.

  3. In the Retrieve Default Windows Administrator Password dialog box, click Browse. Select the private key file for the key pair and then click Open.

  4. Click Decrypt Password. Save the password or copy it to the clipboard.

  5. Select the instance, right-click, and then click Connect via RDP. When prompted for credentials, use the name of the administrator account and the password that you saved in the previous step.

  6. Because the certificate is self-signed, you might get a warning that the security certificate is not from a trusted certifying authority. Click Yes to continue.

    If the connection fails, see Troubleshooting Windows Instances in the Amazon EC2 User Guide for Windows Instances.

To connect to a Linux EC2 instance

  1. Open AWS Systems Manager.

  2. From the list of instances, select the instance.

  3. In the lower pane, click the down arrow next to the instance ID to view detailed information about the instance.

  4. Locate the public DNS name. You'll need this information to connect to your instance.

  5. Connect to the instance using PuTTY. For step-by-step instructions, see Connect to Your Linux Instance from Windows Using PuTTY in the Amazon EC2 User Guide for Linux Instances.

Rebooting Your Instance

The permissions that you've been granted by your administrator determine whether you can reboot instances.

To reboot your instance

  1. Open AWS Systems Manager.

  2. From the list of instances, select the instance.

  3. Right-click the instance, and then click Reset (Reboot).

  4. When prompted for confirmation, click Yes.

Stopping Your Instance

The permissions that you've been granted by your administrator determine whether you can stop instances.

To stop your instance

  1. Open AWS Systems Manager.

  2. From the list of instances, select the instance.

  3. Right-click the instance, and then click Shut Down (Stop).

  4. When prompted for confirmation, click Yes.

Starting Your Instance

The permissions that you've been granted by your administrator determine whether you can start instances.

To start your instance

  1. Open AWS Systems Manager.

  2. From the list of instances, select the instance.

  3. Right-click the instance, and then click Power On (Start).

  4. When prompted for confirmation, click Yes.

If you get a quota error when you try to start an instance, you have reached your concurrent running instance limit. The default limit for your AWS account is 20. If you need additional running instances, complete the form at Request to Increase Amazon EC2 Instance Limit.

Terminating Your Instance

The permissions that you've been granted by your administrator determine whether you can terminate instances.

To terminate your instance

  1. Open AWS Systems Manager.

  2. From the list of instances, select the instance.

  3. Right-click the instance, and then click Delete (Terminate).

  4. When prompted for confirmation, click Yes.