SlideShare une entreprise Scribd logo
1  sur  19
Télécharger pour lire hors ligne
DEVOPS
WITH
SWAPNIL JAIN
RED HAT CERTIFIED INSTRUCTOR, DEVOPS CONSULTANT (GLS APAC)
ABOUT ME
SWAPNIL JAIN
• 17 years of broad technical experience
• Red Hat Certified Architect (RHCA) Level VIII
• Founder & Director at Pisces Solutions P. Ltd
• Founder & CTO at Ambedded Taiwan, and creator of worlds first ARM MicroServer
Based Ceph Appliance “MARS200”, winner of “Best of Interop 2016” innovation award
• Red Hat Certified Instructor, delivering trainings in India, Singapore & Australia since
last 2 years
• Trained 400+ Candidates on different Red Hat Products & Tech. in 2016
AGENDA
• Introduction to Ansible
• Ansible Use Cases
• Ansible Architecture & Components
• About Ansible Modules Demo
• Writing Ansible Playbooks Demo
• About Ansible Tower, Features & Benefits over Ansible Core
• Ansible Tower Demo
• Q&A
DEPLOY APPS. MANAGE SYSTEMS. CRUSH COMPLEXITY.
WHAT IS ANSIBLE
• Ansible was originally written by Michael DeHaan, the
creator of the Cobbler provisioning application.
• Ansible is an open source configuration management and
orchestration utility. It can automate and standardize the
configuration of remote hosts and virtual machines. Its
orchestration functionality allows Ansible to coordinate the
launch and graceful shutdown of multitiered applications.
Because of this, Ansible can perform rolling updates of
multiple systems in a way that results in zero downtime.
• Ansible, Inc. (originally AnsibleWorks, Inc.) was the
company set up to commercially support and sponsor
Ansible. Later it was acquired by Red Hat in October 2015.
IT’S SIMPLE POWERFUL AGENTLESS
WHY ANSIBLE?
• Everyone hates repetitive work - Ansible Loves It. Ansible is a simple automation
language that can perfectly describe an IT application infrastructure. It’s easy-to-
learn, self-documenting, and doesn’t require a grad-level computer science degree
to read. Automation shouldn’t be more complex than the tasks it’s replacing.
• Complexity kills productivity - Every business is a digital business. Delivering your
applications faster helps you win. That requires a lot of manual effort and
complicated coordination. We need a tool to drive complexity out of our
environments and accelerate DevOps initiatives.
IT’S SIMPLE POWERFUL AGENTLESS
WHY ANSIBLE?
COMMON ANSIBLE USE CASES
• Provisioning
• Configuration Management
• App Deployment
• Continuous Delivery
• Security & Compliance
• Orchestration
ARCHITECTURE
Control Node
… …. … … .. Managed Nodes … …. … … ..
SSH
winrm
ARCHITECTURE
Control Node
… …. … … .. Managed Nodes … …. … … ..
SSH
winrm
( HOW )
( WHERE ) ( WHAT )
MODULES - PLUGINS - API
PLAYBOOK.YMLINVENTORY
ANSIBLE.CFG
ANSIBLE MODULES
• Modules are programs that Ansible uses to perform operations on managed hosts. They are ready-to-
use tools designed to perform specific operations. Modules can be executed from the ansible command
line or used in playbooks to execute tasks. When run, modules are copied to the managed host and
executed there.
• Three Type of Modules
1.Core modules are included with Ansible and are written and maintained by the Ansible development
team. Core modules are the most important modules and are used for common administration tasks.
2.Extras modules are currently included with Ansible but may be promoted to core or shipped
separately in the future. They are generally not maintained by the Ansible team but by the community.
3.Custom modules are modules developed by end users and not shipped by Ansible. If a module does
not already exist for a task, an administrator can write a new module to implement it.
ANSIBLE MODULE
DEMO
PLAYBOOKS
• Playbooks are text files written in YAML format.
• Ansible playbooks also contain list of plays, where each play serves to define a set
of operations to perform on a specific set of managed hosts. These operations are
called tasks, and the managed hosts are referred to as hosts. Tasks are performed
by invoking Ansible modules and passing them the necessary arguments to
accomplish the desired operation.
PLAYBOOK
DEMO
EXTEND THE POWER OF ANSIBLE WITH ANSIBLE TOWER
ANSIBLE TOWER
• Ansible Tower is an enterprise framework for controlling, securing and managing
your Ansible automation with a UI and RESTful API.
• Tower builds on the underlying Ansible automation engine by adding control,
access, security, auditing, and delegation capabilities required in the enterprise.
FEATURES
ANSIBLE TOWER
• Dashboard
• Real-Time Job Status Updates
• Who Ran What Job When
• Integrated Notifications
• Schedule Ansible Jobs
• Manage And Track Your Entire Inventory
• Remote Command Execution
• System Tracking
• Comprehensive Rest Api And Tower Cli Tool
ANSIBLE TOWER
DEMO
REFERENCES
• http://www.googlinux.com/ansible-getting-started/
• https://github.com/swapnil-linux/ansible
• http://www.googlinux.com/creating-docker-container-using-ansible/
Q & A
@jswapnil
linkedin.com/in/jswapnil
THANK YOU

