Updating AWS Instance Types for XenDesktop

Updating AWS Instance Types for XenDesktop

book

Article ID: CTX139707

calendar_today

Updated On:

Description

This article describes how to update the list of Amazon EC2 instance types available for use in XenDesktop. The procedure can be followed if a required instance type fails to appear for selection in Studio when creating a machine catalog.

Requirements

Write permissions to the file %ProgramFiles%\Common Files\Citrix\HCLPlugins\Hypervisor\<vx.x.x.x>\AWS\AWSConfiguration\InstanceTypes.xml is required on every Delivery Controller in the site.

Background

Amazon sometimes introduces new instance types as part of the continuous development of their cloud services. XenDesktop is unable to discover such changes automatically. To make XenDesktop aware of a recently-introduced instance type, it is necessary to manually update an XML configuration file within the Delivery Controller.


Instructions

For on Premise deployment the following steps must be completed identically on each delivery controller in the XenDesktop site.
 

  1. Using a text editor, open the file: %ProgramFiles%\Common Files\Citrix\HCLPlugins\Hypervisor\<vx.x.x.x>\AWS\AWSConfiguration\InstanceTypes.xml

  2. Inside the “InstanceTypes” element, create a new “InstanceType” child element.

    For convenience, this can be done by copying and pasting one of the existing types, provided that care is taken to update all of its details.

  3. For each of the elements inside the new “InstanceType”, copy the matching information from the Amazon EC2 API.

    • The element “Name” specifies how this instance type will be displayed throughout XenDesktop.

    • The element “APIName” must match the name of this instance type as specified in the Amazon EC2 API.

  4. Save the file.

  5. Check that the XML syntax of the file is still correct. This could be done, for instance, by checking that it can be displayed by a web browser.

  6. Restart both the Citrix Host Service and the Citrix Machine Creation Service on each affected Delivery Controller.
     

Note: For Citrix CVAD Cloud environments this is not required, however the AWS Policy JSON must contain the following: “ec2:DescribeInstanceTypes” Please refer to this KB for additional details. https://support.citrix.com/article/CTX298292

 

Environment

This software application is provided to you as is with no representations, warranties or conditions of any kind. You may use and distribute it at your own risk. CITRIX DISCLAIMS ALL WARRANTIES WHATSOEVER, EXPRESS, IMPLIED, WRITTEN, ORAL OR STATUTORY, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NONINFRINGEMENT. Without limiting the generality of the foregoing, you acknowledge and agree that: (a) the software application may exhibit errors, design flaws or other problems, possibly resulting in loss of data or damage to property; (b) it may not be possible to make the software application fully functional; and (c) Citrix may, without notice or liability to you, cease to make available the current version and/or any future versions of the software application. In no event should the software application be used to support ultra-hazardous activities, including but not limited to life support or blasting activities. NEITHER CITRIX NOR ITS AFFILIATES OR AGENTS WILL BE LIABLE, UNDER BREACH OF CONTRACT OR ANY OTHER THEORY OF LIABILITY, FOR ANY DAMAGES WHATSOEVER ARISING FROM USE OF THE SOFTWARE APPLICATION, INCLUDING WITHOUT LIMITATION DIRECT, SPECIAL, INCIDENTAL, PUNITIVE, CONSEQUENTIAL OR OTHER DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. You agree to indemnify and defend Citrix against any and all claims arising from your use, modification or distribution of the software application.

Issue/Introduction

This article describes the process required to update the list of available AWS instance types used by XenDesktop.