+ All Categories
Home > Documents > Infrastructure as code. “Enable the reconstruction of the business from nothing but a source code...

Infrastructure as code. “Enable the reconstruction of the business from nothing but a source code...

Date post: 21-Jan-2016
Category:
Upload: griffin-bradford
View: 216 times
Download: 0 times
Share this document with a friend
15
Infrastructure as code
Transcript
Page 1: Infrastructure as code. “Enable the reconstruction of the business from nothing but a source code repository, an application data backup, and bare metal.

Infrastructure as code

Page 2: Infrastructure as code. “Enable the reconstruction of the business from nothing but a source code repository, an application data backup, and bare metal.

“Enable the reconstruction of the business from nothing but a source code repository, an application data backup, and bare metal

resources”Jesse Robins 

Page 3: Infrastructure as code. “Enable the reconstruction of the business from nothing but a source code repository, an application data backup, and bare metal.

Why Infrastructure as code

Business

Development teams Operations/ IT

Page 4: Infrastructure as code. “Enable the reconstruction of the business from nothing but a source code repository, an application data backup, and bare metal.

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

Page 5: Infrastructure as code. “Enable the reconstruction of the business from nothing but a source code repository, an application data backup, and bare metal.

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

Page 6: Infrastructure as code. “Enable the reconstruction of the business from nothing but a source code repository, an application data backup, and bare metal.

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

Page 7: Infrastructure as code. “Enable the reconstruction of the business from nothing but a source code repository, an application data backup, and bare metal.

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

Page 8: Infrastructure as code. “Enable the reconstruction of the business from nothing but a source code repository, an application data backup, and bare metal.

Current state

Infrastructure automation

Stable DTAPChanges to

infrastructure in small iterations

Test against lower

environments

Automated releases

Release often

Continuous monitoring

Integrated into pipeline

Page 9: Infrastructure as code. “Enable the reconstruction of the business from nothing but a source code repository, an application data backup, and bare metal.

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?

Page 10: Infrastructure as code. “Enable the reconstruction of the business from nothing but a source code repository, an application data backup, and bare metal.

Infrastructure management

Configuration

Node Node

RoleResource

Resource

Resource

Resource

Resource

Page 11: Infrastructure as code. “Enable the reconstruction of the business from nothing but a source code repository, an application data backup, and bare metal.

Components of Infrastructure as code

Node

Node

Node

Node

Node

Node

Workstation

Version control

Configuration management

server

Users

Continuous integration

Page 12: Infrastructure as code. “Enable the reconstruction of the business from nothing but a source code repository, an application data backup, and bare metal.

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

Page 13: Infrastructure as code. “Enable the reconstruction of the business from nothing but a source code repository, an application data backup, and bare metal.

Ansible

Demo – Open source track

Page 14: Infrastructure as code. “Enable the reconstruction of the business from nothing but a source code repository, an application data backup, and bare metal.

PowerShell DSCVisual Studio Team ServicesAzureGitChocolateyPester/ FluentShell unitChefReportsRelease pipeline

Demo – Microsoft track


Recommended