Skip to content

Commit fe80d85

Browse files
committed
Updates
1 parent fac4106 commit fe80d85

19 files changed

+98
-182
lines changed

learn-pr/wwl-data-ai/configure-automatic-deployment-azure-sql-database/1-introduction.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ metadata:
66
prefetch-feature-rollout: true
77
title: Introduction
88
description: "Introduction"
9-
ms.date: 06/28/2022
10-
author: wwlpublish
9+
ms.date: 02/26/2025
10+
author: JulianePadrao
1111
ms.author: jupadrao
1212
ms.topic: unit
1313
azureSandbox: false

learn-pr/wwl-data-ai/configure-automatic-deployment-azure-sql-database/2-describe-deployment-models-azure.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ metadata:
66
prefetch-feature-rollout: true
77
title: Describe deployment models in Azure
88
description: "Describe deployment models in Azure"
9-
ms.date: 06/28/2022
10-
author: wwlpublish
9+
ms.date: 02/26/2025
10+
author: JulianePadrao
1111
ms.author: jupadrao
1212
ms.topic: unit
1313
ms.custom:

learn-pr/wwl-data-ai/configure-automatic-deployment-azure-sql-database/3-automate-deployment-using-azure-resource-manager-bicep.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ metadata:
66
prefetch-feature-rollout: true
77
title: Automate deployment by using Azure Resource Manager templates and Bicep
88
description: "Automate deployment by using Azure Resource Manager templates and Bicep"
9-
ms.date: 06/28/2022
10-
author: wwlpublish
9+
ms.date: 02/26/2025
10+
author: JulianePadrao
1111
ms.author: jupadrao
1212
ms.topic: unit
1313
ms.custom:

learn-pr/wwl-data-ai/configure-automatic-deployment-azure-sql-database/4-automate-deployment-using-powershell.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ metadata:
66
prefetch-feature-rollout: true
77
title: Automate deployment by using PowerShell
88
description: "Automate deployment by using PowerShell"
9-
ms.date: 06/28/2022
10-
author: wwlpublish
9+
ms.date: 02/26/2025
10+
author: JulianePadrao
1111
ms.author: jupadrao
1212
ms.topic: unit
1313
ms.custom:

learn-pr/wwl-data-ai/configure-automatic-deployment-azure-sql-database/5-automate-deployment-using-cli.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ metadata:
66
prefetch-feature-rollout: true
77
title: Automate deployment by using Azure CLI
88
description: "Automate deployment by using Azure CLI"
9-
ms.date: 06/28/2022
10-
author: wwlpublish
9+
ms.date: 02/26/2025
10+
author: JulianePadrao
1111
ms.author: jupadrao
1212
ms.topic: unit
1313
ms.custom:

learn-pr/wwl-data-ai/configure-automatic-deployment-azure-sql-database/6-exercise-deploy-azure-database-using-template.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ metadata:
66
prefetch-feature-rollout: true
77
title: 'Exercise: Deploy an Azure SQL Database using an Azure Resource Manager template'
88
description: "Exercise: Deploy an Azure SQL Database using an Azure Resource Manager template"
9-
ms.date: 06/28/2022
10-
author: wwlpublish
9+
ms.date: 02/26/2025
10+
author: JulianePadrao
1111
ms.author: jupadrao
1212
ms.topic: unit
1313
ms.custom:

learn-pr/wwl-data-ai/configure-automatic-deployment-azure-sql-database/7-knowledge-check.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ metadata:
66
prefetch-feature-rollout: true
77
title: Knowledge check
88
description: "Knowledge check"
9-
ms.date: 06/28/2022
10-
author: wwlpublish
9+
ms.date: 02/26/2025
10+
author: JulianePadrao
1111
ms.author: jupadrao
1212
ms.topic: unit
1313
azureSandbox: false
@@ -51,7 +51,7 @@ quiz:
5151
- content: "apiVersion"
5252
isCorrect: false
5353
explanation: "Incorrect. ApiVersion specifics the version of the API to deploy a resource, but not dependencies."
54-
- content: "Which Azure CLI command should you choose to create a SQL Database server?"
54+
- content: "Which Azure CLI command should you choose to create a logical server for Azure SQL Database?"
5555
choices:
5656
- content: "az sql db op"
5757
isCorrect: false
@@ -61,4 +61,4 @@ quiz:
6161
explanation: "Correct. `az sql server create` creates a SQL Database."
6262
- content: "az sql db create"
6363
isCorrect: false
64-
explanation: "Incorrect. `az sql db create` creates a database, not a SQL Database server."
64+
explanation: "Incorrect. `az sql db create` creates a database, not a logical server for Azure SQL Database."

