AWS Partner Network (APN) Blog

Using Elastic Load Balancing for Horizon 7 on VMware Cloud on AWS Deployments

By Andrew Kloman, Partner Solutions Architect at AWS

VMware Cloud on AWS_blueVMware Cloud on AWS provides the enterprise capabilities of VMware’s Software-Defined Data Center (SDDC), including compute, storage, and networking, delivered as a service on Amazon Web Services (AWS). Horizon 7 securely delivers desktops and applications through a single platform.

With Horizon 7 on VMware Cloud on AWS, customers can enjoy the agile, flexible consumption models and management of the AWS Cloud. This is great for temporary desktop and application capacity, application locality, data center expansions, proof of concept (POC), and disaster recovery (DR) use cases.

In this post, I’ll provide guidance on how customers looking to deploy Horizon 7 on VMware Cloud on AWS can make use of Amazon Route 53 and Elastic Load Balancing to provide greater scalability, availability, and fault tolerance.

.

Horizon 7 VMWC-1.1

Figure 1 – Diagram of a hybrid VMware Horizon 7 CPA using AWS services.

In the diagram above, it’s important to note the following items:

  1. A hybrid cloud environment with a single or multiple on-premises data center and AWS Region(s).
  2. A Horizon 7 environment, leveraging Cloud Pod Architecture (CPA) across the on-premises data center(s) and the VMware Cloud on AWS Region(s).
  3. VMware Cloud on AWS is connected to the customers’ AWS account via a VMware Cloud Embedded Networking Interface (ENI).
  4. Microsoft Active Directory deployed within either VMware Cloud on AWS and/or Amazon Elastic Compute Cloud (Amazon EC2).
  5. Amazon Route 53 directing user traffic to resources on-premises, or different AWS regions.
  6. Elastic Load Balancing directing user traffic to the multiple Unified Access Gateways (UAGs) within a single or multiple Availability Zones (AZs).

Configuring a Horizon 7 Pod

To get started with deploying Horizon 7 with VMware Cloud on AWS, see Deploying Horizon 7 on VMware Cloud on AWS. Within this guide, you can learn about and deploy Horizon 7 Pod on VMware Cloud on AWS.

Once you have deployed and installed the Horizon 7 Pod into your VMware Cloud on AWS SDDC, you will need to configure Horizon 7 to communicate with VMware Cloud on AWS.

VMware Cloud on AWS provides customers with access to the vSphere web client, vCenter Server, API Explorer, PowerCLI Connect, and the vCenter FQDN.

Configuring Horizon 7 to deploy desktop pools on VMware Cloud on AWS is as simple as configuring the vCenter Servers with the connection servers, and doing so for the VMware Cloud on AWS-provided vCenter FQDN. The step-by-step configuration can be found in section 14 of the deployment guide from VMware.

Horizon 7 VMWC-2

Figure 2 – Familiar Horizon 7 vCenter server configuration.

Elastic Load Balancing

AWS has three different types of Elastic Load Balancing products: Application Load Balancer (ALB), Network Load Balancer (NLB), and Classic Load Balancer. For this deployment, you will need to use an ALB.

The ALB runs at layer 7 of the Open Systems Interconnection (OSI) model, meaning it can base routing on content within the incoming application traffic. It also allows for non-Amazon EC2 target routing, so that we can route traffic to the UAG within the VMware Cloud on AWS environment.

Amazon Certificate Manager (AMC)

For HTTPS connections, like with the one we’ll need for our deployment, the ALB must have a certificate. Amazon Certificate Manager (AMC) integrates with Elastic Load Balancing so you can deploy the certificate on your load balancer. For more information, see the AWS Certificate Manager User Guide.

You will not be able to generate the certificate needed for the UAGs from the ACM, since this certificate must also be imported into the UAGs. Please follow the instructions in the Deploying and Configuring VMware Unified Access Gateway guide to import a certificate into the UAGs, as well as the instructions in this guide on Importing Certificates into AWS Certificate Manager.

Configuring Your Application Load Balancer (ALB)

Assuming you have completed the process above and have imported a certificate to AMC, you can now follow these steps to configure your ALB for your Horizon 7 on VMware Cloud deployment.