Contenu connexe

Tendances

Ansible, best practices
Ansible, best practicesAnsible, best practices
Ansible, best practicesBas Meijer
 
Introduction to Ansible
Introduction to AnsibleIntroduction to Ansible
Introduction to AnsibleCoreStack
 
Ansible Tutorial For Beginners | What Is Ansible And How It Works? | Ansible ...
Ansible Tutorial For Beginners | What Is Ansible And How It Works? | Ansible ...Ansible Tutorial For Beginners | What Is Ansible And How It Works? | Ansible ...
Ansible Tutorial For Beginners | What Is Ansible And How It Works? | Ansible ...Simplilearn
 
Ansible Introduction
Ansible Introduction Ansible Introduction
Ansible Introduction Robert Reiz
 
IT Automation with Ansible
IT Automation with AnsibleIT Automation with Ansible
IT Automation with AnsibleRayed Alrashed
 
Automated Deployments with Ansible
Automated Deployments with AnsibleAutomated Deployments with Ansible
Automated Deployments with AnsibleMartin Etmajer
 
Getting started with Ansible
Getting started with AnsibleGetting started with Ansible
Getting started with AnsibleIvan Serdyuk
 
Ansible presentation
Ansible presentationAnsible presentation
Ansible presentationKumar Y
 
Helm - Application deployment management for Kubernetes
Helm - Application deployment management for KubernetesHelm - Application deployment management for Kubernetes
Helm - Application deployment management for KubernetesAlexei Ledenev
 
Introduction to Docker storage, volume and image
Introduction to Docker storage, volume and imageIntroduction to Docker storage, volume and image
Introduction to Docker storage, volume and imageejlp12
 

Tendances (20)

Ansible - Introduction
Ansible - IntroductionAnsible - Introduction
Ansible - Introduction
 
Ansible
AnsibleAnsible
Ansible
 
Ansible, best practices
Ansible, best practicesAnsible, best practices
Ansible, best practices
 
Ansible - Hands on Training
Ansible - Hands on TrainingAnsible - Hands on Training
Ansible - Hands on Training
 
Introduction to Ansible
Introduction to AnsibleIntroduction to Ansible
Introduction to Ansible
 
Ansible Tutorial For Beginners | What Is Ansible And How It Works? | Ansible ...
Ansible Tutorial For Beginners | What Is Ansible And How It Works? | Ansible ...Ansible Tutorial For Beginners | What Is Ansible And How It Works? | Ansible ...
Ansible Tutorial For Beginners | What Is Ansible And How It Works? | Ansible ...
 
Ansible get started
Ansible get startedAnsible get started
Ansible get started
 
Ansible Introduction
Ansible Introduction Ansible Introduction
Ansible Introduction
 
ansible why ?
ansible why ?ansible why ?
ansible why ?
 
IT Automation with Ansible
IT Automation with AnsibleIT Automation with Ansible
IT Automation with Ansible
 
Ansible Playbook
Ansible PlaybookAnsible Playbook
Ansible Playbook
 
Automated Deployments with Ansible
Automated Deployments with AnsibleAutomated Deployments with Ansible
Automated Deployments with Ansible
 
