140 likes | 245 Views
DEVCON 7 Infra as code. Aymeric Weinbach MVP Microsoft Azure @ aymericw. SQL. D. A. T. ABASE. VI. R. T. U. AL M. A. CHINE. S. T. OR. A. GE. Scénario simple. Un site Wordpress avec sa base de données MySQL Comment gérer en Infra As Code avec Microsoft Azure.
E N D
DEVCON 7 Infra as code Aymeric Weinbach MVP Microsoft Azure @aymericw
SQL D A T ABASE VI R T U AL M A CHINE S T OR A GE Scénario simple Un site Wordpress avec sa base de données MySQL Comment géreren Infra As Code avec Microsoft Azure
Introducing Resource Manager Application Lifecycle Container Declarative solution for Deployment and Configuration Consistent Management Layer
Resource Group is a unit of management • Lifecycle: deployment, update, delete, status • Identity: resources can talk to each other Grouping:Metering, billing, quota: applied & rolled up to group Coupling for Resources
Question: Should these resources be in the same group or a different one? Hint: Do they have common lifecycle and management? Answer: Up to you. Resource Group Lifecycle
SQL-A Website [SQL CONFIG] VM (2x) DEPENDS ON SQL DEPENDS ON SQL Virtual SQL - A Website Machines SQL C ONFIG Instantiation of repeatable config. Configuration Resource Group 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 Power of Repeatability
https://github.com/Azure/azure-quickstart-templates Try It at home
Univers Kubernetes • Azure Kubernetes Service + Service Catalog + Open Service Broker • Provisioner les ressources Azure directement depuis les outils kubernetes (Helm) Et si on faisait des Container
Provisioner les ressources Azure directement depuis les outils kubernetes (Helm) Open service Broker Azure
Azure Devops pour gérer vos templates ARM dans Azure Pipeline • Coder en Yaml vos pipeline Devops. • https://github.com/Microsoft/azure-pipelines-tasks Devops
MiniKubeQuickstart • https://github.com/Azure/open-service-broker-azure/blob/master/docs/quickstart-minikube.md • AKS Quickstart • https://github.com/Azure/open-service-broker-azure/blob/master/docs/quickstart-aks.md Try this at home
Questions ? Merci