This presentation is a part of meetup session delivered in the Microsoft User Group - Chandigarh.
In this meetup we looked into how to deploy and manage Virtual Machines in Microsoft Azure cloud.
This was an advanced session and targeted more towards IT Pro audience. Developers were welcome also.
We covered created virtual machines via ARM template and covered with Virtual Machine Scale Sets with a live demo with Autoscale.
3. Agenda
• Azure VM Basics
• Iaas – Sizing – Pricing
• ARM
• Resource Groups
• Deployment
• Dev Test Labs
• Scale Sets
• Customizations
• Monitoring & Maintenance
• DEMO !
• Raffle
4. Azure VM Basics
• Compute – Memory – Storage – Networking (Iaas)
• VM is only compute and memory !!
• Pricing Calculator
• https://azure.microsoft.com/en-in/pricing/calculator/
• VM Sizes
• https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sizes
• For more documentation:
• https://docs.microsoft.com/en-us/azure/virtual-machines/
• Azure Resource Manager – Consistent Management Layer
• Resource Groups
5. Deployment
• Considerations before creating a VM
• Use case scenario – Application/Service etc
• Location
• Size / OS / Related Resources / Configuration
• Scalability / High Availability
• Limitations
• 20 VMs per region (Soft Limit)
• https://docs.microsoft.com/en-us/azure/azure-subscription-service-limits
9. Dev Test Labs
Simplify cost management
Quickly set up environments
Integrate with your existing toolchain
Tailor to your scenario
https://docs.microsoft.com/en-us/azure/devtest-lab
10. Scaling
• Why?
• Requirements
• Transparent – Automatic – Rapid Scale - Elasticity
• Simple
• High Availability / Security Patching/Upgrading
• Low Cost
• Scale Up vs Scale Out (Vertical vs Horizontal)
• AutoScale
• https://github.com/Azure/azure-quickstart-templates
11. App Deployment – When to use which?
Model When to use
Marketplace Off the shelf solutions.
VM Extensions Full control over app lifecycle management.
Custom data/unattend Install custom app independently of external network.
Configuration manager Centrally managed app installation, credentials & maintenance.
Containerized Abstract app management from infrastructure. Cloud/DC agnostic.
Custom image Small self-contained apps. Fast deploy. Immutable build, test, deploy pipelines.
12. Autoscale: How do I get it?
• Portal: get started in a few clicks
• Resource Manager Template: have full control
• CLI, PowerShell, Resource Explorer, SDKs, etc.
• In-VM Agent
• Windows Azure Diagnostics agent
• Linux Azure Diagnostics agent
Home work – find the logic of how these values are assigned
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/manage-availability
Simplify cost management
Set lab policies to automatically shut down and start up virtual machines.
Set caps on your lab, such as the number of virtual machines per user and per lab.
Use the lab cost trend to estimate your spending and set a threshold.
Quickly set up environments
Use custom images to quickly reproduce your environment.
Install your latest bits and dev tools on your machine through artifacts.
Create formulas to easily modify an environment's configuration at any time.
Integrate with your existing toolchain
Use our REST API to provision dev-test environments directly from your continuous integration (CI) tools.
Quickly deploy from your release pipeline using our Team Services tasks extension.
Use our command line tool to automate your virtual machine set up and clean up.
Tailor to your scenario
Centrally manage development environments across your team or organisation.
Conduct compatibility and automated testing with reusable environment templates.
Provide virtual machines for hackathons that automatically expire after the event.
Use the service for different scenarios to suit your needs.
Targeted to scale VM Compute Nodes
Scale Sets: https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-overview
Ignite 2016 Video: https://channel9.msdn.com/Events/Ignite/2016/BRK3283
From Ignite session 2016
https://channel9.msdn.com/Events/Ignite/2016/BRK3283
From Ignite session 2016
https://channel9.msdn.com/Events/Ignite/2016/BRK3283