Manage EC2 instances using Amazon Systems Manager for Microsoft SCVMM
After you log in to the Systems Manager console using your Amazon credentials, you can manage your EC2 instances.
Tasks
Create 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
-
Open SCVMM.
-
On the ribbon, click Create Amazon EC2 Instance.
-
Complete the Create Amazon EC2 Instance dialog box as follows:
-
Select a Region for your instance. By default, we select the Region that you configured as your default Region.
-
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.
-
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 . -
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
). -
(Optional) Under Advanced settings, specify a display name for the instance.
-
(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.
-
(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.
-
(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. -
(Optional) Under Advanced settings, select an IAM role. If this list is empty, you can create a role using the IAM console.
-
-
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 Systems Manager, as described on this page. To perform other tasks, such as the following, you must use the Amazon Web Services Management Console:
View 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
-
Open the Amazon Systems Manager console
. -
From the list of Regions, select a Region.
-
From the list of instances, select one or more instances.
-
In the lower pane, click the down arrow next to each instance to view detailed information about the instance.
Connect 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
-
Open Amazon Systems Manager.
-
From the list of instances, select the instance, right-click, and then click Retrieve Windows Password.
-
In the Retrieve Default Windows Administrator Password dialog box, click Browse. Select the private key file for the key pair and then click Open.
-
Click Decrypt Password. Save the password or copy it to the clipboard.
-
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.
-
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 Troubleshoot Windows instances in the Amazon EC2 User Guide for Windows Instances.
To connect to a Linux EC2 instance
-
Open Amazon Systems Manager.
-
From the list of instances, select the instance.
-
In the lower pane, click the down arrow next to the instance ID to view detailed information about the instance.
-
Locate the public DNS name. You'll need this information to connect to your instance.
-
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.
Reboot your instance
The permissions that you've been granted by your administrator determine whether you can reboot instances.
To reboot your instance
-
Open Amazon Systems Manager.
-
From the list of instances, select the instance.
-
Right-click the instance, and then click Reset (Reboot).
-
When prompted for confirmation, click Yes.
Stop your instance
The permissions that you've been granted by your administrator determine whether you can stop instances.
To stop your instance
-
Open Amazon Systems Manager.
-
From the list of instances, select the instance.
-
Right-click the instance, and then click Shut Down (Stop).
-
When prompted for confirmation, click Yes.
Start your instance
The permissions that you've been granted by your administrator determine whether you can start instances.
To start your instance
-
Open Amazon Systems Manager.
-
From the list of instances, select the instance.
-
Right-click the instance, and then click Power On (Start).
-
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 Amazon account is 20.
If you need additional running instances, complete the form at Request to Increase Amazon EC2 Instance Limit
Terminate your instance
The permissions that you've been granted by your administrator determine whether you can terminate instances.
To terminate your instance
-
Open Amazon Systems Manager.
-
From the list of instances, select the instance.
-
Right-click the instance, and then click Delete (Terminate).
-
When prompted for confirmation, click Yes.