Marc Müller 4tecture GmbH, Schweiz
Nico Orschel AIT GmbH & Co. KG, Deutschland
Test- und Releaseumgebungen
Agenda
• Einführung in Release Management
• Azure Resource Manager
• Azure Dev / Test
Release Process
Release Cycle
Platform Services
Security &
Management
Infrastructure Services
Web Apps
Mobile
Apps
API
Management
API
Apps
Logic
Apps
Notification
Hubs
Content Delivery
Network (CDN)
Media
Services
HDInsight Machine
Learning
Stream
Analytics
Data
Factory
Event
Hubs
Mobile
Engagement
Active
Directory
Multi-Factor
Authentication
Automation
Portal
Key Vault
Biztalk
Services
Hybrid
Connections
Service
Bus
Storage
Queues
Store /
Marketplace
Hybrid
Operations
Backup
StorSimple
Site
Recovery
Import/Export
SQL
Database
DocumentDB
Redis
Cache Search
Tables
SQL Data
Warehouse
Azure AD
Connect Health
AD Privileged
Identity
Management
Operational
Insights
Cloud
Services
Batch Remote App
Service
Fabric Visual Studio
Application
Insights
Azure SDK
Team Project
VM Image Gallery
& VM Depot
Enabling continuous value delivery
Feedback
Feedback
Approval Approval
Azure Resource Manager
Azure Resource Manager
• Application Lifecycle Container
• Declarative solution for Deployment and Configuration
• Consistent Management Layer
Consistent
management
layer
ADFS
AAD
GSM
SERVICEMANAGEMENT API
Tools
Provider
Rest Points
RESOURCEGROUP MANAGER
Microsoft Azure Command Line Visual Studio
RESOURCEPROVIDERCONTRACT
CONTOSO
Cloud On-Premises
AZURE RESOURCE MANAGER (ARM)
ADFS
AAD
GSM
SERVICEMANAGEMENT API
Tools
Provider
Rest Points
RESOURCEGROUP MANAGER
Microsoft Azure Command Line Visual Studio
RESOURCEPROVIDERCONTRACT
CONTOSO
Cloud On-Premises
Resource
providers
ADFS
AAD
GSM
SERVICEMANAGEMENT API
Tools
Provider
Rest Points
RESOURCEGROUP MANAGER
Microsoft Azure Command Line Visual Studio
RESOURCEPROVIDERCONTRACT
CONTOSO
Cloud On-Premises
Tools
Microsoft Azure PowerShell Visual Studio
AZURE RESOURCE MANAGER (ARM)
SERVICE MANAGEMENT API
RESOURCE PROVIDER CONTRACT
Azure Resource Manager Describe
WHERE
Resource Inventory
WHAT
Component Relationships
HOW
Tags + links + groups
Control
WHO
Access control
WHAT
Changes
HOW
RBAC
Provision
WHERE
Across Regions
WHAT
Across Resources
HOW
In service and in guest
Azure Templates can:
• Ensure Idempotency
• Simplify Orchestration
• Simplify Roll-back
• Provide Cross-Resource Configuration
and Update Support
Azure Templates are:
• Source file, checked-in
• Specifies resources and dependencies
(VMs, WebSites, DBs) and connections
(config, LB sets)
• Parametized input/output
Instantiation of repeatable config.
Configuration → Resource Group
Power of Repeatability
SQL - A Website
Virtual
Machines
SQL-A
Website
[SQL CONFIG] VM (2x)
DEPENDS ON SQLDEPENDS ON SQL
SQL CONFIG
Model Structure
Resource Groups
• Manage resources as a
single unit
• Role based access and
control (RBAC) on
groups or resources
• Billing integrated tagging
on groups or resources
RESOURCE GROUP
Notepad++
Visual
Studio
Automation
Script
Visual
Studio
Code
Tooling
Demo ARM Simple
Visual Studio Code
Beispiel - Visual Studio Code
Visual Studio
ARM DIAGNOSE
https://resources.azure.com/
Automation Script
(formerly known as ARM export)
DevOps Toolchain in a nutshell
TFS / VSTS
Release
Management
Source
Control
Build
vNext
Binaries
/ App
Binaries
/ Test
Environ
ment
Release
Managment
Customer
Szenarien RM und Umgebungen
• Services f. Kunden (Webportale, ...)
– Test findet in IaaS / PaaS statt (VM/WebApp/...)
– Prod ist identisch zu Test
• Klassische Program zum Download
– Test findet in IaaS statt („Lab Management“)
– Prod ist Download-Portal
Demo ARM DevOps
in Real Life
Azure Dev/Test
Azure Dev/Test Labs
• A service to manage team environments
• Integrated in Azure Portal
• Create Environments based on Templates
• Artefacts can be added to environment (from repo)
• Role based access
• Auto Start and Auto Shutdown
• Build Task Integration
Demo Azure Dev/Test Lab
Release Management Integration
„Preview“
https://marketplace.
visualstudio.com/items
?itemName=
ms-azuredevtestlabs.tasks
Release Management Integration
Fazit
Was wir nicht näher behandelt haben…
• PowerShell DSC (Desired State Configuration)
• Docker / Container
• Scripting
• Setups
Fazit
• Configuration by Code
• Automatisierung / DevOps Prozess
• Flexible Ressourcen-Nutzung in der Cloud
• Pay-as-you-go Cloud Modell
KONTAKT
Nico.Orschel@aitgmbh.de
+49 151 55052624
@nicoorschel
AIT GmbH & Co. KG
Leitzstr. 45, 70469 Stuttgart
www.aitgmbh.de
BERATUNG
Agile ALM und TFS
.NET und Architektur
ENTWICKLUNG
Dienstleister für individuelle
Lösungen mit .NET und Azure
© AIT GmbH & Co. KG – Alle genannten und gezeigten Marken oder Warenzeichen sind eingetragene Marken oder eingetragene Warenzeichen ihrer jeweiligen Eigentümer und ggf. nicht gesondert gekennzeichnet. Aus dem Fehlen der
Kennzeichnung kann nicht geschlossen werden, daß es sich bei einem Begriff oder einem Bild nicht um eine eingetragene Marke oder ein eingetragenes Warenzeichen handelt.
Marc Müller
Principal Consultant
für DevOps, ALM, TFS /VS, .NET
E-Mail: marc.mueller@4tecture.ch
Webseite: http://www.4tecture.ch
Schulungen: http://4tecture.ch/trainings
Blog: http://4tecture.ch/blog
Twitter: @muellermarc

