Complementary material for 20533 part-2

Hi, i still having fun with this compilation of technical resources, well as many of you should know the 20533 exam evaluates each skill required as Compute (Virtual Machines, Containers, and ACS), by the way, you can deploy virtual machines from the Portal, the PowerShell and AzureCLI, well this pack of links contains also many templates, and resources to increase the knowledge.

First, let’s try some AzureCLI, and you got to install it. https://docs.microsoft.com/en-us/cli/azure/get-started-with-azure-cli?view=azure-cli-latest with this URL you’ll find how to deploy the AZ CLI.

As i said before, you can create from templates and scripts, so check this one https://docs.microsoft.com/en-us/azure/virtual-machines/linux/create-cli-complete this brings up a Linux machine, but as probably you know this Linux machines doesn’t come with graphic UI, https://docs.microsoft.com/en-us/azure/virtual-machines/linux/create-ssh-secured-vm-from-template and also we can secure their SSH,  but what if i tell you can create an RDP Linux machine… you can use the RDP command and grab it graphically https://docs.microsoft.com/en-us/azure/virtual-machines/linux/use-remote-desktop , Finally i found how to deploy a virtual machine that supports Containers here, https://docs.microsoft.com/en-us/azure/virtual-machines/linux/dockerextension

https://docs.microsoft.com/en-Us/azure/virtual-machines/linux/cli-samples?toc=%2Fcli%2Fazure%2Ftoc.json&bc=%2Fcli%2Fazure%2Fbreadcrumb%2Ftoc.json

https://docs.microsoft.com/en-Us/azure/virtual-machines/scripts/virtual-machines-linux-cli-sample-create-vm?toc=%2fcli%2fazure%2ftoc.json

https://docs.microsoft.com/en-us/azure/virtual-machines/windows/cli-samples?toc=%2Fcli%2Fazure%2Ftoc.json&bc=%2Fcli%2Fazure%2Fbreadcrumb%2Ftoc.json

Azure Network planning

Hi people, today i’ve been thinking about what to tell you, about Azure, and Powershell, so i said, why not to talk about inter connectivity and Azure.-

The first think i want to show you is and world map, as you probably know Microsoft Azure is offering 50 Datacenters in a World wide spread… but if you are planning to move your company to the Azure Cloud what should be the best DC to minimize the network lag? well, you should take a look of https://www.submarinecablemap.com which is a fascinating map to understand how we reach the internet providers. there after you migth still asking how to scale our connectivity, so go to http://www.azurespeed.com/ and watch out the better time response from each Azure Datacenter, also you should pay attention of the Azure Status, go to https://azure.microsoft.com/es-es/status/ there is a good start point to plan your networking strategy. When you bring up a resource group in Azure, and deploy a virtual switch in there, you can start constructing a very complex configuration, but you have to start making the doodle, a simple scratch graphic design where you imagine how to bring it up and how to do it. tomorrow i’ll give the next step.

SQL Database from Azure CLI

Hi, i want to share another Azure CLI script, Bash based to deploy an Azure SQL server and also the database, even we include the authorized ip address.

Try the following changing the bold words.

#!/bin/bash
# Set an admin login and password for your database
export adminlogin=ServerAdmin
export password=ChangeYourAdminPassword1
# The logical server name has to be unique in the system
export servername=server-$RANDOM
# The ip address range that you want to allow to access your DB
export startip=0.0.0.0
export endip=0.0.0.0
# Create a resource group
az group create -name myResourceGroup –location westeurope
# Create a logical server in the resource group
az sql server create –name $servername –resource-group myResourceGroup –location westeurope –admin-user $adminlogin –admin-password $password
# Configure a firewall rule for the server
az sql server firewall-rule create –resource-group myResourceGroup –server $servername -n AllowYourIp –start-ip-address $startip –end-ip-address $endip
# Create a database in the server with zone redundancy as true
az sql db create –resource-group myResourceGroup –server $servername –name mySampleDatabase –sample-name AdventureWorksLT –service-objective S0 –zone-redundant
# Update database and set zone redundancy as false
az sql db update –resource-group myResourceGroup –server $servername –name mySampleDatabase –zone-redundant false

PowerShell is the cloud tool

Nowadays we have a radical change, Windows is no longer Graphic based operating system, and server distributions without GUI are growing faster, least disk space is needed, the WinRM and WMI allows the remote management and using this new paradigm the shell became stronger.

Power Shell became an MIT approved open source project, this mean that anyone can write more contents, commandlets, and functions for Power Shell, even create new branch and modify the shell itself.

