You are on page 1of 18

GLOBAL

Azure AZURE
VM: GLOBAL 2017
AZURE
2017

Azure Virtual
Learn: Cloud services
Machines
Saturday, April 22, 2017

PADOSROHA
Azure VM: Agenda
Glossary

What is an Azure Virtual Machine?

Why we need them: Common VM scenarios

Comparison between Azure Web App, Cloud App, and a VM

Tools and Utilities

Deploy Azure virtual machines (VM) using older and newer


portal

Configure and manage VM

Monitor VM

References

Review

Quiz
Saturday, April 22, 2017 Stikom Yos Sudarso
Azure VM: Glossary
IaaS: Infrastructure as a Service i.e. VM service in Azure

PaaS: Platform as a Service, i.e. Cloud App and Web App service in Azure

SaaS: Software as a Service, i.e. Office 365

FQDN: Fully Qualified domain Name: hostname.domain.name, i.e. www.abc.com

Cloud Service: A cloud service is a container for one or more virtual machines you
create. You can create a cloud service for a single virtual machine, or you can load balance
multiple virtual machines by placing them in the same cloud service.

Availability Set: Refers to two or more Virtual Machines deployed across different Fault
Domains to avoid a single point of failure.

Fault Domain is a collection of VM that share common resources such as power and
network connectivity. There are total of two domains and newly created VM are distributed
in these domains in round robin fashion

Saturday, April 22, 2017 Stikom Yos Sudarso


Azure VM: Glossary Contd
Update Domain is a collection of VM that are going to be updated at the same time
when MS rolls out updates to VM in its data centers. There are total of five update domains
and newly created VM are distributed in these domains in round robin fashion.

Xplat-CLI: Cross Platform Command Line Interface

PowerShell DSC: PowerShell Desired State Configuration- PS based configuration


management platform available with PowerShell 4.0 to bring the machine back to a
desired state.

SLA: Service Level Agreement

Chef, Puppet: Third party Configuration Management tools available for VM

Azure Service Manager (Referred to as classic): Older Azure management mode

Azure Resource Manager (ARM): Azure Resource Manager; Newer Azure management
mode

Saturday, April 22, 2017 Stikom Yos Sudarso


What is an Azure Virtual
Machine?
Virtual server(s)/client(s) inside a physical server

Hyper-V

Maximize your infrastructure investment

Install different guest operating systems

Install different workloads

Functionality and control over ease of deployment and administration

99.95% service level agreement

You are responsible for configuration and updates.

Great option for a highly customized solution


Saturday, April 22, 2017 Stikom Yos Sudarso
Why we need them: Common
Scenarios
Setup an infrastructure in the Cloud

Extend your on-premises network (Hybrid Cloud)

Migrate your on-premises network to the cloud (Lift and Shift)

Setup up a proof of concept with minimal investment

Highly customized Multi-tiered application

Customized Windows or Linux environment

Using Open Source Software with Azure

Saturday, April 22, 2017 Stikom Yos Sudarso


Comparison: Azure Web App, Cloud
App, VM

Saturday, April 22, 2017 Stikom Yos Sudarso


Tools & Utilities
Portal
GUI browser-based tool
Install, configure and manage VM from any platform/device
Older Azure Management portal:
https://manage.windowsazure.com
New portal: http://portal.azure.com

PowerShell
o Command line interface
o Install, configure and manage VM from a PC

Cross Platform Command Line Interface tools (Xplat-CLI)


o Install, configure and manage VM from a Mac or Linux

Visual Studio
View and Configure

Azure SDK

Saturday, April 22, 2017 Stikom Yos Sudarso


Azure VM: Demo 1
Deploy: Installing a Windows VM using the older portal
1. Create a Windows VM using the existing portal
o Using Gallery and not quick create: Windows Server 2012 R2
o Some important Settings:
Virtual Machine Name
Tier
Size
Cloud Service DNS name
Region
Storage Account
Availability Set
Endpoints
Install VM Agent
Configuration & Security Extensions

2. Connect to the Windows VM using a Remote Desktop Connection client

Saturday, April 22, 2017 Stikom Yos Sudarso


Azure VM: Demo 2
Deploy: Installing a Linux VM using the older portal
1. Create a Linux VM using the older portal
o Using Azure Gallery and pick from CoreOS, CentOS, Ubuntu, Redhat: Ubuntu Server
15.10 Canonical
o Some important Settings:
Virtual Machine Name
Tier
Size
Cloud Service DNS name
Region
Storage Account
Availability Set
Endpoints
Install VM Agent

2. Connect to the Linux VM using SSH client (Putty)

Saturday, April 22, 2017 Stikom Yos Sudarso


