Categories
Azure Deployment Github actions

Handle argumented Docker contrainer registry paths

In our a recent setup I’ve created, we are using Azure Container Registry to hold a base image, which we use when building our main project.

However, having multiple environments and different user settings on Azure means we have different base image paths…

Continue reading

Categories
Azure

Handle replication errors on Azure Database for MySQL flexible server

At work we have just recently started moving our data to Azure Cloud. We still have the old on-premise setup running, with databases and web servers.

To make the move to Azure Cloud, I have used a lot of time prepping the terraform scripts to handle our servers, but I have only recently been able to make a copy of the current database (with a whopping 1.7TB of data) and copy it to the cloud.

It took a few days to insert the data into Azure MySQL, so after getting a replication error today, I was not ready to drop the replica database, to insert a fresh dump.

Continue reading