14. 蠻荒時代 – Azure(v1) ASM
• Basic unit – cloud service
• No logic group concept
• No role-based access control
• Slow Blocking deploy
• No deployment template!
15. 蠻荒時代 – Azure(v1) ASM
• Basic unit – cloud service
– Hard to migration virtual machine
– Hard to locate resource
Produc1on
Stage
16. 蠻荒時代 – Azure(v1) ASM Old Portal
• No role-based access control
• Everybody is admin!?
• No Logic group
• DB group
• Service group
• Location group
31. Principles of Infrastructure as Code
• Principle
– Reproducibility
– Consistency
– Repeatability
– Disposability
– Service continuity
– Self-testing systems
– Self-documenting systems
– Small changes
– Version all the things
32. 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
Instan1a1on of repeatable config.
Configura)on à Resource Group
Power of Repeatability
SQL - A Website
Virtual
Machines
SQL-A
Website
[SQL CONFIG] VM (2x)
DEPENDS ON SQLDEPENDS ON SQL
SQLCONFIG
Source: hUps://channel9.msdn.com/Events/Build/2014/2-607