How-To: Storing data on an Azure File Storage Object

How-To: Storing data on an Azure File Storage Object

Titan Servers have the ability to access data files stored both locally, through a drive letter, and remotely using SMB and a UNC (Universal Naming Convention).

An example of a UNC which would reference a network based resource would be \\MyServer\MyShare\MyFiles where 'MyFiles' would be folder/directory which resides physically on the computer named 'MyServer' somewhere on your network. The files and directories on 'MyServer' are made available, or shared, through the 'MyShare' Network Share.

Azure File Storage over a UNC

When running Titan Server on a Virtual Machine in the Microsoft Azure Cloud, you have the option to store your data locally on the C:, D:, or E: drive of the Azure VM, or you can store your data files securely on a remote Azure File Storage Account.

Use the following steps to configure an Azure File Storage account in the Azure Portal and then access that File Storage object from a UNC.

  1. In the Azure Portal, create a Storage Account, our test storage object is named cstest12345
  2. Once the storage account is created, navigate to the Files blade and create a new share, our share is called 'MyFiles'
  3. Navigate to the Access Keys blade and make note of the storage account name and the Access Keys.
     
  4. On the Windows VM, open a command prompt and use Net Use to mount the file storage object. The Azure format is 'objectname'.file.core.windows.net
  5. Issue NET USE \\<objectname>.file.core.windows.net\<sharename>
  6. You will be prompted for the credentials. Enter the object name as the username and one of the Access Keys as the password 
  7. You will be authenticated and the object will now be available in Windows Explorer.
  8. The next step is to persist these credentials in the Windows Credentials Manager to ensure that the Titan Service will have access to the UNC share. To do this, run Windows Credential Manager from the Start Menu

  9. Set up a new Windows Credential to point to your 'objectname'.file.core.windows.net
  10. Just as before, use the object name as the username and the Access Key as the password.
  11. Once this information is saved, you may reboot the Windows VM and you will persist access to the UNC share at next log in.

Note: The Azure credentials can be added to the UNC Accounts setting within Titan Server for end user connectivity, and/or the Service Account for end users AND Events (Automation)

Accessing UNC based data from Titan FTP Server or Cornerstone MFT Server

Accessing UNC based data is very easy, the main point to remember is that you'll always want to access the data using the fully qualified UNC. Do not try to map a drive letter to the UNC and then access the data through a drive letter. Drive letters are a 'Windows User' concept and if you enter the mapped drive into the Titan Admin Console (which runs under the Network or System User context), you will receive an error since the Network/System User does not know about drive letters.

Launch the Titan Admin Console and then set any user directory to leverage the UNC created in the previous steps. Your data will be automatically stored out to the Azure FIle Storage Object.


See Also

  1. System Requirements
  2. Titan Server in the Azure Marketplace




    • Related Articles

    • How To: Connect Titan Server to Leverage Azure Files

      See this video guide for Connecting Titan Server to allow integration with Azure Files for storage and folder access: Titan Server and Azure Files
    • How To: Add UNC Accounts in Titan SFTP Server

      Question Can I add user accounts to utilize for accessing file shares(for user sessions) that require elevated permissions in Titan SFTP Server? Reasoning As an admin, I would need to access resources across the network. In some occasions, this means ...
    • How To Connect Third Party SFTP and Create Them as Local Storage for Titan SFTP

      How To: Connect Third Party SFTP and Create Them as Local Storage for Titan SFTP Question Is it possible to add an external SFTP as a local storage and use that for Titan’s local storage? Reasoning We want to use third party SFTP storage as a local ...
    • How To Use UNC as user home directory

      How To Use UNC as user home directory Question How can I set a UNC path as a user's home directory? Reason To centralize user data storage on a network share for easier access, management, and backup. Answer There are two ways to achieve this: Assign ...
    • How To: Exclude File Types in Titan SFTP Server

      Question Can I restrict certain file types from being uploaded to Titan SFTP Server? Reasoning To protect your server and data in Titan, you want to restrict potentially harmful file types from being allowed to be uploaded to Titan. Answer You can ...