Within the AWS console, open the Amazon EC2 dashboard for the region you have Horizon 7 deployed. On the left side, click Load Balancers and click Create Load Balancer. Select the Application Load Balancer and click Create.

Horizon 7 VMWC-3

Figure 3 – Application Load Balancer creation wizard.

Next, you will be guided though a step-by step-wizard:

  • Step 1: Give your ALB a Name, and then select “internet facing,” IPv4, and a HTTPS listener on port 443. Also, select the Virtual Private Cloud (VPC) that can communicate with the SDDC, AZ, and subnet your UAG’s are deployed within.
  • Step 2: Select the certificate you have imported into the AMC.
  • Step 3: Select or create a Security Group for inbound traffic to the ALB.
  • Step 4: Select a new Target Group, provide a Name, Protocol HTTPS, and Target Type IP. Also for Health Checks, as described in Deploying and Configuring VMware Unified Access Gateway, use HTTPS and /favicon.ico.

Horizon 7 VMWC-4.1

Figure 4 – Target Group confirmation.

  • Step 5: Select “Other Private IP Address,” and then provide the IP addresses of the UAG within the VMware Cloud on AWS SDDC.

Horizon 7 VMWC-5.1

Figure 5 – Targets registration.

Once completed, navigate to the target group you created, right-click, and choose Edit Attributes. Next, choose Enable Stickiness and set the values that are appropriate for your environment.

rsz_horizon_7_vmwc-6.1

Figure 6 – Stickiness configuration.

In the Description tab of your newly-created load balancer, remember to note the Domain Name System (DNS) Name under Basic Configuration.

Amazon Route 53

For customers looking to deploy Horizon 7 between multiple AWS Regions, or between AWS and on-premises data centers, Amazon Route 53 can help with managing DNS failover between these locations. You can see in the architectural diagram in Figure 1 that Amazon Route 53 can direct users to these targets.

Amazon Route 53 is a highly-available and scalable cloud DNS web service. It’s designed to give developers and businesses an extremely reliable and cost-effective way to route end users to, in this case, Horizon 7 deployments, but also to internet applications on or outside of AWS.

For more information on this topic, check out the article Leveraging Amazon Route 53 for VMware Horizon Global Remote Access from Andrew Morgan, a staff engineer at VMware’s End User Computing Office of the CTO.

Configuring Amazon Route 53

Next, you will need to create an A Record set within your hosted zone. Here’s how to do it:

  • Within the Amazon Route 53 dashboard, click Create Record Set.
  • Provide the external FQDN that matches your certificates used earlier.
  • Select the type as an A – IPv4 address
  • Select Alias: Yes and enter the DNS name from your ALB created earlier. This is found in the Description tab of your newly-created ALB; the DNS Name is under Basic Configuration.
  • Configure the routing policy that makes sense for your environment. In our example, I only need a simple routing policy. To learn more, check out these articles on Choosing a Routing Policy and Health Checks and DNS Failover.

Horizon 7 VMWC-8.2

Figure 7 – A – Record set configuration.

Next Steps

Check out the session recording and deck I presented at VMworld Americas 2018—Horizon 7 on VMware Cloud on AWS: What You Need to Know—where I speak with Angela Ge, Product Line Manager for Horizon 7, about the capabilities of Horizon 7 on VMware Cloud on AWS.

You can also check out these great deep dives from VMworld Americas 2018:

  • Building Hybrid Cloud with Horizon 7 on VMware Cloud on AWS – Play Video | Deck
  • Design Deep Dive: Cloud Burst with Horizon 7 on VMware Cloud on AWS – Play Video | Deck

AWS and VMware are constantly working to improve VMware Cloud on AWS for customers. We would love to hear from you what other enterprise capabilities and innovations we should be working on. Please contact us at aws-vmware-cloud@amazon.com.

Going to VMworld 2018 Europe in Barcelona?

Come see our updated presentation of Horizon 7 on VMware Cloud on AWS: What You Need to Know. The team and I are hosting a demo at the AWS booth (D403 – Hall 7) with the environment described in this post if you’d like to see firsthand how AWS complements Horizon 7 on VMware Cloud on AWS.

Also, check our our APN Blog post, Know Before You Go: VMware Cloud on AWS at VMworld 2018 Europe. And don’t miss the VMware Cloud on AWS roadmap or our APN Blog posts about about VMware Cloud on AWS.