I write this article to teach you how to easy is to download and install new modules. the first i want to tell is that you must check the power shell version installed on your computer, to do this you can open Power Shell and write Get-Host, this will show the version. if you have Windows Vista, 7, 8, 8.1 on your computer, it’s almost sure you got Power shell version 3.0 or 4.0, so let’s bring it to the latest version, by access this URL,  after that you can have Power Shell 5.0 or higher, All right.

now we can type Find-Module MSOnline, to retrieve the repository where this module is listed in the latest version, i’ve selected this module because with it you can manage the users, groups and licenses from Office 365, but you gonna need the AzureRM module too, AzureAD, and by the way SQLServer.

bright calamity charge clouds
Photo by Pixabay on Pexels.com

Support material 20533 course

As many of you know, i’m an Microsoft Certified Trainer (MCT) https://about.me/fabiancampo ,  i’ve been delivering the Azure infrastructure official course for a while, so i want to share some of the contents i had collected around this particular course. i wish this likes you as a complementary information, but i wont take care if some of this links would change or get broken. take the chance to review each one.. in my opinion you would prepare better to take your exam.

First of all Azure is a product that is composed by many parts, you must know of networking, storage, compute, security, powershell, active directory, DNS, firewall, and some specific skills as SQL database and web site application development.  https://azure.microsoft.com/es-es/roadmap/ is a good start point where you can see the coming features and the newest ones.

Now lets check the new Azure exams on https://www.microsoft.com/en-us/learning/azure-exams.aspx?WT.mc_id=msl_nsl_AzureExamPage_usen_LeX-Newsletters-MCP03.01.18 But for the 20533 exam page, simply go to https://www.microsoft.com/en-us/learning/exam-70-533.aspx  there are a couple ways to prepare for it, with an OnDemand web based video course, or an in person trainer lead course, https://www.microsoft.com/es-es/learning/course.aspx?cid=20533 as i do.

When you get deeper searching about it, and you dig and dig into internet, you’ll find the learning paths https://azure.microsoft.com/es-mx/training/learning-paths/  also the community of support networking- where the free opinions became valuable suggestions, you know https://techcommunity.microsoft.com/  already there, you can see up away and casually find the https://docs.microsoft.com/es-mx/azure/ where you can find many, many service descriptions, constraints and limits for each azure product.

If you are a person whose doesn’t care to get dirty hands, should give a try to https://azure.microsoft.com/es-mx/training/hands-on-labs/ , but if you prefer to learn viewing videos and you clearly enjoy listening and watching, you can get a good reference in https://azure.microsoft.com/es-mx/get-started/video/  and also in Microsoft virtual academy  https://mva.microsoft.com/es-es/training-courses/azure-arm-virtual-machines-18328?l=HjGRcTgmE_9411982333 in a short video i’ve recorded a few months ago.

Microsoft usually offer us more than one way to do things, so in azure you can do it on the portal http://portal.azure.com, in PowerShell using a module for Azure, https://azure.microsoft.com/en-us/blog/azure-powershell-1-3-0-gallery-improvements/ and also there is a console for linux, MacOs users called AzureCLI. you are not pushed to use one or another, you can choose. i prefer to use PowerShell but you can enjoy more on AzureCli https://docs.microsoft.com/en-us/cli/azure/index?view=azure-cli-latest you can easily install it from https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest

Azure storage con azure-cli

Resulta que no hay muchas capacitaciones o contenidos en los cursos de Azure, sobre como se utiliza el Azure CLI, por eso he decidido hacer una serie de contenidos para reflejar unos interesantes scripts disponibles en Git-Hub sobre este tema en particular.

#!/bin/bash
# A simple Azure Storage example script
#Declaramos las variables. Como queremos que sea el nombre del almacenamiento

#Cabe aclarar que hace falta crear un Resource Group primero…

#Recuerden la estructura, ResourceGroup-StorageAccount-Container
export AZURE_STORAGE_ACCOUNT=<storage_account_name>
export AZURE_STORAGE_ACCESS_KEY=<storage_account_key>

export container_name=<container_name>
export blob_name=<blob_name>
export file_to_upload=<file_to_upload>
export destination_file=<destination_file>
#aqui vamos a crear un nuevo contenedor.
echo «Creating the container…»
az storage container create –name $container_name
#y le copiamos algo de informacion para probar.
echo «Uploading the file…»
az storage blob upload –container-name $container_name –file $file_to_upload –name $blob_name
#para cerrar listamos los BLOBS que tenemos declarados.
echo «Listing the blobs…»
az storage blob list –container-name $container_name –output table
#es posible que necesites descargar contenidos desde tu almacenamiento…
echo «Downloading the file…»
az storage blob download –container-name $container_name –name $blob_name –file $destination_file –output table

echo «Done»

MyAvatar