Basta 2016 - Test- und Releaseumgebungen in der Cloud

  • 1.
    Marc Müller 4tectureGmbH, Schweiz Nico Orschel AIT GmbH & Co. KG, Deutschland Test- und Releaseumgebungen
  • 2.
    Agenda • Einführung inRelease Management • Azure Resource Manager • Azure Dev / Test
  • 3.
  • 4.
  • 6.
    Platform Services Security & Management InfrastructureServices Web Apps Mobile Apps API Management API Apps Logic Apps Notification Hubs Content Delivery Network (CDN) Media Services HDInsight Machine Learning Stream Analytics Data Factory Event Hubs Mobile Engagement Active Directory Multi-Factor Authentication Automation Portal Key Vault Biztalk Services Hybrid Connections Service Bus Storage Queues Store / Marketplace Hybrid Operations Backup StorSimple Site Recovery Import/Export SQL Database DocumentDB Redis Cache Search Tables SQL Data Warehouse Azure AD Connect Health AD Privileged Identity Management Operational Insights Cloud Services Batch Remote App Service Fabric Visual Studio Application Insights Azure SDK Team Project VM Image Gallery & VM Depot
  • 7.
    Enabling continuous valuedelivery Feedback Feedback Approval Approval
  • 8.
  • 9.
    Azure Resource Manager •Application Lifecycle Container • Declarative solution for Deployment and Configuration • Consistent Management Layer
  • 10.
    Consistent management layer ADFS AAD GSM SERVICEMANAGEMENT API Tools Provider Rest Points RESOURCEGROUPMANAGER Microsoft Azure Command Line Visual Studio RESOURCEPROVIDERCONTRACT CONTOSO Cloud On-Premises AZURE RESOURCE MANAGER (ARM) ADFS AAD GSM SERVICEMANAGEMENT API Tools Provider Rest Points RESOURCEGROUP MANAGER Microsoft Azure Command Line Visual Studio RESOURCEPROVIDERCONTRACT CONTOSO Cloud On-Premises Resource providers ADFS AAD GSM SERVICEMANAGEMENT API Tools Provider Rest Points RESOURCEGROUP MANAGER Microsoft Azure Command Line Visual Studio RESOURCEPROVIDERCONTRACT CONTOSO Cloud On-Premises Tools Microsoft Azure PowerShell Visual Studio AZURE RESOURCE MANAGER (ARM) SERVICE MANAGEMENT API RESOURCE PROVIDER CONTRACT
  • 11.
    Azure Resource ManagerDescribe WHERE Resource Inventory WHAT Component Relationships HOW Tags + links + groups Control WHO Access control WHAT Changes HOW RBAC Provision WHERE Across Regions WHAT Across Resources HOW In service and in guest
  • 12.
    Azure Templates can: •Ensure Idempotency • Simplify Orchestration • Simplify Roll-back • Provide Cross-Resource Configuration and Update Support Azure Templates are: • Source file, checked-in • Specifies resources and dependencies (VMs, WebSites, DBs) and connections (config, LB sets) • Parametized input/output Instantiation of repeatable config. Configuration → Resource Group Power of Repeatability SQL - A Website Virtual Machines SQL-A Website [SQL CONFIG] VM (2x) DEPENDS ON SQLDEPENDS ON SQL SQL CONFIG
  • 13.
  • 14.
    Resource Groups • Manageresources as a single unit • Role based access and control (RBAC) on groups or resources • Billing integrated tagging on groups or resources RESOURCE GROUP
  • 15.
  • 16.
  • 17.
  • 18.
    Beispiel - VisualStudio Code
  • 19.
  • 20.
  • 21.
  • 22.
    DevOps Toolchain ina nutshell TFS / VSTS Release Management Source Control Build vNext Binaries / App Binaries / Test Environ ment Release Managment Customer
  • 23.
    Szenarien RM undUmgebungen • Services f. Kunden (Webportale, ...) – Test findet in IaaS / PaaS statt (VM/WebApp/...) – Prod ist identisch zu Test • Klassische Program zum Download – Test findet in IaaS statt („Lab Management“) – Prod ist Download-Portal
  • 24.
  • 25.
  • 26.
    Azure Dev/Test Labs •A service to manage team environments • Integrated in Azure Portal • Create Environments based on Templates • Artefacts can be added to environment (from repo) • Role based access • Auto Start and Auto Shutdown • Build Task Integration
  • 27.
  • 31.
  • 32.
  • 33.
  • 34.
    Was wir nichtnäher behandelt haben… • PowerShell DSC (Desired State Configuration) • Docker / Container • Scripting • Setups
  • 35.
    Fazit • Configuration byCode • Automatisierung / DevOps Prozess • Flexible Ressourcen-Nutzung in der Cloud • Pay-as-you-go Cloud Modell
  • 37.
    KONTAKT Nico.Orschel@aitgmbh.de +49 151 55052624 @nicoorschel AITGmbH & Co. KG Leitzstr. 45, 70469 Stuttgart www.aitgmbh.de BERATUNG Agile ALM und TFS .NET und Architektur ENTWICKLUNG Dienstleister für individuelle Lösungen mit .NET und Azure © AIT GmbH & Co. KG – Alle genannten und gezeigten Marken oder Warenzeichen sind eingetragene Marken oder eingetragene Warenzeichen ihrer jeweiligen Eigentümer und ggf. nicht gesondert gekennzeichnet. Aus dem Fehlen der Kennzeichnung kann nicht geschlossen werden, daß es sich bei einem Begriff oder einem Bild nicht um eine eingetragene Marke oder ein eingetragenes Warenzeichen handelt.
  • 38.
    Marc Müller Principal Consultant fürDevOps, ALM, TFS /VS, .NET E-Mail: marc.mueller@4tecture.ch Webseite: http://www.4tecture.ch Schulungen: http://4tecture.ch/trainings Blog: http://4tecture.ch/blog Twitter: @muellermarc