The first screen under Resource Map is the Resources section where Azure resources from different subscriptions will be synced to Resource Map of Serverless360. These resources are brought into Serverless360 with the help of the service principal.
Associating Service Principal
To enable Resource Map and pull in Azure resources to Serverless360 portal service principal is required.
- Click on the Associate Service Principal option and provide the necessary credentials.
- Enable the Resource Map checkbox to ensure the access to Resource Map.
For using Resource Map, the Service principal needs reader access for the entire subscription
Once the service principal is associated, Azure resources must be synced into Serverless360 before performing any operation on them. Following are the steps to sync the resources,
Move into the Resources section and click on Sync Resources button.
Once all the resources are synced, four tabs will be displayed.
- Unmapped Resources
- Recent resources
- Ignored Resources
Resources can be synced automatically at any time by enabling Auto sync option or can be done manually by clicking on Sync Resources option
During initial sync the resource count under unmapped resources, resources and recently synced are same.
The synced resources are displayed in a clickable link format which when clicked, displays the properties of the resource.
Mapping the resources
To map the resources into a specific scope, select the resource and click on the Map Resources button. If the unmapped resources are mapped to a specific scope it moves to the resources tab. A resource can be mapped to more than one scope.
If the resources are recently synced after the first sync it will be listed under the recently synced section.
Resources which are created for testing, POC or any temporary use can be moved to the Ignored resources by selecting it and clicking on Ignore Resources button.
Remove Unavailable Resources
- Unavailable resources are the resources which are synced to Resource Map but deleted in Azure portal.
- The Remove unavailable resources button appears when any of the synced resources are deleted in Azure portal. By clicking on that, all the unavailable resources synced to Serverless360 will be removed.