AWS Meetup - Sydney - February

Post on 07-Aug-2015

45 views 1 download

Transcript of AWS Meetup - Sydney - February

Using Chef With AWSAlvin Oh

Senior Technical Consultant (Dius)Email: aoh@dius.com.au

Topics• Key Points on Chef• Chef Execution Methods• Bootstrapping chef-client via Chef Server

• Continuous Delivery Process on AWS using Chef• Chef Development for Developer(s)• CI / CD Processes

• AWS Architecture for Chef• Demo – Dependency Management with Chef Server using

AWS

Chef Key Points• Chef is a tool that builds around automation on how

applications are configured, deployed, and managed across networks.

• Complete rewrite of the core API server in Erlang allows for fast execution.

• Chef Recipes interact better with Windows by using Microsoft DSC (Desired State Configuration).

• Handling of dependencies management is native and well defined (versus Puppet).

Chef Execution

Chef Server

Chef Client 1

Chef Client 2

Chef Client 3

Chef SoloBootstrap Chef Client

Virtual Machine

Agent Agent Agent

• Bootstrapping using KNIFE• Start chef-client RUN

• Install Chef package• Start chef-solo RUN

ChefDK

Chef Linkage

Bootstrap via Chef Server

CI/CD On AWS

CD Architecture for Chef

HA Chef + AWS

https://www.chef.io/solutions/aws/

Demo Key Points

• AWS Instances• Quick look at Chef Server 11• Using Berkshelf for Dependency Management• Bootstrapping a Node to the Chef Server• Performing CD process to update Node.

Quick Links

• Learning Chef Thru Webinar – https://learn.chef.io/fundamentals-series/

• Chef Documentation – http://docs.chef.io/• Chef Repo (Github) – https://github.com/chef/chef-repo• Chef Community Cookbooks – https://supermarket.chef.io/• Berkshelf – http://berkshelf.com/• Chef with AWS - https://www.chef.io/solutions/aws/

Thank You

Start Chef-ing using AWS!!!