1

I have a setup of Azure VM scaleset, each Linux VM running java spring boot app on a specific port (8070). I need to use a domain with https on application gateway and use Linux VMSS with java app as backend pools.

I am aware this can be done with azure lb but I need to use SSL. If this is possible with a gateway, what would be configurations for 'listeners', 'rules' and 'HTTP settings'

I saw a question which is relevant to mine, but I need much more help.

azure_app_gateway

1 Answer 1

1

this is not possible with lb unless your app listens on https (so it needs a certificate). its possible to do SSL offloading on the app go or do end-to-end SSL. this is the official article to configure SSL offloading, this one is for e2e SSL.

basically, you need to create SSL and create a listener that's using that SSL certificate. probe behaviour doesn't change (compared to lb probe) unless you are doing e2e SSL.

6
  • I will go with ssl offloading on appgw. My problem how do I manage the http listener and rules and http settings for my VM scalesets which all have Java app running on 8070 port. Commented Jan 19, 2019 at 8:14
  • i dont see a question in your statement. read the official article. scale sets do not differ from vms in this regard Commented Jan 19, 2019 at 8:30
  • Yeah I see that , probably I didn't phrase my question properly. What would be the 'http settings' , 'rules' and 'listeners' if vmss run the app on 8070 port. How do I forward requests from appgw to vmss in terms of settings on appgw to be configured Commented Jan 19, 2019 at 8:59
  • follow the article and see for yourself? it tells you how to do that from scratch Commented Jan 19, 2019 at 9:01
  • I am afraid i also went through the (docs.microsoft.com/en-us/azure/application-gateway/…) but there's an example on nginx on vmss which runs on port 80, but is is possible i hit appgw on https://<appgw>.domain.com which hits backend pools on java app on port 8070. What would be listener and http settings? Commented Jan 19, 2019 at 18:17

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.