learn-pr/wwl-data-ai/configure-automatic-deployment-azure-sql-database/8-summary.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ metadata:
66
prefetch-feature-rollout: true
77
title: Summary
88
description: "Summary"
9-
ms.date: 06/28/2022
10-
author: wwlpublish
9+
ms.date: 02/26/2025
10+
author: JulianePadrao
1111
ms.author: jupadrao
1212
ms.topic: unit
1313
azureSandbox: false

learn-pr/wwl-data-ai/configure-automatic-deployment-azure-sql-database/includes/1-introduction.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
On-premises systems require cabling and racks of hardware in order to deploy a new database server. With cloud computing, this isn't necessary. One of the major benefits of cloud computing is that system resources are abstracted behind an API.
22

3-
A common term used around cloud computing deployments is *infrastructure as code*, which means all of your resources are defined a set of scripts that are stored in source control and can easily be deployed to a new environment. Although stateful resources don't need to be deployed as frequently as application code, by defining your infrastructure, you ensure that resources are implemented consistently, reducing configuration risk and human error.
3+
A common term in cloud computing deployments is *infrastructure as code*. This means all your resources are defined using scripts stored in source control, making it easy to deploy them to new environments. While stateful resources don't need to be deployed as often as application code, defining your infrastructure ensures consistent implementation, reducing configuration risks and human errors.
4+
5+
Whether you're managing a single database or a complex multi-database setup, this module equips you with the skills to automate deployments efficiently and effectively.
46

57
## Learning objectives
68

7-
After completing this module, you will be able to:
9+
After completing this module, you'll be able to:
810

911
- Describe the deployment models available on Azure
1012
- Deploy database resources using PowerShell and Azure CLI
Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,30 @@
1-
Azure Resource Manager templates have the benefit of being able to deploy a full set of resources in one single declarative template. You can build dependencies into the templates, and using parameters to change deployment values at deployment time. Once you have a template, you can deploy it several ways including using an Azure DevOps pipeline, or through the custom deployments options in the Azure portal. The benefit of these deployments is that they use a declarative model, which defines what should be created. The Azure Resource Manager framework then determines how to deploy it. The alternative to the declarative model is the imperative model. Imperative frameworks include PowerShell and the Azure CLI, which follow a prescriptive order of tasks to be executed.
1+
Azure Resource Manager (ARM) templates allow you to deploy a complete set of resources using a single declarative template. You can define dependencies within the templates and use parameters to adjust deployment values at runtime. Once you have a template, you can deploy it in several ways, including through Azure Pipelines or the custom deployment options in the Azure portal. These deployments use a declarative model, specifying what should be created, while the ARM template framework determines how to deploy it.
22

3-
As mentioned above, there are two programming models that are used for cloud deployments: **imperative** and **declarative**.
4-
5-
In **imperative** programming, you're defining a set of prescriptive tasks for the target system to execute. A simple example of this model is using a batch script to install SQL Server and its prerequisites. In **declarative** programming, you're describing a set of resources to be defined, typically by a framework. A simple example is a CREATE TABLE statement, which describes the columns and keys to be built by the SQL Server engine. The statement acts as the framework for building the table.
3+
In contrast, the imperative model, used by tools like PowerShell and Azure CLI, follows a specific sequence of tasks to be executed.
64

75
## Azure Resource Manager templates
86

9-
Azure Resource Manager templates allow you to create and deploy an entire infrastructure in a declarative framework. For example, you can deploy not only a virtual machine, but its network and storage dependencies in one document. Resource Manager also supports orchestration, which manages the deployment of interdependent resources so that they're created in the correct order. For example, a VM is dependent on the existence of a virtual network, so the framework will deploy the network (or check for the existence of the network) before attempting to build the VM. Azure Resource Manager templates also support extensibility, which allows you to run PowerShell or Bash scripts on your resources after they're deployed.
7+
[Azure Resource Manager](/azure/azure-resource-manager/management/overview) templates enable you to create and deploy an entire infrastructure in a declarative manner. For instance, you can deploy a virtual machine along with its network and storage dependencies in one document. ARM template supports orchestration, managing the deployment of interdependent resources in the correct order. ARM templates also support extensibility, allowing you to run PowerShell or Bash scripts on your resources post-deployment.
108

119
## PowerShell
1210

