Cloud File Storage
You can store files in the cloud rather than locally. Want to take advantage of this feature? You'll need an Azure account. Here's what to do!
Azure
- In Azure, configure a Storage Account with an Account kind of Storage V2. Check out Microsoft's storage account overview for more information.
- Your Storage Account must have Allow Blob anonymous access set to Enabled.
- Within your Storage Account, configure a Container with your name and a Public access level of Container.
- Configure your Shared Access Signature (SAS) with the following values.
- Signing method: Account Key
- Signing key: Key 1
- Permissions: Select all the options
- Start: Your configuration date and time
- Expiry: Choose a date in the distant future (for example, five years from the configuration date)
- Allowed protocols: HTTPS only
- Click Generate SAS token and URL, then click the icon to copy the generated value for Blob service SAS URL.
Domain
- For File Provider, select Microsoft Azure BLOB Storage.
- For File Provider Settings, paste the Blob service SAS URL that you copied from Azure.
Migration
After configuring your Domain, you can use a utility to migrate current local files.
Ready to go it alone? Find this utility and related files under the_Tools folder:
Before executing the utility, four key values are set in the Platform.Tools.MoveFiles.ex CONFIG file.
- DomainHostName: Source value from Domain "External Server Name".
- FileStorage: Set during deployment. If needed, reference Web.CONFIG.
- Encryption: Set during deployment. If needed, reference Web.CONFIG.
- BlobContainerUri: Source value from Domain "File Provider Settings". This is the Azure Container's Blob service SAS URL you previously copied.
To save changes to a CONFIG file, you may need to launch an application (such as Notepad) as an Administrator. To do this, right-click the application during launch.
To run the utility, right-click the Application and choose Run as Administrator.
After the migration is complete, clear the application cache from the About dialog box. This helps with any previews that cached to the old location.
Pro Tips
- You can stop migration at any point using Ctrl+Z or Command+Z. The last processed file saves and the utility resumes from this point the next time it is launched.
- Any files added during migration (or at any point after you configure the Domain for Azure) immediately display in Azure.
- Depending on your church's unique storage needs, migration may take several days. You may want to inform your staff that they can't preview files until a file migrates over.