Introducing the Serverless Framework for Azure Functions

The Serverless Framework is a new Open Source initiative that allows you to deploy auto-scaling, pay-per-execution, event-driven functions to some of the biggest cloud providers. At moment it only support AWS Lamda, Azure Functions and Apache OpenWhisk. However, this list is due to grow fast so watch this space. In this post, I'll show you how to us the Serverless Framework with Azure Functions so that you can create, run and deploy Functions easily, in effect providing an alternative 'DevOps story' around Functions. Install the Serverless Framework Fire up your command line of choice and install Serverless npm install -g …[read more]


Resolve NPM Access Denied Errors (Error: EACCES) in WSL

I came this issue (Error: EACCES) while I was trying to install an NPM package on my Windows Subsystem for Linux (WSL). It has to do with the way Node is installed on WSL so if you try to install NPM packages on the global level. To resolve this, you can remap the location that NPM modules are installed to one that you have full permission. This can easily be done by firing up you Bash window and typing the following: mkdir ~/.npm-new npm config set prefix '~/.npm-new' export PATH=~/.npm-new/bin:$PATH source ~/.profile You can now go …[read more]


Monitor Azure Web Application backups with Azure Functions

For most of your monitoring and alerting needs, Azure Monitor should be the tool of choice. It's made the whole process so much easier and streamlined while, for the first time, providing management through the portal. I've already blogged about various monitoring options here. However, there are a still few edge cases (not for long) for which Azure Monitor can't be the solution. In this instance, I needed a way to monitor and alert on failed backups on Azure Web Apps Azure Web Apps have this awesome feature that allows you to run backups on a schedule to ensure that …[read more]


Deep dive into Azure Blob Storage

SimpleTalk invited me once again to write about Azure and this time the focus was on Storage. Azure Storage is a vital piece for most operations on Azure and it supports a wide variety of services such as VMs, Azure SQL Service etc. In this post, I do a deep dive into Azure Blob Storage, its different components and the various way you can interact with it. You can read all about it here: https://www.simple-talk.com/cloud/cloud-data/working-azure-blob-storage-service/ …[read more]


Monitoring applications and infrastructure on Microsoft Azure

Microsoft's cloud service, Azure, provides a plethora of services to choose from when it comes to running your solutions on the cloud. By now, most of us are aware of the PaaS, IaaS and SaaS variances. The image below provides a good summary, in case you're new to this. The trick with the cloud is how to choose the right service or combination of services to make your solution as flexible, scalable and performant as possible while cutting down on costs. However, if there's one thing you need to be careful about is that you should avoid the "lift and …[read more]


Exploring the Azure CLI 2.0 with Windows Subsystem for Linux

The new Azure CLI 2.0 was released a few weeks ago so it was time for me to upgrade and take it for a spin. I blogged a while ago on how to install the "old" CLI which was based on Node.js but this is a whole new beast so let's get started. This is a true 2.0 in so may ways! Installing I decided to install it on my WSL because I can take advantage of my very limited Linux skills and showcase to customers the capabilities of W10 and Linux in one box. Unlike its …[read more]