Enabling access to storage
How to ensure NannyML can access data stored in Azure Storage
Last updated
How to ensure NannyML can access data stored in Azure Storage
Last updated
As a part of the deployment process, NannyML Cloud creates a managed identity aptly called nannyml.
By granting that managed identity the correct roles and permissions, you can have the NannyML Cloud instance read data from a storage container!
Navigate to your storage account using the Azure portal. In this example, we have a storage account with a container called model-monitoring. The access level has been set to private. There are three files present, representing reference data, analysis data, and target data.
Navigate to the Access Control (IAM) pane.
Now click the Add role assignment button in the bottom left corner.
This window will give you a very long overview of available roles. You can select any applicable role here, but something like Blob Data Reader should give sufficient permissions to read the data in this storage container. Search for the role using the search bar, select it and hit the Next button in the bottom left corner.
Now you'll select the member to assign the role to. In this case you'll assign it to a managed identity, so select that option. Then hit the + Select members link to open up the search pane.
In the search pane, first, select the subscription under which the NannyML Cloud managed application was deployed. In the Managed identity dropdown, select the User-assigned managed identity option. Finally, in the search bar under the Select header, filter for nannyml and select the correct option.
Confirm the selected member and hit the Select button.
Now click the Review + assign button in the bottom left to create the role assignment.
Now you can use the details of the storage container to access your data within NannyML cloud.
Set up a new model in NannyML Cloud. Select the Upload via Azure Blob Storage option.
Now provide the details about the storage container we've just tweaked the access control for. Note that we don't have to provide any kind of authentication token or key.
We now have access to the file!