Citrix ADC autoscale in AWS with terraform and Azure Pipelines

Citrix has released a feature that makes it possible to autoscale your Citrix ADCs (previously NetScaler) in AWS using their Citrix Application Delivery Management. You can read more about this feature here.

The overview from Citrix looks like this:

Citrix ADC autoscale architecture

We have been using the autoscale solution and to make it easier for everyone else to try it out, we’ve released our terraform configuration and Azure Pipelines YAML (part of Azure DevOps) to make sure it as easy as possible.

You can find the readme and configuration at github.com/XenitAB/citrixadc-autoscale-aws.

Summarized, we do the following for you:

  • Setup an Azure Pipeline to deploy S3 for terraform state, install terraform and init/plan/validate as well as apply the configuration
  • Terraform creates VPC, Subnets, Internet Gateway, NAT Gateway, IAM roles and instance profiles. We also setup the Citrix ADM Agent
  • Terraform also creates a LAMP server in an autoscale group that can be used by Citrix ADM to not only autoscale the NetScalers but also autoscale the backend servers

It’s really great seeing all this innovation from Citrix and using it to provide scalable solution.

Please try it out and leave a comment on GitHub if you have any questions, or even a PR if you have something you would like to add.

Disclaimer: All information on this blog is offered "as is" with no warranty. It is strongly recommended that you verify all information and validate all scripts in isolated test environments before using them in production environments.