Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update of 011-InfraAsCode-ARM-DSC hack to use new WTH templates #91

Merged
merged 38 commits into from
Jun 24, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
6811a6b
Added a draft of new hack homepage
jrzyshr Jun 19, 2020
bd07aba
Replaced root readme.md with new Hack Description template
jrzyshr Jun 19, 2020
82ffd8d
added ARM Challenge 01 with new template
jrzyshr Jun 19, 2020
c1abd49
added ARM Challenge 02 with new template
jrzyshr Jun 19, 2020
acd76d4
added ARM Challenge 03 with new template
jrzyshr Jun 19, 2020
e994df6
Updated navigation links on challenges
jrzyshr Jun 19, 2020
8bb32d3
Added ARM Challenge 4 using new template
jrzyshr Jun 19, 2020
9462210
Re-organized and moved Student resources into Challenge sub folders
jrzyshr Jun 19, 2020
cd2c9f1
Cleaned up errors in ARM Challenge 04
jrzyshr Jun 19, 2020
25ef677
Moved VMSS script to ARM-Challenge-10 folder
jrzyshr Jun 19, 2020
eb394cb
Added ARM-Challenge-05 with new template
jrzyshr Jun 19, 2020
6e2c9d9
Added additional tips to ARM Challenge 5
jrzyshr Jun 19, 2020
59b4859
Added C4 & C5 links to homepage
jrzyshr Jun 19, 2020
5301dd7
Added challenge links to the root readme of the hack
jrzyshr Jun 20, 2020
25666b8
Updated contributors
jrzyshr Jun 20, 2020
a148178
Updated install_apache.sh script files to remove references to P20 an…
jrzyshr Jun 20, 2020
f995db7
Added ARM-Challenge-06 using new template
jrzyshr Jun 20, 2020
f35b79c
Renamed "Host" folder to "Coach"
jrzyshr Jun 20, 2020
159fe45
Removed "Guides" folder from "Coach" folder, and moved Lecture PPT an…
jrzyshr Jun 20, 2020
bd0beeb
Additional tip for ARM Challenge 6
jrzyshr Jun 20, 2020
29ffdbf
Added ARM-Challenge-07 with new template
jrzyshr Jun 20, 2020
25fabc0
Added new ARM-Challenge-08 with template
jrzyshr Jun 20, 2020
8432854
Edited ARM challenge 7
jrzyshr Jun 20, 2020
b590954
Added new ARM Challenge 09 with template
jrzyshr Jun 20, 2020
86f2edc
added new ARM challenges 10-12 with templates
jrzyshr Jun 20, 2020
14eb36d
Added resource links to ARM challenge 7 for HA
jrzyshr Jun 20, 2020
c8201f3
Minor edit to ARM challenge 10
jrzyshr Jun 20, 2020
2ee0dae
tweak to challenge 12 text
jrzyshr Jun 20, 2020
fe0babf
Adding updated DSC challenges using templates
jrzyshr Jun 22, 2020
3d97c81
Added resource links to DSC challenges. Removed resource links from …
jrzyshr Jun 23, 2020
544d9db
Move pre-reqs to the student folder
jrzyshr Jun 23, 2020
30f4dfe
Removed old challenge markdown files and removed the Guides folder.
jrzyshr Jun 23, 2020
a2e81a5
commented out darkula theme, switching to midnight theme.
jrzyshr Jun 23, 2020
6848572
setting GH page theme back to hacker
jrzyshr Jun 23, 2020
01746b5
Merge branch 'IaC-ARM-DSC/1.2'
jrzyshr Jun 23, 2020
3f6b2d4
Merge branch 'master' of github.com:Microsoft/WhatTheHack
jrzyshr Jun 23, 2020
dfe3b83
fixed config.yaml
jrzyshr Jun 23, 2020
c421258
Merge branch 'master' of github.com:Microsoft/WhatTheHack
jrzyshr Jun 24, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added resource links to DSC challenges. Removed resource links from A…
…RM challenges!
  • Loading branch information
jrzyshr committed Jun 23, 2020
commit 3d97c813a50047044b0bd18cd48ca109a670c200
7 changes: 1 addition & 6 deletions 011-InfraAsCode-ARM-DSC/Student/ARM-Challenge-01.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## Pre-requisites

