This video demonstrates how to automatically sync Blob files in Azure Storage to a local file system. I show how to configure Event Grid to trigger a webhook that starts a runbook in Azure Automation when a new file is added to Azure Blob Storage. The Runbook runs on a Hybrid Worker and downloads the file from Azure Storage to a local file system.Continue reading “Copy Blob Files Local with Event Grid and Azure Automation”
Version 10 of AZCopy.exe can now delete files at the destination to keep it in complete sync with the source. This video shows how to use the delete-destination option to sync a local file structure to an Azure Storage Account. Used with Soft Delete on Azure Storage, this provides an interesting alternative to traditional backup solutions.
Link to AZCopy V10
A Content Delivery Network, or CDN, is a globally distributed network for delivering, well, content. Content can include images, videos, CSS and any other asset used for providing web services. The advantages to a CDN include: caching data closer to the users to increase web site performance, improving reliability by leveraging a global caching network and reducing bandwidth by shifting traffic to the CDN.Continue reading “How to configure an Azure CDN”
I recently worked on a project to deploy several VM’s in Azure. One of the requirements for this was to block all internet access from the Azure VM’s. This is a prudent step in securing an environment; preventing malicious code from web based threats.
Update 1/2018 – Microsoft has implemented NSG Service Tags for storage and Azure SQL. Information on that is located here. Additional information and the opportunity to vote on adding other services can be found here.
To accommodate this, a Network Security Group (NSG) was created and applied to the VM Subnet. Several rules were applied, including one similar to the picture below. The rule simply blocked traffic from the VirtualNetwork out to the Internet on any source or destination port.
After the rule was put in place and tested I began to setup the rest of the environment. Right away I ran into trouble, the VM’s took up to 30 minutes to deploy and errored out with the message “New-AzureRmVm : Long Running Operation Failed with status ‘Failed’. Continue reading “Azure VM and Internet Access”