<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Azure on Data Artisans</title><link>https://dataartisans.tech/tags/azure/</link><description>Recent content in Azure on Data Artisans</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sun, 22 Oct 2023 00:00:00 +0000</lastBuildDate><atom:link href="https://dataartisans.tech/tags/azure/index.xml" rel="self" type="application/rss+xml"/><item><title>Terraform Azure: Tests</title><link>https://dataartisans.tech/terraform-azure-tests/</link><pubDate>Sun, 22 Oct 2023 00:00:00 +0000</pubDate><guid>https://dataartisans.tech/terraform-azure-tests/</guid><description>&lt;h2 id="intro"&gt;Intro&lt;/h2&gt;
&lt;p&gt;With the exciting new announcement for &lt;a href="https://developer.hashicorp.com/terraform/language/tests"&gt;Terraform Tests&lt;/a&gt; I couldn&amp;rsquo;t help but take them for a test drive. For our use case we will build on a prior post &lt;a href="https://dataartisans.tech/terraform-azure-reusable-sql-database-configurations/"&gt;Terraform Azure: Reusable SQL Database Configurations&lt;/a&gt;. In the last post we created a module to deploy SQL Servers. Today we will add a new default prefix to SQL Server name and then build a test to check the name of the server.&lt;/p&gt;</description></item><item><title>Terraform Azure: Import SQL Database</title><link>https://dataartisans.tech/terraform-azure-import-sql-database/</link><pubDate>Wed, 15 Feb 2023 00:00:00 +0000</pubDate><guid>https://dataartisans.tech/terraform-azure-import-sql-database/</guid><description>&lt;h2 id="intro"&gt;&lt;strong&gt;Intro&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;In this post we will cover how to import an existing Azure SQL Database to Terraform. If the resource wasn’t originally created by Terraform you will need to import it before Terraform can manage it. This comes in handy when you have existing infrastructure and want to start using Terraform later on.&lt;/p&gt;
&lt;p&gt;For a video walkthrough check out my &lt;a href="https://youtu.be/y5tkKoGFXCk"&gt;YouTube video&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Here we will use the &lt;a href="https://developer.hashicorp.com/terraform/cli/import"&gt;standard import functionality&lt;/a&gt; provided by Terraform. There are other 3rd party tools you can use for this process as well. One of the most popular is &lt;a href="https://github.com/GoogleCloudPlatform/terraformer"&gt;Terraformer&lt;/a&gt;, I will cover how to use that in a later post.&lt;/p&gt;</description></item><item><title>Terraform Azure: Reusable SQL Database Configurations</title><link>https://dataartisans.tech/terraform-azure-reusable-sql-database-configurations/</link><pubDate>Sun, 29 Jan 2023 00:00:00 +0000</pubDate><guid>https://dataartisans.tech/terraform-azure-reusable-sql-database-configurations/</guid><description>&lt;h2 id="intro"&gt;&lt;strong&gt;Intro&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;In this post we are going to build on the previous post &lt;a href="https://dataartisans.tech/terraform-azure-sql-database/"&gt;Terraform Azure: SQL Database&lt;/a&gt;. We will cover how you can use Terraform to create multiple &lt;a href="https://azure.microsoft.com/en-us/products/azure-sql/database/"&gt;Azure SQL Databases&lt;/a&gt; with &lt;a href="https://developer.hashicorp.com/terraform/language/modules/develop"&gt;Terraform modules&lt;/a&gt;. We are going to turn the original Terraform into a module so we can create as many databases as we need with identical configurations. Another advantage here is maintenance, if a setting needs to be adjusted you can simply adjust the module and it will propagate to each resource using the module configuration.&lt;/p&gt;</description></item><item><title>Terraform Azure: SQL Server VM</title><link>https://dataartisans.tech/terraform-azure-sql-server-vm/</link><pubDate>Mon, 16 Jan 2023 00:00:00 +0000</pubDate><guid>https://dataartisans.tech/terraform-azure-sql-server-vm/</guid><description>&lt;h2 id="intro"&gt;&lt;strong&gt;Intro&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;In this post we are going to deploy a SQL Server VM in Azure. Deploying a VM requires a little more work than the &lt;a href="https://dataartisans.tech/terraform-azure-sql-database/"&gt;SQL Database we deployed in the last post&lt;/a&gt;. We will need to add some networking resources and configure the host VM. If you need help setting up Terraform please see my prior post, &lt;a href="http://terraform-azure-setting-up-your-environment"&gt;Terraform Azure: Setting Up Your Environment&lt;/a&gt;. This post assumes you have an Azure account. If you do not, you can &lt;a href="https://azure.microsoft.com/en-us/free/"&gt;create one for free&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Terraform Azure: SQL Database</title><link>https://dataartisans.tech/terraform-azure-sql-database/</link><pubDate>Sun, 15 Jan 2023 00:00:00 +0000</pubDate><guid>https://dataartisans.tech/terraform-azure-sql-database/</guid><description>&lt;h2 id="intro"&gt;&lt;strong&gt;Intro&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;In this post we are going to cover how you can use Terraform to create an &lt;a href="https://azure.microsoft.com/en-us/products/azure-sql/database/"&gt;Azure SQL Database&lt;/a&gt;. If you need help setting up Terraform please see my prior post, &lt;a href="https://dataartisans.tech/terraform-azure-setting-up-your-environment/"&gt;Terraform Azure: Setting Up Your Environment&lt;/a&gt;.This post assumes you have an Azure account. If you do not, you can &lt;a href="https://azure.microsoft.com/en-us/free/"&gt;create one for free&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;We will take a slow approach to accomplishing our task. The goal here is to get familiar with Terraform and its commands by creating some basic resources. Terraform also has some great resources for getting started &lt;a href="https://developer.hashicorp.com/terraform/tutorials/azure-get-started"&gt;here&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Terraform Azure: Setting Up Your Environment</title><link>https://dataartisans.tech/terraform-azure-setting-up-your-environment/</link><pubDate>Sat, 14 Jan 2023 00:00:00 +0000</pubDate><guid>https://dataartisans.tech/terraform-azure-setting-up-your-environment/</guid><description>&lt;p&gt;&lt;strong&gt;Intro&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;You want to start using Terraform to manage your Azure infrastructure. To get started you will need to get your local development environment setup. In this post I will walk you through setting up Terraform and the Azure CLI on Windows.&lt;/p&gt;
&lt;p&gt;For a video walkthrough check out my &lt;a href="https://www.youtube.com/watch?v=HFyi0ZnmAho"&gt;YouTube video&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;PowerShell&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I’m a huge fan of PowerShell so that is my preferred way to interact with Terraform. If you are using Windows you will already have a version of PowerShell available on your machine. I like to use the latest and greatest so I start by installing the latest version which as of this writing is 7.3.1. Download the package and install it, you&amp;rsquo;re done.&lt;/p&gt;</description></item><item><title>Start and Stop VM with Azure Data Factory</title><link>https://dataartisans.tech/start-and-stop-vm-with-azure-data-factory/</link><pubDate>Mon, 09 May 2022 00:00:00 +0000</pubDate><guid>https://dataartisans.tech/start-and-stop-vm-with-azure-data-factory/</guid><description>&lt;p&gt;&lt;strong&gt;Intro&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In this post I will describe how to manage the state of a VM with Azure Data Factory (ADF). I was inspired to write this post after reading a very similar walk through on &lt;a href="https://www.techtalkcorner.com/start-and-stop-azure-vm/"&gt;Tech Talk Corner&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;A VM can be in one of &lt;a href="https://docs.microsoft.com/en-us/azure/virtual-machines/states-billing"&gt;several states&lt;/a&gt;, for this post we are going to focus on Running and Deallocated. When a VM is running you are being billed for it and able to access its resources. If the VM is deallocated you are not being billed for it and its resources are inaccessible. In many scenarios it makes sense to have a VM in a deallocated state to save on cost and only keep it running when absolutely necessary.&lt;/p&gt;</description></item></channel></rss>