Chef Advanced
Overview:
This 5-day course will provide deploying Chef infrastructure and configure Chef client and Chef workstation on Windows and Linux servers.
Prerequisite:
Linux basic skills (like working file and directories)
Who should attend:
Targeted for Cloud Engineers, Developers , Operations Engineer, Centre of Excellence Team, Microsoft Windows Server Administrators, Unix/Linux Administrators, Storage Administrators, Network Administrators, Virtualization Administrators.
Agenda:
Day 1 (Chef understanding, Chef Server install on Ubuntu, RHEL + Hosted Chef, Chef-Workstation)
Module 1: Chef – Overview
- Devops Big-Picture
- Devops Tools – SCM, CI/CD, Configuration management tool introduction
- Where chef fits in entire devops culture/tools
- Infrastructure-As-A-Code
- Chef Components – 10000 feet overview
- Deploy Ubuntu 16.04 Server
- SSH to Ubuntu Server
- Install Chef-Server on Ubuntu 16.04 Linux Server
- Install Chef-Manage on Chef-Server
- Install and configure Chef-Reporting
- Deploy Ubuntu RHEL-7 Server
- SSH to RHEL-7 Server
- Install Chef-Server on RHEl-7 Linux Server
- Install Chef-Manage on Chef-Server on RHEL
- Install and configure Chef-Reporting RHEL
- Create a user account on hosted chef server
- Create organization on hosted chef server
- Download chef-starter kit
- Deploy a Ubuntu 14.04 server
- SSH to Ubuntu server
- Install and configure Chef development kit
- Configure knife to interact with your own Chef-Server
- Configure knife to interact with your Hosted Chef-Server
- Configure SSL based connection to Chef Server
- Deploy a RHEL 7 server
- SSH to RHEL 7 server
- Install and configure Chef development kit
- Configure knife to interact with your own Chef-Server
- Configure knife to interact with your Hosted Chef-Server
- Configure SSL based connection to Chef Server
- Install and configure Chef development kit
- Setup environment variables
- Configure knife to interact with your own Chef-server
- Configure knife to interact with your Hosted Chef-server
- Configure SSL based connection to chef server
- Deploy a Ubuntu 14.04 server
- Register the Ubuntu server under chef server management
- Deploy a RHEL 7 server
- Register the RHEL server under chef server management
- Create a new cookbook for apache2 installation on Ubuntu server
- Write package resource type in recipe to install apache2
- Write service resource type in recipe to enable and restart apache2
- Write file resource type in recipe to create new files on node with content
- Create templates to be used in recipe – to push templates to node
- Create index.html and log file to be used by recipe
- Write cookbook_file resource type
- Create a new cookbook for OS update installation on Ubuntu server
- Write recipe for update of Operating system
- Edit metadata.rb file to include dependency for apache2 cookbook
- Attach apache2 runlist to chef Ubuntu node
- Run chef-client on the node
- Test if you the recipe is applied and working as desired
- Create a new cookbook for HTTPD installation on RHEL 7
- Write package resource type in recipe to install HTTPD
- Write service resource type in recipe to enable and restart HTTPD
- Write file resource type in recipe to create new files on node with content
- Create templates to be used in recipe – to push templates to node
- Create index.html and log file to be used by recipe
- Write cookbook_file resource type
- Create a new cookbook for OS update installation on RHEL server
- Write recipe for update of Operating system
- Edit metadata.rb file to include dependency for HTTPD cookbook
- Attach HTTPD runlist to chef RHEL Node
- Run Chef-client on the node
- Test if you the recipe is applied and working as desired
- What Are Environments And Why Do They Matter?
- Creating And Configuring Environments ( Production and test environments)
- Creating A Second Version Of Our WebServer Cookbook
- Deploying To Different Environments
- Viewing And Deleting Environments With Knife
- What Are Roles?
- Creating A Web Server Role
- Building A Simple MySQL Cookbook For A Role
- Creating A DB Server Role
- Creating A Base Role
- Applying recipe locally on Ubuntu server
- Chef Solo vs Chef Zero vs Chef Server
- Deploy a Windows server 2012
- Register the Windows server under chef server management
- Chef Supermarket
- Using A Private Supermarket
- Download a community cookbook for IIS (web-server) Installation on windows server 2012
- Run cookbook on windows server
- Validate web server is installed on windows 2012 server
- Create a new cookbook for load balancer creation
- Bootstrap 2 web server nodes
- Bootstrap a load balancer node
- Write package resource type in recipe
- Write file resource type in recipe
- Upload to cookbook to chef server
- Attach runlist to a ubutnu node
- Run chef-client and verify load balancer is created and able server traffic web sever
- Create a new cookbook for user and group
- Write user resource type in recipe
- Write file resource type in recipe
- Write group resource type in recipe
- Upload to cookbook to chef server
- Attach runlist to a ubutnu node
- Run chef-client and verify user and groups are created
- What Are Data Bags
- Creating User And sudo Group Data Bags
- Building A Recipe To Deploy Local User Accounts From Data Bags
- Create a new cookbook for web server
- Write three recipes
- Upload to cookbook to chef server
- Attach runlist to a ubutnu node
- Run chef-client and verify execution is correct
- Node Object
- Working With Ohai and Node Attributes
- Knife Search
- Module Introduction
- What is Virtualization
- What are Containers
- Containerization and virtualization differences
- Case study : 100 developer environment
- Difference between win and linux containers
- Docker ecosystem and components
- Module Introduction
- Installing Docker on ubuntu 16.04 server
- Install Docker on Windows 2016 server
- Install Docker Toolbox on windows 7-8-10
- Module Introduction
- Deploy ,Login, exit container
- List,Start, Stop, restart containers
- Where containers are stored
- Working with container hostnames
- Working on multiple containers
- Container stats and inspect
- Container networking
- Deleting containers
- Deploy a Ubuntu server
- Deploy chef development kit
- Deploy Docker
- Create chef cookbook of apaache2
- Write recipe in cookbook for apache2 install start and push index.html
- Kitchen create with docker provisioner
- Kitchen converge
- Kitchen destroy
- Kitchen test
Chef Server
Hosted Chef Server
Chef Development kit
Chef Nodes
Recipes
Cookbooks
Chef Analytics
Chef Push job server
Module 2: Creating your own Chef server- Install and configure (Hands on lab by students)
Assignment 01 : Creating your own Chef server- Install and configure on RHEL 7 (Hands on lab by students)
Module 3: Working on hosted chef server (Hands on lab by students)
Module 4: Install and configure Chef-Workstation on Ubuntu (Hands on lab by students)
Day 2 (Register Chef-Node, Writing Cookbook for web on Ubuntu and RHEL)
Assignemnet-02: Install and configure Chef-Workstation on RHEL (Hands on lab by students)
Module 5: Install and configure Chef-Workstation on Windows 7 (Hands on lab by students)
Module 6: Register a Chef-Node running Ubuntu server (Hands on lab by students)
Assignment-03: Register a Node running RHEL server (Hands on lab by students)
Module 7: Create a cookbook for Ubuntu server (Hands on lab by students)
Module 8: Creating dependency cookbook for Ubuntu server (Hands on lab by students)
Module 9: Apply Apache2 cookbook Chef-Node (Ubuntu server) (Hands on lab by students)
Assignment-04: Create a cookbook for RHEL 7 server (Hands on lab by students)
Assignment-05: Creating dependency cookbook for RHEL-server (Hands on lab by students)
Assignment-06: Apply HTTPD cookbo0k Chef-node(RHEL server) (Hands on lab by students)
Day 3 (Chef Environments, Roles and local recipe apply, Win 2016 web node)
Chef Environments
Roles
Addons
Module 10: Register a Chef-Node Windows 2012 server (Hands on lab by students)
Moduel 10.A Chef Supermarket
Module 11: Create a cookbook for Windows 2012 server (Hands on lab by students)
Day 4 (Advanced cookbook writing and Data bags)
Module 12: Create a load balancer cookbook (Hands on lab by students)
Module 13: Create a cookbook for user and group for linux (Hands on lab by students)
Module 14: Databags
Module 15: Create a cookbook if conditional statements (Hands on lab by students)
Recipe 1 : To install Apache on Ubuntu
Recipe 2: To install httpd on RHEL
Recipe 3 : If conditional statements to ensure runs right recipe based node OSfamily
Module 16: Nodes and Search
Day 5 (Docker and Kitchen)
Module 17: Understanding Docker
Module 18: Installing Docker
Module 19: Containers On Ubuntu Docker host
Module 20: Kitchen
Chef Advanced Training Schedules:
Sl. No. | Training Dates | Location | Registration |
---|---|---|---|
1 | 28th January to 01st February 2019 | Bangalore | Click here to register |
2 | 28th January to 01st February 2019 | Chennai | Click here to register |
3 | 28th January to 01st February 2019 | Hyderabad | Click here to register |
Sl. No. | Training Dates | Location | Registration |
---|---|---|---|
1 | 18th to 22nd February 2019 | Bangalore | Click here to register |
2 | 19th to 23rd February 2019 | Chennai | Click here to register |
3 | 18th to 22nd February 2019 | Hyderabad | Click here to register |
Sl. No. | Training Dates | Location | Registration |
---|---|---|---|
1 | 11th to 15th March 2019 | Bangalore | Click here to register |
2 | 25th to 29th March 2019 | Chennai | Click here to register |
3 | 18th to 22nd March 2019 | Hyderabad | Click here to register |