Powered by Microsoft Azure

Category: DevOps

azure, cybersecurity, IT

Auto Clean Azure Resources – Using Azure Automation

Here’s an easy way to clean up Azure Subscription and delete all resource groups, plus resources to save some credits. Step 1 is to create a resource group named ‘automation’ (or change the name in the script below) and create an automation account. Ensure that the “System Assigned” identity is checked while account creation. Step…
Read more

Import Existing Azure Resources into Terraform: aztfy

Terraform, in case you aren’t aware of it !! Terraform is an infrastructure as a code tool that enables you to define your data centre resources using high-level configuration language and provision them across multiple clouds. Terraform supports AWS, Azure, Google Cloud Platform, OpenStack, and more. With Terraform, you can manage your Infrastructure as Code,…
Read more

Get Ahead of Infrastructure Chaos with IaC

Why IaC? Infrastructure as code is a way of managing and automating your company’s IT infrastructure using code. Code is written in a specific language that can be read and understood by computers, which helps automate tasks and ensure your infrastructure is always up to date. In the past, infrastructure has been managed using a…
Read more

Authoring Azure DevOps Pipelines

A short blog on the key concepts and components that make up a pipeline. And understanding how to get started, what tools to use and what links to follow. Pre-requisites: A DevOps project and a blank YAML file in the repo. VS Code installed. Azure Pipelines extension installed (Ref. https://marketplace.visualstudio.com/items?itemName=ms-azure-devops.azure-pipelines) Some patience with code 🤣…
Read more

Packer – Creating OS Images in Azure

Packer is an open-source tool that enables you to create identical machine images for multiple platforms from a single source template. A common use case is creating “golden images” that teams across an organization can use in cloud infrastructure. Ref. : Packer by HashiCorp For customization of Azure, refer: Azure arm – Builders | Packer…
Read more

Securing Azure DevOps

Security should always be the topmost concern when working with information and data, especially when working in a cloud-based solution, like Azure DevOps. Microsoft keeps the underlying cloud infrastructure secure, but it’s up to the end-user to configure security in Azure DevOps. Here’s a quick checklist. 😀 Authentication Enable Azure AD authentication from the Organization…
Read more

Azure Sentinel Using Terraform + Terragrunt

I recently compiled all (all of the available resources in TF) the components and deployed them using Terraform. To deploy a complete setup, just change 3 inputs and the complete sentinel solution should be up and running in 10-15 mins. Here’s the code to set up Sentinel using Terraform and Terragrut. Repo: sharmaarnav/as-sentinel (github.com) Changes…
Read more

(Terraform + Terragrunt) in Azure

What’s Terragrunt? Terragrunt is a thin wrapper that provides extra tools for keeping your configurations DRY, working with multiple Terraform modules, and managing remote state. Terragrunt works on DRY concept, ie. Don’t repeat yourself !! From Wiki The DRY principle is stated as “Every piece of knowledge must have a single, unambiguous, authoritative representation within…
Read more

Azure & PowerShell – Writing Scripts !!

I have been asked a few times about the easiest way to write a PowerShell script or how to get started writing a script and automating stuff in Azure. Or writing a complex script to automate a complex deployment. (PS – This blog is just to help you expand you PS skills, and does not…
Read more

Kubernetes – Getting Started

So what exactly is Kubernetes? Kubernetes (also known as K8s) is open-source software for deploying, scaling and managing containerized applications. As an automation solution, Kubernetes handles the work of deploying and managing the workloads to ensure they run as you intended. Then where does Docker comes from? Docker is a containerization platform, and Kubernetes is…
Read more