Normation – CC-BY-SA normation.com
Interfacing infrastructure as code with non-expert users
Jonathan CLARKE – jcl@normation.com @jooooooon42 (that's 7 'o's)
Interfacing infrastructure as code with non-expert users Jonathan - - PowerPoint PPT Presentation
Interfacing infrastructure as code with non-expert users Jonathan CLARKE jcl@normation.com @jooooooon42 (that's 7 'o's) Normation CC-BY-SA normation.com Who am I? Jonathan Clarke Origins: Sysadmin, infrastructure management Work at
Normation – CC-BY-SA normation.com
Jonathan CLARKE – jcl@normation.com @jooooooon42 (that's 7 'o's)
2
Normation – CC-BY-SA normation.com
Who am I?
Origins: Sysadmin, infrastructure management Work at Creator of and ncf.io Co-organizer of events:
3
Normation – CC-BY-SA normation.com
Automated configuration rocks!
Scalable Manage 1 to > 100000 servers the same way Save time Deploy faster & be more responsive to changes Improve reliability Avoid manual errors, harmonize configurations
4
Normation – CC-BY-SA normation.com
Automated configuration rocks!
Scalable Manage 1 to > 100000 servers the same way Save time Deploy faster & be more responsive to changes Improve reliability Avoid manual errors, harmonize configurations
5
Normation – CC-BY-SA normation.com
Develop applications and deploy them, manage IT operations, security, etc etc etc ...
On automation and sharing
6
Normation – CC-BY-SA normation.com
A minority of the team will learn a tool and it's
On automation and sharing
7
Normation – CC-BY-SA normation.com
Changes, deployments, new features... all end up requiring <your chosen CM tool>, therefore the “experts”.
On automation and sharing
8
Normation – CC-BY-SA normation.com
They have a choice: learn or get left behind.
On automation and sharing
9
Normation – CC-BY-SA normation.com
On automation and sharing
Are we actually standing in the way of automated configuration by pushing ahead?
10
Normation – CC-BY-SA normation.com
On automation and sharing
ssh box.company.com rpm -i software.rpm vi /etc/software.conf service software restart
BEFORE AFTER (or similar!) and more, and git/svn, etc...
11
Normation – CC-BY-SA normation.com
Getting everyone on board?
Frustration “I can do it quicker by hand or with a shell script” Steep learning curve New concepts, non obvious syntaxes, paradigm, ... Lack of motivation “What do I have to gain from using this tool?”
12
Normation – CC-BY-SA normation.com
Or as XKCD puts it...
Illustration CC BY-NC 2.5 from http://xkcd.com
13
Normation – CC-BY-SA normation.com
Photo CC BY-NC-SA 2.0 from https://www.flickr.com/photos/albaum/
14
Normation – CC-BY-SA normation.com
Getting everyone on board?
Frustration “I can do it quicker by hand or with a shell script” Steep learning curve New concepts, non obvious syntaxes, paradigm, ... Lack of motivation “What do I have to gain from using this tool?”
→ Provide simpler interfaces! → Show the benefits! → Enable quick wins!
15
Normation – CC-BY-SA normation.com
Steep learning curve New concepts, non obvious syntaxes, paradigm, ...
Approach
16
Normation – CC-BY-SA normation.com
Lack of motivation “What do I have to gain from using this tool?”
Approach
17
Normation – CC-BY-SA normation.com
Frustration “I can do it quicker by hand or with a shell script”
Approach
18
Normation – CC-BY-SA normation.com
What should it look like?
Abstraction layer Decision level Expert level
Define goals Analyse reports Fine tune modules Manage stack
Consolidation layer
Use available methods Focus on task at hand
Main IT level
19
Normation – CC-BY-SA normation.com
What should it look like?
Abstraction layer Decision level Expert level
Define goals Analyse reports Fine tune modules Manage stack
Consolidation layer
Use available methods Focus on task at hand
Main IT level
20
Normation – CC-BY-SA normation.com
What should it look like?
Abstraction layer Decision level Expert level
Define goals Analyse reports Fine tune modules Manage stack
Consolidation layer
Use available methods Focus on task at hand
Main IT level
21
Normation – CC-BY-SA normation.com
An example
Open source - GPLv3
22
Normation – CC-BY-SA normation.com
What is ncf?
23
Normation – CC-BY-SA normation.com
What should it look like?
Abstraction layer Expert level
Define goals Analyse reports Fine tune modules Manage stack
Consolidation layer
Use available methods Focus on task at hand
Decision level Main IT level
24
Normation – CC-BY-SA normation.com
ncf: A layered approach
Generic methods
Unit tasks: “Copy file”, “Install package”, … Implement the “how”
25
Normation – CC-BY-SA normation.com
ncf: A layered approach
Techniques
Use the provided methods, keep focus Supply “data”
Generic methods
Unit tasks: “Copy file”, “Install package”, … Implement the “how”
26
Normation – CC-BY-SA normation.com
ncf: A layered approach
Generic methods Services
Get an overview Benefit from CM
Techniques
Use the provided methods, keep focus Supply “data” Unit tasks: “Copy file”, “Install package”, … Implement the “how”
27
Normation – CC-BY-SA normation.com
What is ncf?
28
Normation – CC-BY-SA normation.com
An even nicer interface
29
Normation – CC-BY-SA normation.com
Rudder
30
Normation – CC-BY-SA normation.com
Overview
31
Normation – CC-BY-SA normation.com
Overview
32
Normation – CC-BY-SA normation.com
Overview
33
Normation – CC-BY-SA normation.com
Overview
34
Normation – CC-BY-SA normation.com
What should it look like?
Abstraction layer Expert level
Define goals Analyse reports Fine tune modules Manage stack
Consolidation layer
Use available methods Focus on task at hand
Decision level Main IT level
35
Normation – CC-BY-SA normation.com
On automation and sharing
Normation – CC-BY-SA normation.com
Check it out on: http://www.ncf.io/
Jonathan CLARKE – jcl@normation.com @jooooooon42 (that's 7 'o's)
Check it out on: http://rudder.cm/