Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure service fabric with ApplicationGateway

i have Service fabric Cluster Running on Azure ,i have deployed Application to Service Fabric.

Now i want to use azure Application Gateway on this Scenario like Request First served to Application Gateway and then it migrated to Fabric Load Ba-lancer. I am Quite Confused on this.How to meet above Challenges with ApplicationGateway

I also able to configure ApplicationGateway but dont have IDea how to use it for service fabric

like image 487
Vikas Singh Avatar asked Nov 16 '16 12:11

Vikas Singh


2 Answers

Microsoft Azure Application Gateway offers layer 7 load balancing capabilities, SSL offloading, layer-7 routeing, cookie based session affinity, URL routeing and able to host multiple web application. Azure Application Gateway requires its subnet; sometimes it is confusing if you are not familiar with Azure VNet and Subnet segmentation.

First what you need to understand is the architecture pattern, how Microsoft Application Gateway would play a part in.

I have written some detail series documenting my journey throughout Azure ServiceFabric.

I would suggest you go through these posts, and it will explain Architecture viewpoint for having Application Gateway in front of Service Fabric Cluster.

Irrespective of Application Gateway, you would need Internal Loadbalancer or External Loadbalancer (depends on your topology).

  1. Cloud Architecture Pattern: Azure Service Fabric and Microservices - Part 1 (Physical Architecture)

    • How to implement Application Gateway with Azure Service Fabric
  2. Also try to understand how it is going to impact, security architecture of your implementation

Also, I would recommend you Reverse proxy in Azure Service Fabric.

like image 150
Nilay Parikh Avatar answered Nov 11 '22 08:11

Nilay Parikh


Not fully sure your meaning, but you could create sf cluster and related resources using ARM teplates. Thats what I have done. I created appgw, cluster, vmss etc. In the virtualMachinesScalesets networkProfile you must configure the ApplicationGateway back endAddress pool instead of configuring loadBalancerBackendAddressPools. The appgw must exist before vmss deployment. You don't necessarily need lb at all. Appgw can handle the load balancing for you. Even though internal lb would bring in some nice additional features, which you could utilize later on...

I have to admit that these things are quite poorly documented...

like image 42
JPKK Avatar answered Nov 11 '22 08:11

JPKK