Secure a Deployed Spring Boot + Azure App Service Using Azure API Management Service
For this we will be using the following workflow.

Video
This tutorial is explained in the below Youtube Video.Implementation
Our previously deployed service is exposed publicly and can be accessed using javainuseapp.azurewebsites.net/test as follows-
Next in the azure portal we will create an azure api service as follows. Instances in the following service tiers run on a shared infrastructure and without a deterministic IP address: Consumption, Basic v2, Standard v2. So we will make use of Developer plan.

The API service named javainuseapi-api gets created as follows. It can be accessed using url - https://javainuseapp.azurewebsites.net. Also for the created API the ip address is 48.217.201.35
Copy this IP address.


In Access Restrictions screen select Enabled from select virtual networks and IP addresses. Next add a new rule and enter the ip address of the javainuse-api that we created. Click on save.
