ADC

Add back-end GCP Autoscaling service

高效的应用程序在云requi托管res easy and cost-effective management of resources, depending on the application demand. To meet the increasing demand, you have to scale network resources upward. When demand subsides, you need to scale down to avoid the unnecessary cost of underutilized resources. To minimize the cost of running the application, you have to constantly monitor traffic, memory and CPU use, and so on. However, monitoring traffic manually is cumbersome. For the application environment to scale up or down dynamically, you must automate the processes of monitoring traffic and of scaling resources up and down whenever necessary.

Integrated with the GCP Autoscaling service, the Citrix ADC VPX instance provides the following advantages:

  • Load balance and management:自动配置服务器来扩展和规模wn, depending on demand. The VPX instance auto detects managed instance groups in the back-end subnet and allows you to select the managed instance groups to balance the load. The virtual and subnet IP addresses are auto configured on the VPX instance.
  • High availability: Detects managed instance groups that span multiple zones and load-balance servers.
  • Better network availability: The VPX instance supports:
    • Back-end servers on same placement groups
    • Back-end servers on different zones

This diagram illustrates how the GCP Autoscaling service works in a Citrix ADC VPX instance acting as the load balancing virtual server.

GCP Autoscale topology

Before you begin

Before you start using Autoscaling with your Citrix ADC VPX instance, you must complete the following tasks.

  • Create a Citrix ADC VPX instance on GCP according to your requirement.

  • EnableCloud Resource Manager APIfor your GCP project.

  • Allow full access to all Cloud APIs while creating the instances.Full access cloud API

  • Ensure your GCP service account has the following IAM permissions:

    REQUIRED_INSTANCE_IAM_PERMS = [ "compute.instances.get", "compute.zones.list", "compute.instanceGroupManagers.list", "compute.instanceGroupManagers.get" ] 
  • To set up Autoscaling, ensure the following are configured:

    • Instance template
    • Managed Instance group
    • Autoscaling policy

Add the GCP Autoscaling service to a Citrix ADC VPX instance

You can add the Autoscaling service to a VPX instance with a single click by using the GUI. Complete these steps to add the Autoscaling service to the VPX instance:

  1. Log on to the VPX instance by using your credentials fornsroot.

  2. When you log on to the Citrix ADC VPX instance for the first time, you see the default Cloud Profile page. Select the GCP managed instance group from the drop-down menu and clickCreateto create a cloud profile.

    Default Cloud Profile page

    • TheVirtual Server IP Addressfield is auto-populated from all the IP addresses associated with the instances.
    • TheAutoscale Groupis prepopulated from the managed instance group configured on your GCP account.
    • When selecting theAutoscale Group ProtocolandAutoscale Group Port, ensure that your servers listen on the configured protocol and ports. Bind the correct monitor in the service group. By default, the TCP monitor is used.
    • Clear theGracefulcheck box because it is not supported.

    Note:

    For SSL Protocol type Autoscaling, after you create the Cloud Profile, the load balance virtual server or service group is down because of a missing certificate. You can bind the certificate to the virtual server or service group manually.

  3. After the first time logon if you want to create Cloud Profile, on the GUI go toSystem > Google Cloud Platform > Cloud Profileand clickAdd.

    Add GCP Cloud Profile

    TheCreate Cloud Profileconfiguration page appears.

    Create Cloud Profile

    云配置文件创建一个Citrix ADC负载平衡virtual server and a service group with members as the servers of the managed instance group. Your back-end servers must be reachable through the SNIP configured on the VPX instance.

After Creating Cloud Profile

Add back-end GCP Autoscaling service