BookmarkSubscribeRSS Feed

Using Azure Blob Storage for sas7bdat files with SAS Viya – Part 1

Started ‎12-06-2023 by
Modified ‎12-06-2023 by
Views 647

Azure Data Lake (ADLS) Blob Storage is a cloud-based distributed file storage service. Often the question is asked, can we use the Azure Blob Storage to store sas7bdat files and access them from the SAS Viya applications? When a customer migrates from a traditional SAS 9.4 to the SAS Viya environment, they like to bring existing sas7bdat data files to cloud storage and access them from the SAS Compute Server and the CAS environment.

 

In short, the answer to the above question is Yes!

 

An Azure Storage Account (ADLS2) with Hierarchical-namespace is a POSIX-compliant. The Azure Blob storage supports the Network File System (NFS) 3.0 protocol. This support provides Linux file system compatibility at object storage and enables Linux clients to mount a container in blob storage.

 

The Azure Blob Storage Container Storage Interface (CSI) driver is a CSI specification-compliant driver used by AKS to manage the lifecycle of Azure Blob Storage. The CSI is a standard for exposing block and file storage systems to containerized applications on Kubernetes.

 

With NFS 3.0 protocol and Hierarchical namespace enabled on an Azure Storage Account (ADLS2) and Azure Blob Storage CSI driver enabled on the AKS cluster, you can create a Persistent Volume (PV) and Persistence Volume Claim (PVC) against Azure Blob Storage using azureblob-nfs-premium storage class. The Azure CSI Blob Driver has two storage classes (azureblob-nfs-premium and azureblob-fuse-premium) for blob storage. The PVC can be mounted to the SAS Compute Pod and CAS Pods using either of the storage classes. This enables SAS Viya users to use Azure Blob Storage to store sas7bdat files and access them from the SAS Compute Server and CAS environment.

 

Access to Azure Blob storage from SAS Compute Server and CAS is a vital step for customers migrating from SAS 9.4 to Viya and looking to store the sas7bdat file at ADLS blob storage. The sas7bdat data files saved by the SAS Compute Server can be accessed by CAS and vice versa.

 

The data access path from ADLS2 Blob storage to SAS Compute Server and CAS.

 

01_UK_SAS7bdat_Files_At_ASDLS2_Blob_Storage_p1_1.png

Select any image to see a larger version.
Mobile users: To view the images, select the "Full" version at the bottom of the page.

 

The AKS Cluster is enabled with the CSI Blob driver and Storage class.

 

02_UK_SAS7bdat_Files_At_ASDLS2_Blob_Storage_p1_2.png

 

The Azure Storage Account (ADLS2) is enabled with Hierarchical Name Space, NFS 3. 0 protocol, and selected network access.

 

Border_03_UK_SAS7bdat_Files_At_ASDLS2_Blob_Storage_p1_3.png

 

The Azure Blob Storage (ADLS2) with sas7bdat files.

 

Border_04_UK_SAS7bdat_Files_At_ASDLS2_Blob_Storage_p1_4.png

 

The SAS Compute Server reads and writes sas7bdat files to Azure Blob Storage (ADLS2).

 

05_UK_SAS7bdat_Files_At_ASDLS2_Blob_Storage_p1_5.png

 

The CAS load/save data from sas7bdat files located at Azure Blob Storage (ADLS2). The sas7bdat files saved by the SAS Compute Server load to CAS.

 

06_UK_SAS7bdat_Files_At_ASDLS2_Blob_Storage_p1_6.png

 

Stay tuned in for configuration details for Azure Storage Account and AKS to mount the Azure Blob Storage to SAS Viya Compute and CAS Pods to access sas7bdat files.

 

Important Links:

Use Azure Blob storage Container Storage Interface (CSI) driver

Create and use a volume with Azure Blob storage in Azure Kubernetes Service (AKS)

 

 

Find more articles from SAS Global Enablement and Learning here.

Version history
Last update:
‎12-06-2023 01:29 PM
Updated by:
Contributors

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

Free course: Data Literacy Essentials

Data Literacy is for all, even absolute beginners. Jump on board with this free e-learning  and boost your career prospects.

Get Started

Article Labels
Article Tags