13-
PowerShell provides a core module known as Az PowerShell module, which has child resource providers for nearly all Azure services. For example, **Az.Compute** would cover Azure Virtual Machines. PowerShell is more commonly used for resource modification and status retrieval. While it's possible to create resources using PowerShell, it isn't typically used for complex deployments. PowerShell can also be used to deploy Azure Resource Manager templates, so in a sense it supports both declarative and imperative models.
11+
[PowerShell](/powershell/scripting/overview), with its Az module, provides cmdlets for nearly all Azure services. For example, **Az.Compute** covers Azure Virtual Machines. PowerShell is often used for resource modification and status retrieval. While it can create resources, it isn't typically used for complex deployments. PowerShell can also deploy ARM templates, supporting both declarative and imperative models.
1412

1513
## Azure CLI
1614

17-
The Azure Command Line Interface, or CLI, is similar to PowerShell in that it can be used either imperatively or declaratively. Much like PowerShell and Azure Resource Manager templates, the Azure CLI provides a mechanism to deploy or modify Azure Resources. Some commands for Azure PostgreSQL and Azure MySQL Databases are only available in the Azure CLI.
15+
[Azure Command-Line Interface (CLI)](/cli/azure/what-is-azure-cli) is similar to PowerShell, supporting both imperative and declarative operations. The Azure CLI can deploy or modify Azure resources, and some commands for Azure PostgreSQL and Azure MySQL Databases are exclusive to the CLI.
1816

1917
## Azure portal
2018

21-
The Azure portal is a graphical interface to Azure Resource Manager. Any resources you build and deploy using the portal will have an Azure Resource Manager template that you can capture by selecting **Export template** in the **Overview** section of your resource group.
19+
The Azure portal is a graphical interface for ARM template. Any resources you create and deploy using the portal will have an ARM template that you can export by selecting **Export template** in the **Automation** section of your resource group.
2220

23-
:::image type="content" source="../media/module-66-automation-final-01.png" alt-text="Screenshot of the export template option on resource group on Azure portal." lightbox="../media/module-66-automation-final-01.png":::
21+
:::image type="content" source="../media/module-66-automation-final-01.png" alt-text="Screenshot of the export template option on the resource group blade from Azure portal." lightbox="../media/module-66-automation-final-01.png":::
2422

25-
The Azure portal is usually the easiest way to get started when first learning about the Azure platform. Organizations (and DBAs) typically move into a more automated model of deployment as their Azure estate and experience grows.
23+
The Azure portal is often the easiest way to get started with Azure. As organizations and DBAs gain experience, they typically move to more automated deployment models.
2624

27-
## Azure DevOps
25+
## Azure DevOps Services
2826

29-
In Azure DevOps, deployments are carried out using Azure Pipelines. Azure Pipelines are a fully featured continuous integration and continuous delivery service (CI/CD), which allows you to automate the build, testing, and deployment of your code. You can deploy Azure resources using Azure Resource Manager templates in two ways... The first method calls a PowerShell script as shown above. The second approach defines tasks that stage your artifacts (the templates themselves and any required secrets) and then deploys the templates. One task stages the artifacts and the other tasks deploys the templates.
27+
In Azure DevOps Services, deployments are managed using Azure Pipelines, a comprehensive CI/CD service that automates the build, testing, and deployment of your code. You can deploy Azure resources using ARM templates in two ways: by calling a PowerShell script or by defining tasks that stage your artifacts (templates and required secrets) and then deploy the templates. This automation ensures that your deployments are consistent and reliable, reducing the risk of human error.
3028

31-
## Continuous integration
29+
Continuous integration (CI) complements this by focusing on making small, frequent changes to code and regularly checking it into a version control system. CI automates the build, packaging, and testing of applications, facilitating better collaboration among developers and improving code quality. Continuous delivery (CD) builds on CI by automating the delivery of code changes to the underlying infrastructure, ensuring that your deployments aren't only consistent but also rapid and efficient. Together, Azure Pipelines and CI/CD practices streamline the entire development and deployment process, making it more efficient and reliable.
3230

33-
Continuous integration is a development methodology that focused on making small changes to code and frequent code check-ins to the version control system. Continuous integration provides an automated way to build, package, and test applications. Having the framework in place facilitates more frequent check-ins, and allows better collaboration between developers, with the goal of improving code quality. Continuous delivery builds on the continuous integration and automates the delivery of code changes to the underlying infrastructure.

0 commit comments

Comments
 (0)