To set up VM Lifecycle Management for Amazon clients, you must create a VM Lifecycle Policy, which functions as a template for end users to create their own virtual machines on Web Console.
Before You Begin
-
If you do not have a Web Server and Web Console installed, Installing the Web Console.
-
Enable the regions you will use for virtual machines in your Amazon account.
-
Decide which Amazon instance types that you want to make available to virtual machine users.
Amazon instance types define the available CPU cores and memory available for each virtual machine. Pricing for virtual machines is determined by the instance type. For information about Amazon instance types and pricing, see the Amazon Elastic Compute Cloud Documentation.
-
Create Security groups on Amazon’s EC2 console site.
Security groups include the ports that will be opened and available to virtual machines. Available ports must include ports for RDP (Remote Desktop Protocol for Windows) and SSH (Secure Shell for Unix), so that virtual machine users can access their virtual machines.
-
Create the key pair and download the RSA key file from the Amazon EC2 console.
You will need the key pair and RSA key file to obtain passwords for the user-created virtual machines. Key Pairs appear in the Amazon EC2 Console under Region > Key Pair. For instructions on obtaining Amazon access keys, see Amazon Elastic Compute Cloud Documentation.
-
When using the access key and secret key for an IAM user, the user must have AmazonEC2 full access permissions to access AWS resources.
Procedure
-
In the CommCell Browser, expand Policies, right-click Virtual Machine Policies and then click Create New Policy.
-
In the Virtual Machine Policy Options dialog box, select the vendor and policy options:
-
From the Virtualization Vendor list, select Amazon.
-
From the Policy Type list, select Clone from Template.
-
Click Next.
The VM Lifecycle Policy dialog box appears.
-
-
On the Enter the Policy Name and Description page, name the policy and configure advanced settings:
-
In the Policy Name box, enter a name for the policy.
-
In the Quota box, type or select the VM limit per user.
-
Optional: Configure the period of time before a VM is decommissioned and then deleted. Select Enable Decommission, and then configure the time period:
-
In the Decommission VM after list, select or type a number of days.
-
In the Deletion grace period list, select or type a number of days.
-
-
In the Description box, enter a description for the policy.
-
Click Next.
-
-
On the Select the Instance and the Region page, configure the client and region:
-
In the Client list, select the name of the Amazon client where you want end users to create virtual machines.
-
In the Region list, select the region you want to make available to users.
If the region you select is not enabled in your Amazon account, then no Availability Zones will appear in the next step and you will not be able to proceed.
-
Optional: Click Advanced Policy Features, and then configure any of the available settings in the Advanced Policy Features dialog box:
-
To specify the client group that can use this policy, select Associated Client Group, and then select a client group name from the list.
-
To configure email addresses for the people who will be notified about VM operations, in the E-mail addresses to notify box, enter email addresses separated by commas.
-
To configure the email sender's address, in the Sender's email address box, type an email address.
-
If you don't want to notify users about VM operations that succeeded, select Disable e-mail notifications for successful VM operations.
-
Click OK to close the Advanced Policy Features dialog box.
-
-
Optional: If you want to refresh Amazon Regions, click Update region information.
We recommend that you update region information before you create the VM Lifecycle Policy, at the instance level, when you create the Amazon client, so that the Client and Region lists contain all of the clients and regions you want to use.
-
Click Next.
-
-
On the Enter the Availability Zones page, from the Availability Zone list, select the zone that you want to make available to users, and then click Next.
-
On the Select the Instance Types page, select the instance types that you want to make available to users:
-
From the Available list, select one or more instance types.
-
Click Add.
-
Click Next.
-
-
On the Select Templates page, select the templates that you want to make available to VM Provisioning users:
-
From the Available list, select one or more templates.
-
Click Add.
-
Click Next.
-
-
On the Network & Security page, specify the security group and key pair required for each virtual machine:
-
In the Security Groups list, select the Amazon security group to use for the virtual machines.
-
In the Key Pair list, select the name of the key pair for user authentication, click the ellipse button , and then specify the key pair file settings:
-
In the Browse to add a Key Pair file dialog box, select Use Local Disk or use Network Share.
-
In the Key Pair File box, specify the location of the .PEM file that matches the Key Pair name.
-
Optional: Specify another set of credentials for accessing the key pair file. Click Change, and then enter the credentials in the Change User Account dialog box.
-
Click OK to close the Browse to add a Key Pair file dialog box.
Note: Key Pairs appear in the Amazon EC2 Console under Region | Key Pair.
-
-
Click Next.
-
-
On the Enter Storage Information page, specify the settings for volume type, number, and space:
-
Next to Volume Type, select the type of volume that you want to make available to users.
Select provisioned IOPS storage for fast, consistent performance. You can set up a higher limit on the IOPS value.
-
Next to Number of Volumes, set the maximum number of allowed volumes.
-
Next to Volume Space, enter the minimum and maximum amount of space allowed for each volume, and the cost per GB.
-
Click Next.
-
-
On the Enter the Naming Pattern for Instances page, create a naming pattern for virtual machines.This pattern will be used when users name a new virtual machine.
-
In the Instance Naming Pattern box, type text and numbers that will appear in every virtual machine name.
Use the asterisk (*) to require at least one additional character in a portion of each virtual machine name. For example, the default value, VM*Eng, requires each virtual machine name to contain at least one additional character following the text, VM, and before the text, Eng. Therefore, users could give names to their virtual machines such as VMBobEng or VMJane1Eng.
-
Click Next.
-
-
On the Select User Membership page, select the user groups that will have access to the Virtual Machines module:
-
From the Available list, select one or more user groups
-
Click Add.
-
Click Next.
-
-
On the Summary page, click Finish.
To begin creating virtual machines, see the End User documentation, Create a Virtual Machine - VM Lifecycle Management.