- Intro to IaaS Workshop: https://github.com/Microsoft/MTC_AzureIaaS very basic intro
- Linux Lift and Shift Workshop: https://github.com/larryms/MCW-Linux-lift-and-shift
- ASR Tutorial: https://docs.microsoft.com/en-us/azure/site-recovery/azure-to-azure-tutorial-enable-replication
- Traffic Manager High Availability: https://docs.microsoft.com/en-us/azure/traffic-manager/scripts/traffic-manager-cli-websites-high-availability
- Azure Devops Project Lab: https://azurecitadel.github.io/labs/devops-projects/
- Storage
- Manage blobs with cli: https://docs.microsoft.com/en-us/azure/storage/blobs/storage-quickstart-blobs-cli
- Search unstructured blob storage: https://docs.microsoft.com/en-us/azure/storage/blobs/storage-unstructured-search
- PowerBI Dashboard in an Hour: to be provided
- file to download: https://serradiah.blob.core.windows.net/diah/DIAH.zip
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cloud-config | |
package_upgrade: false | |
write_files: | |
- path: /etc/systemd/system/docker.service.d/docker.conf | |
content: | | |
[Service] | |
ExecStart= | |
ExecStart=/usr/bin/dockerd | |
- path: /etc/docker/daemon.json | |
content: | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: api | |
spec: | |
selector: | |
app: api | |
ports: | |
- protocol: TCP | |
port: 3001 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
locals { | |
"winscript" = "powershell iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) ;powershell choco install --ignore-checksums -y microsoftazurestorageexplorer ;powershell choco install -y IIS-WebServer --source windowsfeatures ;powershell choco install webdeploy -y; choco install azure-cli -y; powershell exit 0" | |
} | |
resource "azurerm_virtual_machine_extension" "bootstrapwin" { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://api.github.com/repos/MicrosoftDocs/azure-docs/commits?author=larryms | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
az group delete --name BCDRLabRG -y | |
az group delete --name BCDRIaaSPrimarySite -y | |
az group delete --name BCDRIaaSSecondarySite -y | |
az group delete --name BCDRAzureAutomation -y | |
az group delete --name BCDRAzureSiteRecovery -y | |
az group delete --name BCDROnPremPrimarySite -y | |
az group create --name BCDRLabRG --location CentralUS | |
az group create --name BCDRIaaSPrimarySite --location EastUS | |
az group create --name BCDRIaaSSecondarySite --location CentralUS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
see https://help.ubuntu.com/community/KVM/Access | |
systemctl enable [email protected] | |
systemctl start [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://askubuntu.com/questions/841112/very-slow-boot-time-ubuntu-a-start-job-is-running-for-raise-network-interfaces | |
The easiest way to create this file is through systemctl itself: | |
$ sudo systemctl edit networking.service | |
in this file: | |
[Service] | |
TimeoutStartSec=30sec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"properties": { | |
"displayName": "Require a tag, value and pattern", | |
"policyType": "Custom", | |
"mode": "Indexed", | |
"description": "Enforces a required tag and its value. Does not apply to resource groups.", | |
"metadata": { | |
"category": "Tags", | |
"createdBy": "10742b83-5bcb-45ba-9a2b-8a953928fc04", | |
"createdOn": "2020-04-01T16:11:01.7403115Z", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# Convert a VM to a Spot VM | |
Based on sample script at https://docs.microsoft.com/en-us/azure/virtual-machines/windows/change-availability-set | |
NOTE: Extensions will not be copied to new instance!! | |
#> | |
# Set variables to your specifics | |
$resourceGroup = "myRG" | |
$vmName = "myVM" | |
# Get the details of the VM to be moved to the Availability Set |
OlderNewer