Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-vella committed Aug 1, 2024
2 parents 5d1bb69 + 857138b commit dbea66e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion 102-Azure-Landing-Zones/challenges/challenge3.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Because not all use cases are the same, not all organizations can use an impleme
Using a [policy-driven](https://learn.microsoft.com/en-us/azure/cloud-adoption-framework/ready/enterprise-scale/dine-guidance) governance approach, you must:

1. Implement regional restrictions which require that all resources can only be deployed in the EU.
2. Enforce the use of tagging to create cost-related reports for each workload based on workload, application, department, owner, criticality, classification, and environment.
2. Enforce the use of tagging to create cost-related reports for each workload based on workload, application, owner, classification, costcenter and environment.
3. Implement ISO 27001 compliance security checks and reporting for all production environments except Sandbox subscriptions & PCI-DSS for the payment system.
4. Allow the use of M-Series VMs only for the SAP production environment without impacting agility and scale.
5. Deny the use of Machine Learning services across all environments to minimize the risk and impact of cryptojacking.
Expand Down
2 changes: 1 addition & 1 deletion 102-Azure-Landing-Zones/requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ To avoid any delays with downloading or installing tooling, have the following r
- [Introduction to the Microsoft Azure Well-Architected Framework](https://learn.microsoft.com/en-us/training/modules/azure-well-architected-introduction/) (1hr)
- [Fundamental knowledge of Azure Networking](https://learn.microsoft.com/en-us/training/paths/intro-to-azure-network-foundation-services/) (5hr)
- View [Adopting Azure for your Organization](https://www.youtube.com/watch?v=T7neX1i6iF0) (1hr)
- View [Azure Master Class v2 Mod. 3 Governance](https://www.youtube.com/watch?v=mluS8ovuBKg) (2hrs)
- View [Azure Master Class v2 Mod. 3 Governance](https://www.youtube.com/watch?v=eLSjnF6Crlw)) (2hrs)
- View [Azure Landing Zones Overview](https://www.youtube.com/watch?v=eLSjnF6Crlw) (45min)
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
# Create an Azure Resource Group with Tags

This script creates an Azure Resource Group with tags. The script uses the `New-AzResourceGroup` cmdlet to create the resource group and the `-Tags` parameter to assign tags to the resource group.
This PowerShell script creates an Azure Resource Group with tags. The script uses the `New-AzResourceGroup` cmdlet to create the resource group and the `-Tags` parameter to assign tags to the resource group.

```powershell
# Declare your variables
$name = "rg-<unique>"
$location = "eastus"
$tags = @{environment= "dev"; costcenter= "shared"; workload="aks-demo"; owner="jonathan"}
$name = "rg-lab-neu-001"
$location = "northeurope"
$subscription = "corp"
$tags = @{environment= "dev"; costcenter= "shared"; workload="aks-demo"; application="demo"; owner="jonathan"; classification="pci"}
```

## Script

```powershell
# Set Context
set-azcontext -Subscription $subscription
# Create a Resource Group with Tags
New-AzResourceGroup -Name $name -Location $location -Tag $tags
```
Expand Down

0 comments on commit dbea66e

Please sign in to comment.