Ansible
AnsibleAnsible
Ansible
 
Getting started with Ansible
Getting started with AnsibleGetting started with Ansible
Getting started with Ansible
 
Ansible
AnsibleAnsible
Ansible
 
Ansible Automation - Enterprise Use Cases | Juncheng Anthony Lin
Ansible Automation - Enterprise Use Cases | Juncheng Anthony LinAnsible Automation - Enterprise Use Cases | Juncheng Anthony Lin
Ansible Automation - Enterprise Use Cases | Juncheng Anthony Lin
 
Ansible presentation
Ansible presentationAnsible presentation
Ansible presentation
 
Helm - Application deployment management for Kubernetes
Helm - Application deployment management for KubernetesHelm - Application deployment management for Kubernetes
Helm - Application deployment management for Kubernetes
 
Packer by HashiCorp
Packer by HashiCorpPacker by HashiCorp
Packer by HashiCorp
 
Introduction to Docker storage, volume and image
Introduction to Docker storage, volume and imageIntroduction to Docker storage, volume and image
Introduction to Docker storage, volume and image
 

Similaire à DevOps with Ansible

06 network automationwithansible
06 network automationwithansible06 network automationwithansible
06 network automationwithansibleKhairul Zebua
 
Ansible day 1.ppt
Ansible day 1.pptAnsible day 1.ppt
Ansible day 1.pptKalkey
 
Network automation ansible_nx-api
Network automation ansible_nx-apiNetwork automation ansible_nx-api
Network automation ansible_nx-apiJoel W. King
 
Ansible, MongoDB Ops Manager and AWS v1.1
Ansible, MongoDB Ops Manager and AWS v1.1Ansible, MongoDB Ops Manager and AWS v1.1
Ansible, MongoDB Ops Manager and AWS v1.1Michael Lynn
 
Net Devops Overview
Net Devops OverviewNet Devops Overview
Net Devops OverviewJoel W. King
 
Top 19 Ansible Interview Questions And Answers.pdf
Top 19 Ansible Interview Questions And Answers.pdfTop 19 Ansible Interview Questions And Answers.pdf
Top 19 Ansible Interview Questions And Answers.pdfhimanijain83
 
Ansible: Automation Tool
Ansible: Automation ToolAnsible: Automation Tool
Ansible: Automation ToolAakanksha Mane
 
Significance of RedHat Ansible
Significance of RedHat AnsibleSignificance of RedHat Ansible
Significance of RedHat AnsibleVijayaNirmalaGopal
 
Devops with Python by Yaniv Cohen DevopShift
Devops with Python by Yaniv Cohen DevopShiftDevops with Python by Yaniv Cohen DevopShift
Devops with Python by Yaniv Cohen DevopShiftYaniv cohen
 
Ansible Tower | Docker | Cisco ACI
Ansible Tower | Docker | Cisco ACIAnsible Tower | Docker | Cisco ACI
Ansible Tower | Docker | Cisco ACIJoel W. King
 
Ransack, an Application Built on Ansible's API for Rackspace -- AnsibleFest N...
Ransack, an Application Built on Ansible's API for Rackspace -- AnsibleFest N...Ransack, an Application Built on Ansible's API for Rackspace -- AnsibleFest N...
Ransack, an Application Built on Ansible's API for Rackspace -- AnsibleFest N...Paul Durivage
 
Ansible automation sa technical deck q2 fy19
Ansible automation sa technical deck q2 fy19Ansible automation sa technical deck q2 fy19
Ansible automation sa technical deck q2 fy19dvillaco
 
RTP NPUG: Ansible Intro and Integration with ACI
RTP NPUG: Ansible Intro and Integration with ACIRTP NPUG: Ansible Intro and Integration with ACI
RTP NPUG: Ansible Intro and Integration with ACIJoel W. King
 
Ansible nice-pdf-copy-for-pres
Ansible nice-pdf-copy-for-presAnsible nice-pdf-copy-for-pres
Ansible nice-pdf-copy-for-presManmohan Singh
 
