"SessionTitle": "Infrastructure as Code"

Slides:



Advertisements
Similar presentations
Introduction to Azure Resource Manager Gautam Thapar Senior Program Nathan Totten Senior Program
Advertisements

Agenda  Why Azure Resource Manager  What has already been enabled  Questions/Feedback.
.NET, Visual Studio, TFS + Git | Java, NodeJS, PHP, Python, Ruby, C++ Data SQL Databases NoSQL Tables Blob Storage HDInsight Window s Azure IaaS +
Automating Operational and Management Tasks in Microsoft Operations Management Suite and Azure
MANAGE CLOUD EASILY WITH AZURE RESOURCE MANAGER
Infrastructure as code. “Enable the reconstruction of the business from nothing but a source code repository, an application data backup, and bare metal.
Enabling the Cloud OS Today  New high-density Web Sites with elastic cloud scaling and complete dev-ops experiences  New rich IaaS experience for self-service.
Copyright © New Signature Who we are: Focused on consistently delivering great customer experiences. What we do: We help you transform your business.
Microsoft Build /28/2017 9:50 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Declarative Configuration Management with Azure Automation DSC and ARM Nathan Lasnoski Vice President of blog.concurrency.com Concurrency.
Top ways to deliver your Java code to the cloud
Microsoft Build /9/2017 5:00 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
11/19/2017 9:41 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Microsoft Virtual Academy
Azure ARM Templates CLD321 Aaron Saikovski
1/27/2018 5:13 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Run Azure Services in your datacenter
Building ARM IaaS Application Environment
Stress Free Deployments with Octopus Deploy
4/24/ :07 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Microsoft /23/2018 8:20 PM THR3038 Implement dev and test scenarios using Azure and Visual Studio Team Services Alex Mang Azure MVP © 2016 Microsoft.
Ed OMS Team 5/29/2018 1:05 PM PowerShell as a Service Managing clouds, Windows, Linux, on-premises or public with Microsoft Operations.
Developing Hybrid Apps on Microsoft Azure Stack
Red Hat OpenShift on Microsoft Azure
Transform your IT Skills in a DevOps World
Cloud Data platform (Cloud Application Development & Deployment)
Microsoft Ignite /17/ :54 PM BRK2092
Understand Hybrid Identity with Azure and Azure Stack
Configuration Management with Azure Automation DSC
Azure API Management Jothi Prakash A
Design and Implement Cloud Data Platform Solutions
Microsoft Virtual Academy
Continuous Delivery of Windows Azure Cloud Services (DEV310)
Azure IaaS 101.
Service Fabric Patterns & Best Practices
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Release Management with Visual Studio Team Services
Microsoft Azure: Infrastructure as a Service (IaaS)
Azure Infrastructure as a Service
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Build /21/2018 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
Microsoft Connect /7/ :48 PM
Microsoft IT process automation – an unexpected journey
DevOps Fundamentals Configuration Management
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
持續的產出Windows Azure 雲端服務
11/29/2018 2:52 AM MDC317A Continuous Delivery - The Agile End to End Story for Developers & IT Pros! Morgan Webb Technical © 2013.
Build /2/ The future of Azure devops: Building and managing cloud applications lifecycle across your teams Bradley Millington Program.
ARM and Compliance Vishwas Lele & Jason McNutt
12/5/ :36 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Modern cloud PaaS for mobile apps, web sites, API's and business logic apps
Microsoft Virtual Academy
Introduction to Building Applications with Windows Azure
12/26/2018 1:44 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Create IaaS SQL Server Test Premise Environment in Azure Cloud
Microsoft Connect /22/2019 9:54 PM
The Ops side of DevOps Manager Microsoft
Microsoft Azure Managing Users & Resources with Azure Resource Manager
Microsoft Ignite NZ October 2016 SKYCITY, Auckland
HCL’s Viewpoint – DevOps on MS Cloud
DevOps Deep Dive / DevOps in action
4/20/ :00 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Microsoft Build /4/ :50 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
5/6/2019 7:40 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS.
Microsoft Virtual Academy
Microsoft Virtual Academy
Productive + Hybrid + Intelligent + Trusted
Build /24/ What's new for Azure developers in Visual Studio 2013 update 2 and Azure SDK 2.3 Dan Fernandez Principal PM
Azure DevOps Integration
Miao Jiang API Management: deep dive - Part 1
Presentation transcript:

