Search
StarWind is a hyperconverged (HCI) vendor with focus on Enterprise ROBO, SMB & Edge

Make your AKS web app highly available

  • September 16, 2020
  • 4 min read
Cloud and Virtualization Architect. Florent is specializing in public, hybrid, and private cloud technologies. He is a Microsoft MVP in Cloud and Datacenter Management and an MCSE in Private Cloud.
Cloud and Virtualization Architect. Florent is specializing in public, hybrid, and private cloud technologies. He is a Microsoft MVP in Cloud and Datacenter Management and an MCSE in Private Cloud.


After viewing how to deploy AKS, protected it and secured it, we will se how to make the application highly available,

To start, deploy 2 AKS clusters, in 2 different regions. Deploy your application in these 2 regions. When it’s done, deploy a Traffic Manager. This feature will give you the possibility to load a website, based on your location (Performance) for example, to point to the closest region of your application:

Create traffic manager profile

Add 2 endpoints, one for the first region, and one for the second:

Endpoints

Endpoints should be in Degraded mode:

Degraded mode

It is normal. The public ip / dns of the WAF redirects to nothing. So you need to deploy a probe, with a pod, or give an existing website. To do this, go into configuration, and add a Custom Header settings, like me, host:starwind.falaconsulting.be:

Configurations

Because this website is alive, it will change the status to Online after few seconds, if this website is alive into the 2 clusters, of course:

Traffic manager / overwiev

You can add a custom probe, for each cluster, with specific URL and configure this custom header setting, directly in the endpoint.

So now, I will change my DNS entry, starwindhttps.falaconsulting.be to point to the DNS name of my traffic manager, starwind.trafficmanager.net. I disabled the West Europe endpoint:

DNS entry

The website is always available. And the ping go to north Europe. If I re-enabled West Europe, because it is my closest region, I’m redirected directly to it:

Script

So now, if a region fails, the traffic is redirected directly to the second region.

Hey! Found Florent’s article helpful? Looking to deploy a new, easy-to-manage, and cost-effective hyperconverged infrastructure?
Alex Bykovskyi
Alex Bykovskyi StarWind Virtual HCI Appliance Product Manager
Well, we can help you with this one! Building a new hyperconverged environment is a breeze with StarWind Virtual HCI Appliance (VHCA). It’s a complete hyperconverged infrastructure solution that combines hypervisor (vSphere, Hyper-V, Proxmox, or our custom version of KVM), software-defined storage (StarWind VSAN), and streamlined management tools. Interested in diving deeper into VHCA’s capabilities and features? Book your StarWind Virtual HCI Appliance demo today!