infrastructure as code. “enable the reconstruction of the business from nothing but a source code...
Post on 21-Jan-2016
216 Views
Preview:
TRANSCRIPT
Infrastructure as code
“Enable the reconstruction of the business from nothing but a source code repository, an application data backup, and bare metal
resources”Jesse Robins
Why Infrastructure as code
Business
Development teams Operations/ IT
Consistently repeat the configurations.Tested and verified.Shared and promoted across the entire environment.Provide building blocks for the continuous delivery pipeline.
Why Infrastructure as code
How infrastructure evolves
Define topology
Create tech. design
Setup infrastructur
e
Availability set Availability setAvailabilit
y set
Virtual Network
Index
Site 1
Site 2
Site N
Search
Word Automation
Excel services
BCS
MMS
Reporting
Manual Deployments
Release notes
Deployment cycles
Errors
Solution?
D T A P
App servers
Reporting
DB server
Replication
Domain controller
Domain controller
Web server
Web server
Index
Site 1
Site 2
Site N
Items of complexity
What’s so complex?
.NET framework
Web Server
Application pools
Service accounts
Permissions
Server log files
Web content
Registry settings
Users
Index locations
Updates
Antivirus
PowerShell modules
Utilities
Groups
Configuration changes
Firewall rules
Ports
Trusted computers
Network configurations
Files
How infrastructure evolves
Define topology
Create tech. design
Setup infrastructur
e
Availability set Availability setAvailabilit
y set
Virtual Network
Index
Site 1
Site 2
Site N
Search
Word Automation
Excel services
BCS
MMS
Reporting
Manual Deployments
Release notes
Deployment cycles
Errors
Solution?
D T A P
App servers
Reporting
DB server
Replication
Domain controller
Domain controller
Web server
Web server
Index
Site 1
Site 2
Site N
Current state
Infrastructure automation
Stable DTAPChanges to
infrastructure in small iterations
Test against lower
environments
Automated releases
Release often
Continuous monitoring
Integrated into pipeline
Allow you to define the desired state of the systemThe how part is taken care by the software that converts the system to the desired state.
Desired state?
Infrastructure management
Configuration
Node Node
RoleResource
Resource
Resource
Resource
Resource
Components of Infrastructure as code
Node
Node
Node
Node
Node
Node
Workstation
Version control
Configuration management
server
Users
Continuous integration
Components of Infrastructure as code
Workstation
Server Node
Create and authorize configurations
Manage nodes, roles, data etc.
Manage cloud resources
Push configurations
Monitor
Manage
History and reporting
Contact server and pulls configurations
Compile and run
Ansible
Demo – Open source track
PowerShell DSCVisual Studio Team ServicesAzureGitChocolateyPester/ FluentShell unitChefReportsRelease pipeline
Demo – Microsoft track
Prajeesh Prathap
CONTACT
Technical Agile consultant
Thank you
Maarten Kossen
CONTACT
Technical Agile consultant
top related