This project is not covered by Drupal’s security advisory policy.

AZURE CDN

This module helps to integrate Azure Blob Storage to push all local assets & files to Azure blob container and serves them via an Azure CDN endpoint for reduced loading time.

At present, it works with a simple use-case to upload the images in real-time, however, in future releases, there are plans to upload assets in bulk.

Features (WIP)

This section will give information regarding the features of the initial phase.

Completed Features

- Configurations for Azure Blob Container.
- Activation and deactivation via admin configurations.
- Serves the images with Azure CDN endpoint.
- Upload available images on a page to Azure Blob Storage automatically.

Features in-progress

  • Removal of Azure Blob on deletion of local media assets.
  • Batch process to upload bulk media assets to Azure Blob Storage.

Pre-requisites

  • You would require an Azure Blob Storage account and a CDN endpoint already created.
  • Following Libraries Need to be downloaded via composer.
    • "microsoft/azure-storage-blob"
    • "microsoft/azure-storage-file"

Steps to Use

  1. Go to the URL /admin/modules and search for azure_cdn.
  2. Install the module.
  3. Configure the module by going to /admin/config/azure-cdn/configurations.
  4. Once that's done, clear your cache.

Module's Working

  1. To change the URLs, hook_url_alter is used.
  2. It checks if the configurations are enabled and support is activated.
  3. If activated it checks if the local file exists in the system, if yes, it will upload it to the Azure CDN and would serve the file afterward from there.
  4. For missing files, it does not work.
Supporting organizations: 
Investment & Support

Project information

Releases