Part 3 of my epic code review / refactor of this Azure App Service solution. In this third episode we’ll start refactoring this solution based on our code review. We’ll start with the shared infrastructure and the naming conventions and move on from there. Way more to come in this epic code refactoring session! https://youtu.be/WKFHb-iAH6w
Code
Terraform Code Review: Multi-Tenant App Service Part 4
In this episode we’ll refractor the client infrastructure and completely reorganize how we distribute secrets by promoting our keyvault to shared infrastructure. https://youtu.be/AIFUOdhHXIo
Terraform Code Review: Multi-Tenant App Service Part 2
Well finish the code review and get ready to refractor! https://youtu.be/3fGPUcQiCD4
Terraform Code Review: Multi-Tenant App Service Part 1
Finally an Azure Terraform project to code review. Thanks to the friendly internet stranger to volunteering their code! This is the most complex code base I've reviewed so far so buckle up! https://youtu.be/Hi0NIdwn0nk
Multi-Cloud Virtual Machine Automation with Packer
#MayThe4th be with you! Let’s celebrate with multi-cloud packer! Today only! #Azure Terraformer will be doing some #AWS and #GCP on the channel! It’s kind of like Christmas on the western front! 🤣 https://youtu.be/W_Hv5sd9bNA
Improving CosmosDB Test Automation Reliability with Retry Logic
You will find that CosmosDB Emulator will fail, randomly, for no apparent reason doing simple things like get an instance of a container or create the database. In the world of cloud, it’s important to handle Transient Faults, or errors that are not repeatable or consistent in when the appear. They might look like this: … Continue reading Improving CosmosDB Test Automation Reliability with Retry Logic
Cosmos DB Emulator on Azure DevOps
The cosmos DB Emulator is a custom action available on the Azure DevOps portal, however, that doesn't exactly make it turnkey to use. The custom task will spin up a container running Cosmos DB, however it does so with a specific local DNS / port that you need to pipe into your test running. There … Continue reading Cosmos DB Emulator on Azure DevOps
Using Terraform to Provision Microservices with Azure API Management Backed by Azure Functions
So I’ve talked about the fact that the Azure Function resource in the AzureRM provider does not support the exporting of the Key necessary to integrate Azure Functions with Azure API Management. However, I have recently employed a work around, whereby you are able to export the Azure Function Key using the Resource Group Template … Continue reading Using Terraform to Provision Microservices with Azure API Management Backed by Azure Functions
Unit Test Service Fabric Actors when Actors call other Actors
In order to be able to effectively unit test Azure Service Fabric Actors we use a NuGet package called "ServiceFabric.Mocks”. It’s truly fantastic. As the name implies it allows you to Mock all Service Fabric services, not just Actors but the Actor model has unique structure that makes it exceptionally helpful in testing. The way … Continue reading Unit Test Service Fabric Actors when Actors call other Actors
Updating Service Fabric version for an Actor: Step by Step
ONE. Upgrade Actor Projects to .NET Core 2.1 TWO. Update Remoting Provider Decorator [assembly: FabricTransportActorRemotingProvider(RemotingListenerVersion = RemotingListenerVersion.V2, RemotingClientVersion = RemotingClientVersion.V2)] THREE. Remove all references from Tests Project First remove all references to dependent projects (Actor, Actor.Interfaces, Actor.Mocks, Actor.Model). Second open the Package Manager console and run the following commands: Uninstall-Package Microsoft.ServiceFabric Uninstall-Package Microsoft.ServiceFabric.Services Uninstall-Package Microsoft.ServiceFabric.Services.Remoting … Continue reading Updating Service Fabric version for an Actor: Step by Step