DataLake Tools

https://img.shields.io/badge/AIMMS_24.2-ZIP:_DataLakeTools-blue https://img.shields.io/badge/AIMMS_24.2-Github:_DataLakeTools-blue https://img.shields.io/badge/AIMMS_Community-Forum-yellow DataLake Tools

Introduction

Every AIMMS Cloud account is by default equipped with an Azure Data Lake Storage Gen2 (ADLS). You can use this storage account to store all types of files that you want to integrate with your AIMMS application. You can also use it to store files generated based on the output of your optimizations, as to make them available to an external source.

The Data Exchange Library offers functions to easily interact with the ADLS.

This toolkit offers you the possibility to easily create both Account SAS Token and Container SAS Token, which is needed for authentication if you want to access the ADLS from an external source.

Instructions

This chapter is divided into three sections:

  1. Application Preparation

  2. Understanding ‘Account SAS Token’ Page

  3. Understanding ‘Container SAS Token’ Page

Application Preparation

To use this application, you can either:

Use it on the cloud: Download this toolkit and upload it to your cloud. From there, there is no further need for authentication - the Data Exchange library will automatically extract the storage account name and access key of the Data Lake Storage account associated with your AIMMS Cloud account. Make sure to create the aimmspack with api-init folder unchecked. Read more about the ADLS for the AIMMS Cloud here.

Use it locally: Download this toolkit and open api-init/Data_Lake_Storage.txt. Add your StorageAccount replacing "add_name_here" string. Open the project.

If you prepared the application correctly, by opening the application, you will see the ‘Storage Account’ name on the right bottom of your page. Without a ‘Storage Account’ name, nothing from this point on will work.

Understanding ‘Account SAS Token’ Page

In the next subsection, the functionality of ‘Account SAS Token’ page will be detailed.

../../_images/account-sas-token.png

To create a Account SAS Token, please input the required information on Inputs table. Click on the button below it. A new Account SAS Token will be generated and will appear on the bottom.

Understanding ‘Container SAS Token’ Page

In the next subsection, the functionality of ‘Container SAS Token’ page will be detailed.

../../_images/container-sas-token.png

To create a Container SAS Token, please input the required information on Inputs table. Note that a File System is required, but you can always fetch the latest File Systems by the ‘Refresh File System’ button. Here you have the opportunity to create and delete File Systems. If you prefer to create directly on Azure, here, you can update the File System list. Once everything is set, click on the button below it. A new Container SAS Token will be generated and will appear on the bottom.

Minimal Requirements

To work with this toolkit, you will need a PRO Cloud account with an Azure Data Lake Storage. You can check if your Cloud account is equipped with a Data Lake by launching this app to your PRO Cloud and checking if ‘Storage Account’ has value. This can be found at the right bottom of any page. If you do not see a name here, please contact AIMMS Support.

Release Notes

v1.3 (13/03/2024)

Make the app more usable by allowing: the expiry time to be specified in days as well as seconds, choosing the right order of permissions for container SAS tokens, displaying SAS query string as well as SAS URL, creation and deletion of file systems (containers) within the storage account.

v1.2 (28/02/2024)

Adding missing parameter to the table.

v1.1 (08/02/2024)

Both Account SAS Token and Container SAS Token are available to be created.

v1.0 (25/08/2023)

First version launched!