"SessionTitle": "Infrastructure as Code" { "parameters": { "SessionTitle": "Infrastructure as Code" }, "variables": { "Speaker": "Marcel Zehner", "Role": "itnetX CTO" "resources": [ ], }

Challenges in a modern IT landscape More and more complex infrastructures Relations between components Modification of a component has impact on others Configuration drifts Admins don’t follow the processes No change management Manual configuration Slow, errors, inconsistent and boring Too many permissions And tons of other challenges …

2 Approaches for IaC Imperative (procedural) Declarative (functional) Configuration is done step-by-step Automation scripts deploy and configure everything Classic approach (Powershell Scripts, Batch Files, SDK etc.) Declarative (functional) Final state of system is described Automation process configures everything as described Modern approach (Azure Resource Manager, Powershell DSC) And many 3rd Party Tools (e.g. Puppet or Chef)

imperative declarative 2 Approaches for IaC New-AzureVM –VM $myVM New-AzureStorageAccount –StorageAccountName $acct Set-AzureVNetConfig –ConfigurationPath -Path imperative declarative { "$schema": "https://../deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {}, "variables": {}, "resources": [], "outputs": {} }

Demo Imperative Azure Provisioning 14.11.2018

Azure Resource Manager (ARM) Manages resource providers Resource providers manage resources Azure virtual network Azure sql database Azure LogicApp Azure virtual machine Etc.

Azure Resource Manager (ARM) Resources can be grouped in resource groups Containers Resources that share the same lifecycle Every resource exists in only 1 resource group Access delegation to resource group possible RBAC Resource Group

Consistent Management Layer Azure Resource Manager Consistent Management Layer Tools Visual Studio Microsoft Azure Command line RESOURCE MANAGER API RESOURCE MANAGER Contoso ADFS AAD Curated extensions Azure AD ADFS RESOURCE PROVIDER CONRACT Resource Providers DB

One Azure Ecosystem Microsoft Azure Microsoft Azure Stack Applications Microsoft Build 2016 11/14/2018 1:42 PM One Azure Ecosystem Applications Windows | Linux Java, PHP, .NET, … IaaS PaaS Containers Operations Templates PowerShell, CLI Puppet, Chef, DSC Metrics Diagnostics Experiences Portal Gallery RBAC GitHub … Tools Visual Studio Eclipse … Azure Ecosystem Microsoft Azure Public National Government Service Providers Enterprises Microsoft Azure Stack © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

ARM Templates ARM has an API that understands human-readable JSON Files Declarative, not imperative Can be created in a variety of tools Visual Studio Code Visual Studio with Azure SDK Lifecycle Describe the app Test the deployment in Test Environment Deploy the exact same configuration in the production environment

Source Control & Versioning Follow DevOps processes and best practices Available solutions Visual Studio Online TFS Git/Github

Demo Creating and deploying an ARM template 14.11.2018

Powershell DSC Overview Declarative approach for VM configuration VM can be deployed with ARM Step 2 would be the configuration of the VM MOF file assigned to VM One or more, depending on requirements and used technologies Can be pushed or pulled Local configuration manager consumes the configuration Monitor only Remediate

Powershell DSC Step-by-Step Create DSC Configuration File Import into Azure Automation Compile Configuration File into Node Configuration Files One MOF per Role Existing Files are overwritten Add DSC Nodes to Azure Automation Pull Server Azure VMs (VM DSC Extension) Any other VMs Assign Node Configuration to VM

Powershell DSC Step-by-Step

Demo Managing VMs with Azure Automation DSC 14.11.2018

Conclusion Use declarative approach where possible Use Version Control Azure Resource Manager (ARM) Powershell DSC, Azure Automation DSC Use Version Control VSO, TFS, GitHub etc. Visual Studio and Powershell are your friends, not your enemies!

"SessionTitle": "Infrastructure as Code" { "parameters": { "SessionTitle": "Infrastructure as Code" }, "variables": { "Speaker": "Marcel Zehner", "Role": "itnetX CTO" "resources": [ ], }