Hear Michael Collier, Principal Cloud Architect at Aditi Technologies talk about the key automation strategies for success in Microsoft Azure, followed by a quick demo of Brewmaster, an automated provisioning and deployment tool for Azure.
Infrared simulation and processing on Nvidia platforms
Strategies to automate deployment and provisioning of Microsoft Azure.
1. www.aditi.com
WELCOME
TO THE WEBINAR
Automation Strategies for Success in Microsoft Azure
#GoCloudWebinar
2. www.aditi.com
TODAY’S SPEAKERS
Michael Collier
Principal Cloud Architect
Aditi Technologies
michaelc@aditi.com
@MichaelCollier
www.MichaelSCollier.com
#GoCloudWebinar - @weareAditi
Raghu Rajagopalan
Principal Engineering Manager
Aditi Technologies
raghuramanr@aditi.com
http://blog.rraghur.in
3. www.aditi.com
TODAY’S WEBINAR
1/ Michael Collier: Expert Talk: Automation Strategies for Success in
Microsoft Azure
2/ Raghu: Brewmaster Demo
3/ Q & A
#GoCloudWebinar - @weareAditi
4. WHY AUTOMATION?
Azure is highly automated
• Service healing
• Internal resources
Time to provision full environments
• Compute, storage, etc.
Deployment to multiple geographies
• Change only configuration / parameters
5. #1 Source of Failed Projects (IMO)
Humans Terrible at Repetitive Tasks
www.aditi.com
6. A FEW OPTIONS
REST API
•Service
Management
•Resource
Manager
www.aditi.com
Azure
Management
Library
PowerShell
•Invoke REST
•Service
Management
•Resource
Manager
XPlat CLI
•??
Azure
Automation
Brewmaster
7. A FEW OPTIONS
REST API
•Service
Management
•Resource
Manager
www.aditi.com
Azure
Management
Library
PowerShell
•Invoke REST
•Service
Management
•Resource
Manager
XPlat CLI
•??
Azure
Automation
Brewmaster
13. MAML
Create Web Site
Create Storage Account
Create and Deploy Web Role
14. RECAP
1. Get the MAML Libraries from NuGet
Microsoft.WindowsAzure.Management
2. Get Active Directory Authentication Library
Microsoft.IdentityModel.Clients.ActiveDirectory (search “ADAL”)
3. Authenticate against AAD or use ClientCredential
Use Microsoft Account or Organization
4. Use resource specific client to perform actions
StorageManagementClient, ComputeManagementClient, etc.
16. POWERSHELL CMDLETS
Get the goods
http://azure.microsoft.com/en-us/downloads/ https://github.com/Azure/azure-sdk-tools/releases
www.aditi.com
17. POWERSHELL
Use cmdlets and/or REST APIs
Ability to script complex environments
Template with an XML parameters file
PowerShell learning curve
Consistent Deployments
Build server or developer machine
www.aditi.com
18. AUTHENTICATION OPTIONS
• Interactive
• Azure AD
> Add-AzureAccount
VERBOSE: Account "michael.collier@live.com" has been added.
VERBOSE: Subscription "Cloud Practice Sales Demos" is selected as the
default subscription.
VERBOSE: To view all the subscriptions, please use Get-AzureSubscription.
VERBOSE: To switch to a different subscription, please use Select-
AzureSubscription.
www.aditi.com
C:Users<user>AppDataRoamingWindows Azure Powershell
21. RECAP
1. Install the Azure PowerShell cmdlets
2. Select your Azure subscription
3. VM
a) Get the VM template image from the Azure gallery
b) Create machine administrative credentials
c) Add data disks
d) Set script extension
4. Cloud Service
a) Create the Cloud Service
b) Create the storage account
c) Deploy package to new Cloud Service
d) Wait for roles to start
25. RECAP
1. Configure your Assets
a) Create a management certificate for Azure Automation
b) Create a connection between Azure Automation and your subscription
2. Create a Runbook
a) Connect to Azure
b) Stop the VMs
3. Test Runbooks
4. Publish
28. BREWMASTER TEMPLATES
Pre-built templates for popular server workloads
SharePoint, AD, SQL Server Always On, ARR, ElasticSearch etc.
Templates hosted on GitHub/Bitbucket
Open source: https://github.com/AditiTechnologies
DSC and PowerShell
Template SDK
Template = JSON + [DSC resources/Powershell scripts].
C# Fluent Syntax Builder (NuGet) for authoring your own templates
www.aditi.com
30. CHOICES . . . WHEN TO USE
www.aditi.com
MAML
• PCL
(WinPhone/WinStore)
• Higher level languages
PowerShell
• DevOps
• Templates
• Build Servers
• Quicker than portal
Azure Automation
• Schedule Tasks
• Integrate with Other
Services
• System Center scripts
Brewmaster
• Templates for server
workloads
• Complete infrastructure
stacks
• IaaS-only