Update Cloud Adoption Framework Manage

Preparing Your Azure Cloud Operations: Key Updates and Best Practices In the ever-evolving world of cloud computing, staying updated with the latest best practices and guidelines is crucial for effective management and optimization of your cloud environment. The article “Ready your Azure cloud operations” on Microsoft Learn provides comprehensive insights and strategies to help you prepare and manage your Azure cloud operations efficiently. Here, we summarize the key updates and best practices highlighted in the article. ...

17.04.2025 · 2 min · Niels Ophey

Deploy Hexo website to Azure static Webapp with GitHub actions

The Goal I move my former wordpress based blog to a simple static website framework. In my case I made q quick research about potential frameworks and found for example: Jekyll Gatsby Hugo and I found Hexo And to be honest - the only reason why my selection was Hexo, was the simple way of installation and get ready. As well as the themes which where available for Hexo. So what I did I created a new repo on GitHub for my Blog and cloned it onto my machine and started with checking the prerequisites: ...

02.09.2023 · 2 min · Niels Ophey

Azure - New Project Bicep

What is Bicep? Bicep is a Domain Specific Language (DSL) for deploying Azure resources declaratively. So, get out of ARM Templates and use a more declarative way to describe what you want to deploy to Azure. You can read more about the project on the GitHub page. My first step was to deploy the tooling for Bicep and the extension for Visual Studio Code. You find the installing instruction also in the GitHub project site. As soon as you have installed everything your VS Code will have support for *.bicep files: ...

11.09.2020 · 2 min · Niels Ophey

Azure - Link Collection Cloud Adoption Framework for Azure

The Cloud Adoption Framework is the One Microsoft approach to cloud adoption in Azure, consolidating and sharing best practices from Microsoft employees, partners, and customers. The framework gives customers a set of tools, guidance, and narratives that help shape technology, business, and people strategies for driving desired business outcomes during their adoption effort. Here is a short collection of links during a CAF related engagement: Start with the CAF documentation in the Microsoft Docs. ...

20.07.2020 · 2 min · Niels Ophey

Learn Terraform - Deploy an App Service instead of a scale set

As mentioned in my post before, it is no so easy as a beginner to get everything realized in Terraform. The challenge was, deploy to a web site in Azure which is able to scale out behind a load balancer. After demonstrating the way be using virtual machine scale sets, I would like to show the way I found with Azure App Services as the service to go to. If you take a look at the simple sample in the documentation, you see that it is very easy to deploy a simple website in azure. Out of this, my idea was, it could not be so complicated in Terraform to achieve the same. ...

31.03.2020 · 4 min · Niels Ophey

Learn Terraform - Define a virtual machine scale set

Now that we have one VM serving a web site, it is a common pattern to deploy not only one VM. Use multiple VMs to distribute the load. In Azure, this feature is called a virtual machine scale set (see the DOCs). To build this in Terraform we need the azurerm_linux_virtual_machine_scale_set resource type. The documentation shows a sample on how to use it. Please read first! But CAUTION - I have done everything several times and tried a lot of possible parameters to deploy the scales set including the Apache webserver. I did not find out, why the configuration of the custom script extension does not work during the initial deployment. Only if you change the VM count after the deployment, the custom script will be deployed. You can see this issue here. ...

31.03.2020 · 6 min · Niels Ophey

Learn Terraform - How can we make the Linux VM become a Web Server

The next iteration of the VM is to configure a Web Server running on the VM and add an auto-scaling function as well as a load balancer. Due to the point, that I’m not so aware of Linux, I took a little bit different approach to have a Web Server running on the VM. Yevgeniy uses in his book the following “user_data” option to have a web site been served by our VM. ...

27.03.2020 · 3 min · Niels Ophey

Learn Terraform - deploy the first VM

After terraform is installed on the computer you use to deploy your first cloud resources - the initial sample in chapter 2 is to deploy a VM. A Linux based VM. You can find all the samples out of the book from Yevgeniy under this repro in GitHub. So how do we do this in azure? Deploy your first VM in Azure One main difference to aws is that in Azure we deploy resources always in a resource group (RG) - so the script in Terraform is not so easy as in aws. ...

19.03.2020 · 4 min · Niels Ophey

Learn Terraform - get started...

After reading Chapter 1 of the book it was time to get my machine ready for using Terraform to script the deployments in Azure. So I search the Microsoft Docs for a short guide and found this short description. First Step - Install Terraform on my machine I decided to install Terraform in the Windows Subsystem for Linux (WSL) on my Windows10 machine. I’m on the fast-ring in the Windows10 insider program - so I’m already able to use WSL2. If you want to learn more about WSL2 visit the Microsoft page https://aka.ms/wsl2. To install Terraform in my WSL2 I opened the bash and entered the following command (use sudo of needed to have privileged rights): ...

15.03.2020 · 3 min · Niels Ophey

Learn Terraform

How I started I just decided to learn more about using Terraform to deploy services in azure. In the past, I deployed most of the time my services in the Azure by using the portal, the azure-CLI or using ARM templates. During a lot of discussions around automation, I heard a lot of people talking about Terraform as their choice for scripting their deployments. Especially thanks to my colleague Arnaud Lheureux - we sit together on the Microsoft Ready in the booth around the Cloud Adoption Framework and he showed me what he already has done with Terraform to deploy a landing zone in Azure. That was the impulse to start to learn more about Terraform… ...

15.03.2020 · 2 min · Niels Ophey