How to quickly setup typesense as a drop-in replacement for Algolia DocSearch on TailwindUI templates

"How do you replace the search in the TailwindUI documentation template (called syntax)" or "Can I add TypeSense as Search for a Tailwind UI site?", you might ask? TailwindUI uses Algolia's DocSearch on their template offering (e.g. the documentation template). DocSearch is a great easy-to-use solution, but it's only available for public facing websites and … Continue reading How to quickly setup typesense as a drop-in replacement for Algolia DocSearch on TailwindUI templates

Using Caddy 2 on an Azure VM to host static content from blob storage

There are multiple ways to host static websites from Azure Storage Blobs to a custom domain serving HTTPS: Using Azure CDN: https://docs.microsoft.com/en-us/azure/storage/blobs/static-website-content-delivery-network Using Cloudflare: https://support.cloudflare.com/hc/en-us/articles/360021902391-Enabling-Cloudflare-SSL-on-Azure-Storage-Static-Web-Hosting-Applications But if you want a bit more flexibility at less than 5USD/month cost consider using Caddy 2 (the HTTPS-by-default webserver written in Go) one a VM to serve your website. … Continue reading Using Caddy 2 on an Azure VM to host static content from blob storage

Azure Key Vault – Add Custom Role for Deployment Access Only

In our previous article Azure Resource Manager Templates – Securing your Parameters with KeyVault we have used KeyVault to safely store production secrets. In large teams you may have multiple people deploying resources but don't want to give them access to the actual secrets inside the vault. You can achieve this by creating a custom role that … Continue reading Azure Key Vault – Add Custom Role for Deployment Access Only

Azure KeyVault – Authenticating with Certificates and Reading Secrets

You should never keep any confidential configuration information in an application configuration file. This include injecting sensitive information via web transformation files. Adding sensitive values via the AppService settings is not ideal either. In all these cases you may leak sensitive information. For example via your source control. Or anyone with access to your subscription … Continue reading Azure KeyVault – Authenticating with Certificates and Reading Secrets

Azure Resource Manager Templates – Using Certificates from KeyVault in AppServices

Certificates have various uses in AppServices. The most obvious one is to enable SSL for your application. Another use it to authenticate towards Azure KeyVault to retrieve confidential values. In this post we will be uploading a certificate to KeyVault. Then we will deploy it to an AppService with Azure Resource Manager. Finally we will … Continue reading Azure Resource Manager Templates – Using Certificates from KeyVault in AppServices

Azure Resource Manager Templates – Securing your Parameters with KeyVault

Storing secret information such as parameters in resource template files is not recommended. Often ARM templates are checked into source control. Now everyone has access to your confidential information. Using parameters that are not checked into source control is one option. Azure offers a better option through it's secure data store KeyVault. Think of it … Continue reading Azure Resource Manager Templates – Securing your Parameters with KeyVault

Azure Resource Manager Templates – Deploying a Website with a Database

This article will show you how to deploy a basic website with a database to Azure. It will use Resource Manager templates. Checkout the article on Resource Manager basics if you are unfamiliar. We start with the familiar empty template and set the scontentVersion property. Add any of the following snippets to the resources property. … Continue reading Azure Resource Manager Templates – Deploying a Website with a Database

Azure Resource Manager Templates – Working with variables, parameters, functions and loops.

In our introduction to Azure Resource Manager Templates we wrote a template from scratch. Whenever we used a name for a resource we had to use the full name. Imagine having to change this value. Sure you could find and replace all instance, but we all know how this could go wrong. For a basic introduction … Continue reading Azure Resource Manager Templates – Working with variables, parameters, functions and loops.

Azure Resource Manager Templates 101

Azure has moved towards the resource manager (ARM) model for all new versions. Both the new portal and AzureRM PowerShell use ARM. The templates are based on JSON (Javascript Object Notation) and allow for incremental and idempotent deployments, so when an error occurs, you can fix and re-deploy without affecting existing resources. Using a simple … Continue reading Azure Resource Manager Templates 101

Azure/AzureRM PowerShell 101

In our industry we have gotten used to an exponential rate of development and progress. The Azure family is no different and it's easy to get lost. In this article we're going to go through the basics of managing Azure via Powershell. Azure PowerShell vs. AzureRM Powershell Microsoft Azure PowerShell Module is the first version … Continue reading Azure/AzureRM PowerShell 101