Azure VM: Demo 3
Deploy: Installing SQL server workload using the older portal
1. Creating a Windows SQL server VM using the existing portal:
o Using Gallery and not quick create: SQL Server 2014 SP1 Enterprise
o Some important Settings:
Virtual Machine Name
Tier
Size
Cloud Service DNS name
Region
Storage Account
Availability Set
Endpoints
Install VM Agent
Configuration & Security Extensions

2. Connect to the SQL server VM using a Remote Desktop Connection client

Saturday, April 22, 2017 Stikom Yos Sudarso


Azure VM: Demo 4
Monitor: Configuring Web endpoint monitoring using the
older portal
1. Create the Web end point monitoring for the Windows VM:
From Dashboard, Click on Web endpoints Monitoring or the Configure tab directly:
Manage two (http or https) endpoints for your app from three Azure Data center
locations
o More than 30 seconds or any HTTP response of 400 or above

2. Connect to the Windows VM using a Remote Desktop Connection client

Saturday, April 22, 2017 Stikom Yos Sudarso


Azure VM: Demo 5
Monitor: Setting up alerts using the new portal
Access All Resources click on the Linux VM

All Settings

Under Monitoring Click on Alert Rules Add Alert

Create a rule to email someone

Saturday, April 22, 2017 Stikom Yos Sudarso


Azure VM: Demo 6
Configure: Creating an Availability set for scaling and Auto-
scaling using the new and older portal

1. Create an Availability Set and add multiple VM to it


New Portal:
Access the VM
All Setting Availability Set: Create new Availability set from one of the VM
Go to the other similar VM and add the VM to the previously created Availability set

Older Portal:
Access one of the VMs
Configure Availability Set: Create new Availability set; machine restarted
Access the other VM
Configure Add the VM to the previously created Availability set from the drop down menu

2. Scale up or down your VM in an Availability set depending on your needs


Go to the Cloud service
Using the Scale menu item on the top
By CPU and scale by # of machines set up in the Availability set

Saturday, April 22, 2017 Stikom Yos Sudarso


Resources
Older Azure Management portal https://manage.windowsazure.com

New portal: http://portal.azure.com

Azure Tools Download: https://azure.microsoft.com/en-us/downloads/

Visual Studio Community 2015:


https://go.microsoft.com/fwlink/?LinkId=691978&clcid=0x409

Azure .Net SDK:


https://azure.microsoft.com/en-us/documentation/articles/dotnet-sdk/#stgtools

PowerShell:
https://azure.microsoft.com/en-us/documentation/articles/powershell-install-configure/

XPlat-CLI Tools: https://azure.microsoft.com/en-us/documentation/articles/xplat-cli/

Putty: http://www.chiark.greenend.org.uk/~sgtatham/putty/

Saturday,
AzCopy: https://azure.microsoft.com/en-us/documentation/articles/storage-use-azcopy/
April 22, 2017 Stikom Yos Sudarso
Resources Contd
Documentation Jump-off point
o https://azure.microsoft.com/en-us/documentation/services/virtual-machines/

Difference between Cloud app, VM, and Azure Web app


o https://azure.microsoft.com/en-us/documentation/articles/choose-web-site-cloud-service-vm/

VM: Windows, Linux, SQL Server


o https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-windows-tutorial/
o https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-linux-tutorial/
o https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-workload-template-sql-always
on/

Azure VM size
o https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-size-specs/

Enterprise Tools & Resources


o Connecting your on-premises infrastructure to Microsoft Azure:
https://technet.microsoft.com/en-us/library/dn786406.aspx
o VM Readiness Assessment Toolkit:
https://azure.microsoft.com/en-us/downloads/vm-readiness-assessment/
o VM Optimization Assessment Tool:
https://azure.microsoft.com/en-us/downloads/vm-optimization-assessment/
Saturday, April 22, 2017 Stikom Yos Sudarso
Azure VM: Review
Learnt about the basics of virtual machines

Looked at some of the common scenarios for which you may setup a Azure VM

Discussed the differences between a Azure Cloud app, Web app and a VM

Reviewed some of the tools available for you to deploy, configure and manage Azure VM

Demonstration of installation, configuration and management:


Installation Demos:
1. Demo 1: Installed a Windows VM using the older portal
2. Demo 2: Installed a Linux VM using the older portal
3. Demo 3: Installed a SQL server on a Windows server using the older portal

Configuration and Monitoring Demos:


1. Demo 4: Configure Web endpoint Monitoring
2. Demo 5: Configure Monitoring to setup alerts
3. Demo 6: Configure a VM to create an Availability set and then configure scaling

Reviewed some important resources to get started and learn more about Azure VM
Saturday, April 22, 2017 Stikom Yos Sudarso
Questions & Discussion

Question/Answers

Feedback

Saturday, April 22, 2017 Stikom Yos Sudarso

You might also like