Azure Blob Storage

Microsoft Azure Blob storage enables you to import files quickly and reliably to SAP Commerce Cloud environments using Cloud Hot Folders.

Advantages of Azure Blob Storage

Microsoft Azure Blob storage provides a high level of availability and reliability. Files can be uploaded and stored quickly and safely.

Blob storage also provides several advantages over traditional file handling services such as FTP, including simpler and more reliable integration. File operations are atomic, meaning files are only available to the hot folder once they’ve been uploaded in their entirety. This avoids the need for temporary file names.

Blob Storage Account Access

Azure Blob storage is created automatically when you first provision an environment and it remains available for as long as you have the environment. If you delete all of your environments, you also delete the Blob storage, which is then re-created once you provision a new environment.

The connection credentials for the environment storage account are provided in the Cloud Storage section of the Environments screen in the Cloud Portal, directly under Endpoints. Clicking any Cloud hot folder link opens the Basic Information for that folder, including its Account Name, Public URL, and Public Key. There are a number of tools available for accessing and uploading files to Azure Blob storage accounts. Details of the tools provided by Microsoft can be found here:

Microsoft Azure Blob Storage Connection Properties

Property Description Default Value
azure.hotfolder.storage.account.connection-string The connection string used to synchronize files. Not applicable. The system automatically sets this value.
azure.hotfolder.storage.container.name The name of the container to monitor/synchronize from  
azure.hotfolder.storage.container.hotfolder The path to the folder within the container. ${tenantId}/hotfolder e.g. master/hotfolder
azure.hotfolder.storage.container.match.pattern A pattern to match the file to import. ^((?!ignore).)*$
azure.hotfolder.storage.polling.fixed.rate How often, in milliseconds, the hot folder is scanned. 15000
azure.hotfolder.storage.delete.remote.files If true, remote files are deleted after being downloaded. true
azure.hotfolder.storage.account.name The name of the account.  

Blob Storage and File Migration

If you want to migrate data to SAP Commerce Cloud, then you can set up Blob Storage on two different machines and transfer files like you would with a Network File System. Keep the following information in mind.

  • Folders on Blob Storage, not to be confused with containers, disappear after some time if they don't contain any files.
  • If two machines open the same file and update the file at the same time, then the last save is the one that remains.
  • When opening a file, you are actually opening a locally cached version of the file.
  • You can use rclone mount as a systemmd service.