infrastructure automation with chef

17
www.reancloud.com September 23, 2016 Cloud Participates at DevOps Summit, Pune Speaker: Uchit Vyas

Upload: rean-cloud

Post on 16-Apr-2017

289 views

Category:

Software


1 download

TRANSCRIPT

Page 1: Infrastructure Automation with Chef

www.reancloud.comSeptember 23, 2016

Cloud Participates at DevOps Summit, Pune

Speaker: Uchit Vyas

Page 2: Infrastructure Automation with Chef

2

Infrastructure Automation with Chef

By: Uchit Vyas (Cloud Architect)

Page 3: Infrastructure Automation with Chef

3

Uchit’s Introduction

• Working @ REAN Cloud, India• Infrastructure Automation Domain• Authored 4 books on Cloud with the following titles & counting:

Page 4: Infrastructure Automation with Chef

4

Code Infrastructure

Infrastructure Code

Infrastructure AS Code

Page 5: Infrastructure Automation with Chef

5

Building and Managing

Infrastructure Programmatically

Page 6: Infrastructure Automation with Chef

6

At High Level

A Custom Library A Configuration Management Platform A System Integration Platform Fine-grained API for Infrastructure Fine-grained API and Auditing

Page 7: Infrastructure Automation with Chef

7

Chef Principles

It’s a Language Idempotency Managed State of Infrastructure Reasonability

Page 8: Infrastructure Automation with Chef

8

Chef with Automation

Infrastructure

Deployment

Provisioning

Page 9: Infrastructure Automation with Chef

9

Infrastructure-as-Code: Chef Configuration of your Servers Versioning Capability Managed Source-code Managed CM as Idempotent Resources

Page 10: Infrastructure Automation with Chef

10

Chef Components

Page 11: Infrastructure Automation with Chef

11

Managing Complexity

Organizations Environments Roles Nodes Recipes Cookbooks Search

Page 12: Infrastructure Automation with Chef

12

Chef: Develop, Test and Deploy

Image source: https://docs.chef.io/chef_overview.html

Page 13: Infrastructure Automation with Chef

13

Chef-client RunWhile initiating chef-client execution, it executes all steps to bring the node into the expected end state, including:

Registering/Re-registering and authenticating the node with the Chef server

Building the node object Synchronizing cookbooks from chef-server by validating

associated roles and cookbooks for given node Compiling associated resources by loading each of the required

cookbooks, including recipes, attributes, libraries and all other dependencies

Performing the appropriate and required actions to configure bring the node into expected state

Looking for exceptions (if any) and notifications, handling each as required by the logic

Page 14: Infrastructure Automation with Chef

14

Chef-Client Run

Image source: https://docs.chef.io/chef_overview.html

Page 15: Infrastructure Automation with Chef

15

It’s All Rubyhttp://wiki.opscode.com/display/chef/

Just+Enough+Ruby+for+Chef

“Just Enough Ruby for Chef”

Page 16: Infrastructure Automation with Chef

16

Start a thread with us now!

To learn more about the DevOps Summit, you can visit: http://www.unicomlearning.com/2016/Devops_Summit_Pune/

Or check out the Event Facebook page: www.facebook.com/joinunicom

For any DevOps related questions, please drop us a line at: [email protected]

Page 17: Infrastructure Automation with Chef

THANK YOUconnect with us at [email protected]