Skip to Content

Setup Azure Data Bucket with AI Core

Set up azure bucket (Azure Blob Storage) with SAP AI Core.
You will learn
  • About Azure data store
  • To setup Azure for use with AI core
  • Setup Azure data buckets for use with AI Core.
dhrubpaulDhrubajyoti PaulFebruary 11, 2023
Created by
DevelopedByAnurag
January 24, 2023
Contributors
DevelopedByAnurag

Prerequisites

  • An existing Azure account with Admin access to create and use Azure Data store.
  • TODO establish the setup prerequisites for SAP AI Core
    image

IMPORTANT Before you start this tutorial with SAP AI Launchpad, it is recommended that you should set up at least one other tool, either Postman or Python (SAP AI Core SDK) because some steps of this tutorial cannot be performed with SAP AI Launchpad.

What is Azure Data Store?

Azure Data Store refers to a collection of data storage solutions offered by Microsoft Azure, including Azure Blob Storage, Azure Data Lake Storage, Azure Queue Storage, and Azure Table Storage. These solutions provide scalable, highly available, and secure data storage options for a variety of use cases, such as big data analytics, NoSQL databases, content delivery, and message queuing.

  • Step 1

    For Detailed docs refer : AI Core Setup

    • Downloading config for Postman

    Go to AI core API and download the JSON File.

    image
    • Open Postman and in the Top right corner click on Import.
    image
    • Under file click on Choose file and Select the Json that you just downloaded.
    image
    • Once the Import is done you will be able to see the Postman config.
    image
    Log in to complete tutorial
  • Step 2

    At Postman at AI core API Go to admin > Object store secret > create object store secret.
    And set the following json as body

    Python
    Copy
    {
    	"name": "default",
    	"type": "azure",
    	"pathPrefix": "<path prefix to be appended>",
    	"data": {
    		"CONTAINER_URI": "https://account_name.blob.core.windows.net/container_name",  
    		"REGION": "<region-name>",                  
    		"CLIENT_ID": "<azure-client-id>",         
    		"CLIENT_SECRET": "<azure-client-secret>",  
    		"STORAGE_ACCESS_KEY": "sas_token",          
    		"TENANT_ID": "azure tenant id",             
    		"SUBSCRIPTION_ID": "subscription id",      
    	}
    }
    

    Once Its done click on Send

    image

    Hence Your Object Store secret for Azure Data buckets is created.

    Which of the following is an Optional Parameter while creating Azure Object store Secret ?

    Log in to complete tutorial
Back to top