Product Documentation

Amazon Web Services Auto Scaling and Provisioning Validated Reference Design

Overview

An Auto Scaling group defines a collection of Amazon EC2 instances that are automatically scaled and managed based on the load on the farm.

This configuration guide explains how to provision an Amazon Web Services Auto Scaling group in Citrix Application Delivery Manager (ADM).

Configuring the Auto Scaling groups in Amazon Web Services (AWS)

  1. To create the Auto Scaling group, sign in to Citrix ADM.

  2. Navigate to Networks > AutoScale Groups, and click Add to create the group name.

    frontend-autoscale-group-01

  3. In the Site setting, click Add.

    frontend-autoscale-group-02

Create a cloud access profile

  1. When creating a Site, in the Cloud Access Profile, add AWS.

    frontend-autoscale-group-03

  2. Name the profile and sign in to your AWS portal. Search for the Identity and Access Management (IAM) service to manage user access and encryption keys.

    frontend-autoscale-group-04

  3. In the IAM dashboard, select Roles on the left panel and search for your corresponding Citrix ADM role.

    frontend-autoscale-group-05

  4. Copy the Role ARN to the clipboard.

    frontend-autoscale-group-06

  5. After copying the name, go back to the Citrix ADM console and paste the name into the Role ARN text field.

  6. To get the external ID, return to the AWS Roles dashboard, navigate to the Trust relationships tab, and copy the value from the Conditions.

    frontend-autoscale-group-07

  7. In the Citrix ADM console, paste the value into the External ID field and click Create.

    frontend-autoscale-group-08

  8. Select the region, and then choose the appropriate VPC network.

    frontend-autoscale-group-09

  9. Move the agent from Available to Configured.

    frontend-autoscale-group-10

  10. Select the corresponding Cloud Access Profile.

    frontend-autoscale-group-11

    frontend-autoscale-group-12

  11. When loaded, move the availability zones from Available to Configured and add the corresponding tags to the AutoScale Group. Select Next to begin setting the AutoScale parameters.

    frontend-autoscale-group-13

Setting the AutoScale parameters

  1. When setting the AutoScale parameters, adjust the Thresholds and Parameters to the desired settings. Then click Next to begin configuring the Provision Parameters settings.

    frontend-autoscale-group-14

  2. In the Provision Parameters section, select the role from the IAM Role field.

    frontend-autoscale-group-15

  3. Select the appropriate Citrix ADC product and edition.

    frontend-autoscale-group-16

  4. Gather the Amazon Machine Image (AMI) ID from the particular instances in AWS. Input that ID in the AWS AMI ID field.

    frontend-autoscale-group-17

    frontend-autoscale-group-18

  5. After adding the AMI ID, update the Security Groups with the appropriate groups.

    frontend-autoscale-group-19

  6. To start configurations of zones 1, 2, and 3, assign the corresponding management, client, and server subnets.

    frontend-autoscale-group-20

  7. Click Finish to create the configuration of this Auto Scaling group. The creation process can take up to 10-20 minutes.

    frontend-autoscale-group-21

    frontend-autoscale-group-22

Initializing instances in Amazon Web Services

  1. While the Auto Scaling group is being created, open your AWS console and navigate to the Services tab. Select the Amazon Elastic Compute Cloud (EC2) service.

    frontend-autoscale-group-23

  2. On the EC2 dashboard, select the Instances tab, and filter using the tags set within the AutoScale Group section.

    frontend-autoscale-group-24

  3. When filtered, you can see the pending instance that is still being initialized.

    frontend-autoscale-group-25

  4. The instances should finish initializing after they are created.

    frontend-autoscale-group-26

Monitoring the Auto Scaling group events

  1. After creating the Auto Scaling group, select your group and proceed to the AutoScale Group dashboard.

    frontend-autoscale-group-27

  2. Filter out specific periods of time to monitor the Auto Scaling group. To gain real-time insight, change the monitoring period to Live.

    frontend-autoscale-group-28

  3. Click the following datapoint presented in the graph to see any group events.

    frontend-autoscale-group-29

  4. When viewing the specific live events, you can monitor the specific events of the corresponding Auto Scaling group.

    frontend-autoscale-group-30

Amazon Web Services Auto Scaling and Provisioning Validated Reference Design