jeudi 12 janvier 2017

Azure creating multiple Web Role for same Cloud service to overcome 50 IP restrictions for ACL laws

Can anyone please explain or comment? I have following case:

  1. I have Azure Cloud Service application (API app for various services) named lets say "ABC"
  2. I needed to implement IP-filtering mechanism in that "ABC".
  3. I used solution 3(applying in Azure deployment) from : http://ift.tt/2jHclM3
  4. I needed to add more than 50 IPs to ACL, buy solution 3 allows only 50 ip per web role

Solution:

I added one more role to existing solution by following way:

  1. Added following elements in "ServiceDefinition.csdef" file

    ......

    ......

  2. Added two AC under NetworkConfiguration/AccessControls: enter image description here

  3. I deployed the solution to Azure.

Issue: Now, WB1 is running/working BUT the insyances of the "WR-2" is "Restarting ( Last exit time: .... Last exit code: 0.)" for last 24 hours.

  • Can you please tell me what is wrong?
  • Is my approach right?
  • What is the right way to do it?

Thanks in advance.




Aucun commentaire:

Enregistrer un commentaire