DevOps Training | DevOps Online Training
DevOps Training | DevOps Online TrainingDevOps Training | DevOps Online Training
DevOps Training | DevOps Online TrainingVisualpath Training
 

Similaire à DevOps with Ansible (20)

Accelerating with Ansible
Accelerating with AnsibleAccelerating with Ansible
Accelerating with Ansible
 
06 network automationwithansible
06 network automationwithansible06 network automationwithansible
06 network automationwithansible
 
Ansible day 1.ppt
Ansible day 1.pptAnsible day 1.ppt
Ansible day 1.ppt
 
Ansible day 1.ppt
Ansible day 1.pptAnsible day 1.ppt
Ansible day 1.ppt
 
ansible_rhel.pdf
ansible_rhel.pdfansible_rhel.pdf
ansible_rhel.pdf
 
Network automation ansible_nx-api
Network automation ansible_nx-apiNetwork automation ansible_nx-api
Network automation ansible_nx-api
 
Ansible, MongoDB Ops Manager and AWS v1.1
Ansible, MongoDB Ops Manager and AWS v1.1Ansible, MongoDB Ops Manager and AWS v1.1
Ansible, MongoDB Ops Manager and AWS v1.1
 
Net Devops Overview
Net Devops OverviewNet Devops Overview
Net Devops Overview
 
Automating AWS with Ansible
Automating AWS with AnsibleAutomating AWS with Ansible
Automating AWS with Ansible
 
Top 19 Ansible Interview Questions And Answers.pdf
Top 19 Ansible Interview Questions And Answers.pdfTop 19 Ansible Interview Questions And Answers.pdf
Top 19 Ansible Interview Questions And Answers.pdf
 
Ansible: Automation Tool
Ansible: Automation ToolAnsible: Automation Tool
Ansible: Automation Tool
 
Significance of RedHat Ansible
Significance of RedHat AnsibleSignificance of RedHat Ansible
Significance of RedHat Ansible
 
Devops with Python by Yaniv Cohen DevopShift
Devops with Python by Yaniv Cohen DevopShiftDevops with Python by Yaniv Cohen DevopShift
Devops with Python by Yaniv Cohen DevopShift
 
Ansible Tower | Docker | Cisco ACI
Ansible Tower | Docker | Cisco ACIAnsible Tower | Docker | Cisco ACI
Ansible Tower | Docker | Cisco ACI
 
Ansible day01
Ansible day01Ansible day01
Ansible day01
 
Ransack, an Application Built on Ansible's API for Rackspace -- AnsibleFest N...
Ransack, an Application Built on Ansible's API for Rackspace -- AnsibleFest N...Ransack, an Application Built on Ansible's API for Rackspace -- AnsibleFest N...
Ransack, an Application Built on Ansible's API for Rackspace -- AnsibleFest N...
 
Ansible automation sa technical deck q2 fy19
Ansible automation sa technical deck q2 fy19Ansible automation sa technical deck q2 fy19
Ansible automation sa technical deck q2 fy19
 
RTP NPUG: Ansible Intro and Integration with ACI
RTP NPUG: Ansible Intro and Integration with ACIRTP NPUG: Ansible Intro and Integration with ACI
RTP NPUG: Ansible Intro and Integration with ACI
 
Ansible nice-pdf-copy-for-pres
Ansible nice-pdf-copy-for-presAnsible nice-pdf-copy-for-pres
Ansible nice-pdf-copy-for-pres
 
DevOps Training | DevOps Online Training
DevOps Training | DevOps Online TrainingDevOps Training | DevOps Online Training
DevOps Training | DevOps Online Training
 

Dernier

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 

Dernier (20)

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 

