azure automation
DESCRIPTION
Palestra de trilha de enterprise Applications no Azure Summit 2014TRANSCRIPT
SALA 1
Enterprise
Aplications
Palestrante
Infraestrutura Ágil com Azure Automation
Diego HenriqueMCT – MCSA – MCSE
Session Objectives And Takeaways
• Session Objectives:• Understand the capabilities of Windows Azure Automation
• Discuss use cases for Automation in Azure
• Key Takeaways:• Understand key scenarios for Automation in Azure
• Azure Automation allows integration between Azure services and external systems
Process automation that simplifies cloud management
Automation
Optimize and extend existing investments
IntegrationIntegrate into existing systems with PowerShell integration modulesBuild additional PS modules to enable integrating into other systems
Orchestration
Accelerate time to value with flexible process workflows
Azure Automation Capabilities
Azure
Monitoring
Systems
Change
Control
Systems
Anything
Runbook Authoring in Azure:Create runbooks to automate all aspects of cloud operations, from deployment, monitoring, and optimizations
Highly Available Engine:Support requirements for scale and H/A.Built on PowerShell Workflow. Isolation for runbook jobs
Integration into other systems:Import PS modules and create additional modules and runbooks for Azure services or to connect into 3rd party systems
Automation
Pricing
Job run time:
• Based on how much time your runbook jobs execute in the system
Number of Runbooks
• Total number of runbooks you have in the system
Integration Module Size
• Total size of all modules you have imported into the system.
• Azure module is there by default
Typical Azure Automation Scenarios
Patch Azure IaaS VMs without downtime, leveraging Traffic manager.
Enable regeneration of storage account keys while avoiding downtime in the application.
SQL Backup on a schedule.
Backup and restore IaaS VMs.
Deploy a VM on an Azure / On-Premise cloud and enable monitoring for the VM.
Deploy a new service to Azure and configure the end points for CPU and Memory alerts.
Deploy application from Git, run validation tests, and swap to production if tests pass.
Monitor SharePoint online for an approval to update a service and update the service once approved.
Alert on a VM then turn on tracing, collect logs, upload to Azure Storage and make available in Visual Studio for troubleshooting.
Monitor for when a new service gets created, and configure it for the right tracing / backup policy.
Notify users of a subscription who have underutilized VMs and perform remediation.
Change Control & Provisioning
Demo
Automation Accounts & Dashboard
Create Automation AccountsOrganize your automation by group or individual contributor
Accounts can live in different regions
Create up to 30 accounts
Use Automation DashboardOperational dashboard for analysis and troubleshooting
Quickly access “problem” jobs to get up and running quickly
Runbook Authoring
AuthorCreate PowerShell Workflow runbooks
Call existing runbooks in library
Manage and browse and insert assets in runbooksModules and Activities
Credentials (PowerShell Credentials and Certificates)
Variables (standard and encrypted)
Connections
Schedules
TestRun runbook and see results within authoring window
Troubleshoot issues
PublishEdit draft before publishing
Manage Runbooks & Jobs
Dashboard ViewView runbook jobs over timeFind jobs that may need attention
Runbooks ViewFiltering of jobs based on status and dateIdentify authoring state (New, In edit, Published)Filter by tags to group related runbooks
Jobs ViewHistory of jobs per runbookWho last updated and whenInput parameters and outputDrill into each job to view streams generated to help troubleshootingStop, Suspend and Resume job
Manage Automation Assets
Manage global assetsAdd additional integration modulesUpdate to new versions of integration modulesCreate / manage credentialsCreate / manage connectionsCreate / manage variablesManage Schedules
Built on PowerShell Workflow
PowerShell Workflow
• Use Windows PowerShell syntax
• Multi-device management
• Running a single task to manage complex, end-to-end processes
• Automated failure recovery
• Connection and activity retries
Centralized store
• Credentials / certificates
• Global variable
• Global connection for runbooks
• Modules
• Runbooks (draft / published versioning)
• Scheduling
Highly Available
• Runbook servers to process jobs
• Odata Web service to submit / retrieve status
• SQL Server clustering / always on
Historical Analysis
• Historical view of runbook jobs
• Reporting through Excel PowerPivot for ROI
• View runbook used for all jobs
PowerShell Workflow
Centralized store
Highly Available
Historical Analysis
Microsoft Azure
Automation
If you think you will do a task twice – automate it!
Obrigado por sua
presença.