Top Banner
CHEF A Meme filled Overview
20
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Chef Overview Pecha Kucha

CHEFA Meme filled Overview

Page 2: Chef Overview Pecha Kucha

WHAT IS CHEF?

Page 3: Chef Overview Pecha Kucha

IT’S NOT HIM!It’s A Configuration

Management Framework

Page 4: Chef Overview Pecha Kucha

WHAT’S A CONFIGURATION MANAGEMENT FRAMEWORK?

• Software that allows us to write code that:

• describes our infrastructure

• automates how applications are configured, deployed and managed

Page 5: Chef Overview Pecha Kucha

WHAT’S AN INFRASTRUCTURE?everything that supports the flow and processing of

information

Page 6: Chef Overview Pecha Kucha

WHAT ARE THE COMPONENTS?Nodes, Code and Data

Page 7: Chef Overview Pecha Kucha

THE NODEusually just a server

has attributesand a run list

Page 8: Chef Overview Pecha Kucha

OHAI ATTRIBUTES!

Page 9: Chef Overview Pecha Kucha

ATTRIBUTESDefined via code, overridable

Page 10: Chef Overview Pecha Kucha

RUN LIST!

All of the configuration necessary to put a node in the desired state.

• “Install Java”

• “Configure the web server”

• “Configure the database”

• “Configure the firewall”

Page 11: Chef Overview Pecha Kucha

THE CODEWritten in recipes which are

collected in cookbooks

Page 12: Chef Overview Pecha Kucha

DOMAIN SPECIFIC LANGUAGE

• A programing language dedicated to a particular aspect of a system

• Ruby syntax

• “Resources” provided to manage common things

Page 13: Chef Overview Pecha Kucha

EXTENSIBLEwe can write our own

resources and extend the DSL

Page 14: Chef Overview Pecha Kucha

IDEMPOTENT

operations that can be applied multiple times without changing the result beyond the initial application

Page 15: Chef Overview Pecha Kucha

THE DATAdata bags

Page 16: Chef Overview Pecha Kucha

DATA BAGSsearchable, JSON format, encryption

Page 17: Chef Overview Pecha Kucha

WHAT ARE SOME BENEFITS OF CHEF?

• Same code used to configure all environments

• Infrastructure is version controlled like your apps

• Infrastructure code is testable

Page 18: Chef Overview Pecha Kucha

REUSABLE CODE

Page 19: Chef Overview Pecha Kucha

WHAT HAVE WE DONE SO FAR?

• Repository to store our built artifacts and 3rd party dependencies

• Automate the backup of our databases

• Automate the service wrapper that all of our apps use

• More in progress

Page 20: Chef Overview Pecha Kucha