DevOps with Ansible

  • 1. DEVOPS WITH SWAPNIL JAIN RED HAT CERTIFIED INSTRUCTOR, DEVOPS CONSULTANT (GLS APAC)
  • 2. ABOUT ME SWAPNIL JAIN • 17 years of broad technical experience • Red Hat Certified Architect (RHCA) Level VIII • Founder & Director at Pisces Solutions P. Ltd • Founder & CTO at Ambedded Taiwan, and creator of worlds first ARM MicroServer Based Ceph Appliance “MARS200”, winner of “Best of Interop 2016” innovation award • Red Hat Certified Instructor, delivering trainings in India, Singapore & Australia since last 2 years • Trained 400+ Candidates on different Red Hat Products & Tech. in 2016
  • 3. AGENDA • Introduction to Ansible • Ansible Use Cases • Ansible Architecture & Components • About Ansible Modules Demo • Writing Ansible Playbooks Demo • About Ansible Tower, Features & Benefits over Ansible Core • Ansible Tower Demo • Q&A
  • 4. DEPLOY APPS. MANAGE SYSTEMS. CRUSH COMPLEXITY. WHAT IS ANSIBLE • Ansible was originally written by Michael DeHaan, the creator of the Cobbler provisioning application. • Ansible is an open source configuration management and orchestration utility. It can automate and standardize the configuration of remote hosts and virtual machines. Its orchestration functionality allows Ansible to coordinate the launch and graceful shutdown of multitiered applications. Because of this, Ansible can perform rolling updates of multiple systems in a way that results in zero downtime. • Ansible, Inc. (originally AnsibleWorks, Inc.) was the company set up to commercially support and sponsor Ansible. Later it was acquired by Red Hat in October 2015.
  • 5. IT’S SIMPLE POWERFUL AGENTLESS WHY ANSIBLE? • Everyone hates repetitive work - Ansible Loves It. Ansible is a simple automation language that can perfectly describe an IT application infrastructure. It’s easy-to- learn, self-documenting, and doesn’t require a grad-level computer science degree to read. Automation shouldn’t be more complex than the tasks it’s replacing. • Complexity kills productivity - Every business is a digital business. Delivering your applications faster helps you win. That requires a lot of manual effort and complicated coordination. We need a tool to drive complexity out of our environments and accelerate DevOps initiatives.
  • 6. IT’S SIMPLE POWERFUL AGENTLESS WHY ANSIBLE?
  • 7. COMMON ANSIBLE USE CASES • Provisioning • Configuration Management • App Deployment • Continuous Delivery • Security & Compliance • Orchestration
  • 8. ARCHITECTURE Control Node … …. … … .. Managed Nodes … …. … … .. SSH winrm
  • 9. ARCHITECTURE Control Node … …. … … .. Managed Nodes … …. … … .. SSH winrm ( HOW ) ( WHERE ) ( WHAT ) MODULES - PLUGINS - API PLAYBOOK.YMLINVENTORY ANSIBLE.CFG
  • 10. ANSIBLE MODULES • Modules are programs that Ansible uses to perform operations on managed hosts. They are ready-to- use tools designed to perform specific operations. Modules can be executed from the ansible command line or used in playbooks to execute tasks. When run, modules are copied to the managed host and executed there. • Three Type of Modules 1.Core modules are included with Ansible and are written and maintained by the Ansible development team. Core modules are the most important modules and are used for common administration tasks. 2.Extras modules are currently included with Ansible but may be promoted to core or shipped separately in the future. They are generally not maintained by the Ansible team but by the community. 3.Custom modules are modules developed by end users and not shipped by Ansible. If a module does not already exist for a task, an administrator can write a new module to implement it.
  • 12. PLAYBOOKS • Playbooks are text files written in YAML format. • Ansible playbooks also contain list of plays, where each play serves to define a set of operations to perform on a specific set of managed hosts. These operations are called tasks, and the managed hosts are referred to as hosts. Tasks are performed by invoking Ansible modules and passing them the necessary arguments to accomplish the desired operation.
  • 14. EXTEND THE POWER OF ANSIBLE WITH ANSIBLE TOWER ANSIBLE TOWER • Ansible Tower is an enterprise framework for controlling, securing and managing your Ansible automation with a UI and RESTful API. • Tower builds on the underlying Ansible automation engine by adding control, access, security, auditing, and delegation capabilities required in the enterprise.
  • 15. FEATURES ANSIBLE TOWER • Dashboard • Real-Time Job Status Updates • Who Ran What Job When • Integrated Notifications • Schedule Ansible Jobs • Manage And Track Your Entire Inventory • Remote Command Execution • System Tracking • Comprehensive Rest Api And Tower Cli Tool
  • 18. Q & A