Presentation is loading. Please wait.

Presentation is loading. Please wait.

Bellevue College Cloud Seminars Learn: Cloud services Friday, March 4, 2016 Azure Virtual Machines Fawad Khan.

Similar presentations


Presentation on theme: "Bellevue College Cloud Seminars Learn: Cloud services Friday, March 4, 2016 Azure Virtual Machines Fawad Khan."— Presentation transcript:

1 Bellevue College Cloud Seminars Learn: Cloud services http://TheCloudand.Me Friday, March 4, 2016 Azure Virtual Machines Fawad Khan

2 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 Friday, March 4, 2016 Bellevue College Cloud Seminars

3 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 Friday, March 4, 2016 Bellevue College Cloud Seminars

4 Azure VM: Glossary – Cont’d 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 Friday, March 4, 2016 Bellevue College Cloud Seminars

5 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 Friday, March 4, 2016 Bellevue College Cloud Seminars

6 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 Friday, March 4, 2016 Bellevue College Cloud Seminars

7 Comparison: Azure Web App, Cloud App, VM Friday, March 4, 2016 Bellevue College Cloud Seminars

8 Tools & Utilities Portal GUI browser-based tool Install, configure and manage VM from any platform/device Older Azure Management portal: https://manage.windowsazure.comhttps://manage.windowsazure.com New portal: http://portal.azure.comhttp://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 Friday, March 4, 2016 Bellevue College Cloud Seminars

9 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 Friday, March 4, 2016 Bellevue College Cloud Seminars

10 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) Friday, March 4, 2016 Bellevue College Cloud Seminars

11 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 Friday, March 4, 2016 Bellevue College Cloud Seminars

12 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 Friday, March 4, 2016 Bellevue College Cloud Seminars

13 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 Friday, March 4, 2016 Bellevue College Cloud Seminars

14 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 Friday, March 4, 2016 Bellevue College Cloud Seminars

15 Resources Older Azure Management portal https://manage.windowsazure.comhttps://manage.windowsazure.com New portal: http://portal.azure.comhttp://portal.azure.com Azure Tools Download: https://azure.microsoft.com/en-us/downloads/https://azure.microsoft.com/en-us/downloads/ Visual Studio Community 2015: https://go.microsoft.com/fwlink/?LinkId=691978&clcid=0x409https://go.microsoft.com/fwlink/?LinkId=691978&clcid=0x409 Azure.Net SDK: https://azure.microsoft.com/en-us/documentation/articles/dotnet-sdk/#stgtoolshttps://azure.microsoft.com/en-us/documentation/articles/dotnet-sdk/#stgtools PowerShell: https://azure.microsoft.com/en-us/documentation/articles/powershell-install-configure/https://azure.microsoft.com/en-us/documentation/articles/powershell-install-configure/ XPlat-CLI Tools: https://azure.microsoft.com/en-us/documentation/articles/xplat-cli/https://azure.microsoft.com/en-us/documentation/articles/xplat-cli/ Putty: http://www.chiark.greenend.org.uk/~sgtatham/putty/http://www.chiark.greenend.org.uk/~sgtatham/putty/ AzCopy: https://azure.microsoft.com/en-us/documentation/articles/storage-use-azcopy/https://azure.microsoft.com/en-us/documentation/articles/storage-use-azcopy/ Azure Storage Explorer: http://azurestorageexplorer.codeplex.com/http://azurestorageexplorer.codeplex.com/ Friday, March 4, 2016 Bellevue College Cloud Seminars

16 Resources – Cont’d Documentation Jump-off point o https://azure.microsoft.com/en-us/documentation/services/virtual-machines/ 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/ 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/ 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/ 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-alwayson/ https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-workload-template-sql-alwayson/ Azure VM size o https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-size-specs/ 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 https://technet.microsoft.com/en-us/library/dn786406.aspx o VM Readiness Assessment Toolkit: https://azure.microsoft.com/en-us/downloads/vm-readiness-assessment/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/https://azure.microsoft.com/en-us/downloads/vm-optimization-assessment/ o Service Level Agreement: https://azure.microsoft.com/en-us/support/legal/sla/virtual-machines/v1_0/https://azure.microsoft.com/en-us/support/legal/sla/virtual-machines/v1_0/ Friday, March 4, 2016 Bellevue College Cloud Seminars

17 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 Friday, March 4, 2016 Bellevue College Cloud Seminars

18 Azure VM: Quiz 1.SLA for an Azure VM? A. 99% B. 100 C. 99.95% D. 99% 2.What needs to be configured for make sure that you have the optimal SLA? A. Have at least 4 instances of VM configured B. Have at least 4 instances of VM configured in an Availability set C. Have at least 2 instances of VM configured in an Availability set D. Have at least 2 instances of the VM in the two different Cloud services 3.How many Update domains do we have in total in Azure? A. 1 B. 2 C. 4 D. 5 Friday, March 4, 2016 Bellevue College Cloud Seminars

19 Azure VM: Quiz – Cont’d 4.What is a Fault domain? A. A Cloud app with a deallocated VM B. A Cloud app with a faulty VM C. A collection of VM that are going to be updated at the same time when MS rolls out unplanned updates in its data centers D. A collection of VM that share common resources such as power and network connectivity 5.Which of these Linux distributions can you install on an Azure VM? A. CoreOS B. Ubuntu C. Mint D. Redhat 6.How many Fault domains do we have in total in Azure? A. 1 B. 2 C. 3 D. 5 Friday, March 4, 2016 Bellevue College Cloud Seminars

20 Azure VM: Quiz – Cont’d 7.What tool can you use to remote into a Azure Linux server? A. Remote Desktop Connection Client B. Putty C. Visual Studio D. FTP 8.What TCP/IP port is used a Linux remote client tool? A. 23 B. 80 C. 21 D. 22 Friday, March 4, 2016 Bellevue College Cloud Seminars

21 Questions & Discussion Question/Answers Feedback Friday, March 4, 2016 Bellevue College Cloud Seminars

22 Fawad Khan


Download ppt "Bellevue College Cloud Seminars Learn: Cloud services Friday, March 4, 2016 Azure Virtual Machines Fawad Khan."

Similar presentations


Ads by Google