Make sure your machine is set up with the proper tooling: [IaC ARM-DSC Hack - Prerequisites](../Student/Guides/Prerequisites.md)
Make sure your machine is set up with the proper tooling: [IaC ARM-DSC Hack - Prerequisites](./Prerequisites.md)


## Introduction
Expand All @@ -25,8 +25,3 @@ Develop an ARM template that accepts a generic input value and returns it as an

1. You can deploy the template using both the CLI and PowerShell
1. You can view the deployment in the Azure Portal and view the inputs & outputs

## Learning Resources

- [Understand the structure and syntax of ARM templates](https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/template-syntax)
- [Quickstart: Create Azure Resource Manager templates with Visual Studio Code](https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/quickstart-create-templates-use-visual-studio-code?tabs=CLI)
3 changes: 1 addition & 2 deletions 011-InfraAsCode-ARM-DSC/Student/ARM-Challenge-03.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,4 @@ Extend the ARM template to add a Network Security Group that opens ports 80 and

## Learning Resources

- [Understanding ARM Resource IDs](https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/template-functions-resource#resourceid)
- [ARM Templates: Using ResourceID Function and DependsOn Element](http://techgenix.com/arm-templates-resourceid/)
- [Understanding ARM Resource IDs](https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/template-functions-resource#resourceid)
12 changes: 9 additions & 3 deletions 011-InfraAsCode-ARM-DSC/Student/DSC-Challenge-02.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,18 @@ The goals of this challenge include understanding:

## Success Criteria

1. Connect to the VM via Remote Desktop and verify that the three folders have been created on the C:\ driver.
1. Connect to the VM via Remote Desktop and verify that the three folders have been created on the C:\ drive.

## Learning Resources

- Link for built in DSC Resources for Windows Server
- Sample DSC script
- [Windows PowerShell DSC Overview](https://docs.microsoft.com/en-us/powershell/scripting/dsc/overview/overview?view=powershell-7)
- [Built-in Windows Resources](https://docs.microsoft.com/en-us/powershell/scripting/dsc/resources/resources?view=powershell-7#windows-built-in-resources)
- [Securing PowerShell DSC within Azure ARM Templates](https://poshsecurity.com/blog/securing-powershell-dsc-within-azure-arm-templates)
- [Using PowerShell DSC in ARM Templates](https://www.mavention.nl/blogs-cat/using-powershell-dsc-in-arm-templates/?cn-reloaded=1)
- [Desired State Configuration extension with ARM Templates](https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/dsc-template)
- [Introduction to the Azure DSC extension handler](https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/dsc-overview)
- [PowerShell DSC Extension](https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/dsc-windows)


## Tips

Expand Down
16 changes: 10 additions & 6 deletions 011-InfraAsCode-ARM-DSC/Student/DSC-Challenge-03.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,24 @@

## Introduction

The goals of this challenge are learnin to undestand:
+ Use external DSC resources from PowerShell Gallery
+ Logistics to import & deploy external DSC resources
The goals of this challenge are learning to undestand:
- Use of external DSC resources from PowerShell Gallery
- Logistics to import & deploy external DSC resources

## Description

+ Extend the DSC script by turning 3 folders into file shares

## Success Criteria

## Learning Resources
1. Verify that you can access the file shares in Windows Explorer.

## Learning Resources

## Tips
- [DSC Community on GitHub](https://github.com/dsccommunity)
- [PowerShell Gallery](https://www.powershellgallery.com)
- [The PowerShell Gallery](https://docs.microsoft.com/en-us/powershell/scripting/gallery/overview?view=powershell-7)

## Bonus Challenge
+ Use PowerShell cmdlet Publish-AzureRmVMDscConfiguration to package & publish the DSC script + external resources directly to staging location in Blob storage

- Use PowerShell cmdlet Publish-AzureRmVMDscConfiguration to package & publish the DSC script + external resources directly to a staging location in Blob storage
2 changes: 1 addition & 1 deletion 011-InfraAsCode-ARM-DSC/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ You will want to prepare your machine with the following to help complete the Ch
* [ARM Snippets](https://marketplace.visualstudio.com/items?itemName=samcogan.arm-snippets)
* [Azure Storage Explorer](https://azure.microsoft.com/en-us/features/storage-explorer/)

For more details, see: [IaC ARM-DSC Hack - Prerequisites](./Student/Guides/Prerequisites.md)
For more details, see: [IaC ARM-DSC Hack - Prerequisites](./Student/Prerequisites.md)

## Repository Contents
- `../Coach`
Expand Down