SlideShare a Scribd company logo
Better Visibility Into Your Infrastructure
Automation Using AWX / Ansible Tower
1
Contents
1. Introduction: Configuration Management 3
2. Introduction: Ansible Tower 4
3. Need of Ansible Tower 4
● Role-based access control 4
● Job scheduling 4
● Integrated Notifications 4
● Manage and track dynamic inventory 4
● Cloud integration(AWS, Rackspace, Azure) 4
4. Installation 5
5. Tower Dashboard 6
6. Terminology 6
● 6.1 Organization 6
● 6.2 Users, User Types and Teams 7
● 6.3 Inventories, Hosts and Groups 7
● 6.4 Credential 8
● 6.5 Project 8
● 6.6 Template 9
7. About the Author 11
8. About TO THE NEW 11
2
1. Introduction
Configuration Management​ tools are very popular for cloud provisioning, automating
repeatable tasks, configuration management, infrastructure orchestration, etc. It helps us to
configure software or product and manage multiple different application’s configurations on
complex infrastructure which increases the efficiency.
Ansible​ ​is one of the latest configuration tools in the market ​which is based on python and has
an​ agentless architecture​.​ Ansible does not have master and slave setup – which differentiate it
with other CM tools like Puppet, Chef, Saltstack, etc.
Ansible ecosystem has one power tool named Ansible Tower which is a web-based GUI which
contains most of the features that Ansible has, plus some addon features which makes Ansible
Tower different from Ansible are: ​Role-based access control, Job scheduling, Notification,
Cloud integration, etc.
3
Now, let’s briefly discuss the features and understand the Tower Dashboard.
2.​ ​Introduction to Ansible Tower​:
Ansible Tower provides a web-based management GUI for Ansible. Ansible Tower is a great
visualization tool for managing and scheduling Ansible Jobs. Ansible Tower also provides
role-based access which in return increases the security and minimizes the administrative tasks.
3. ​Need of Ansible Tower​:
Since configuration management tools are the first choice of DevOps and using tools with GUI is
more handy. Ansible Tower makes it easy to implement features provided by Ansible and
makes it more flexible by its additional features.
Below are some of the must-know features of Ansible Tower:
● Role-based access control​:
We can define teams which would be restricted to launch certain jobs only. Moreover,
Ansible Tower also allows access control on what a team or a user can do with
Inventories and Job Templates.
● Job scheduling:
We can schedule Ansible jobs, dynamic inventory updates, source control updates etc.
Scheduling tasks make it more powerful as we can update or run playbook as per the
desired time.
● Integrated Notifications:
One more feature which is important to notice is its integration with the notification
channels. Some of them are Slack, Hipchat, SMS, PagerDuty and others. Also, we can
configure webhook which can trigger other tools.
● Manage and track dynamic inventory:
We can manage and track the inventory files of hosts on the basis of data in external
inventory systems. Ansible Tower can integrate with different external inventory
systems (LDAP, EC2, CMDBs, cobbler, etc).
● Cloud integration(AWS, Rackspace, Azure):
Ansible Tower can be integrated with major Cloud providers such as Amazon AWS,
Rackspace and Microsoft Azure.
4
4. ​Installation
AWX can be installed both in single machine scenario and also in a high availability
multi-machine cluster, but for the simplicity of this blog, we are going to discuss the single
machine setup.
Although you can choose from several single machine installation scenarios like OpenShift,
Kubernetes, Docker, and even from distribution packages, I prefer Docker over others mainly
because of the ease of management and cleanliness of the installation. Following are the
prerequisites you need to have.
● Ansible​ (Version 2.4 or above)
● Docker
● Docker-py
Interesting thing is that the installation itself is done by an ​Ansible playbook​ managed by AWX
project. Once you clone the ​github project​, you just need to run the playbook and post that, 5
docker containers will be brought up.
5
5. ​Tower Dashboard
After a successful installation, you can simply hit your host IP or DNS on the browser and you’ll
see the AWX login page following the dashboard. Default admin credentials are ​admin​ &
password​.
6. ​Terminology
If you are already versed with Ansible, there are not many terms you will take time to pick up
from here, you will find the terms rather intuitive.
6.1 Organization
This is the highest level object in the hierarchy, it is a logical collection of users, teams,
projects and inventories. Organization aids in implementing role based access control on
the top level. Almost all the objects are associated to an organization.
6
6.2 Users, User Types and Teams
Users as you can guess, are the lowest level of role based access hierarchy. There are
three types of users you can create
● Normal User ​have full access to the resources for which that user has been
granted access to within an organization.
● System Auditor ​have read-only access to all the resources within the
organization they are part of.
● System Administrator ​have superuser access to the entire awx / tower
installation.
Teams ​are just a collection of users within an organization for cleaner access control.
You can provide access to resources on team level too.
6.3 Inventories, Hosts and Groups
Inventories in AWX/tower are same as that in Ansible with a difference that hosts and
groups can configured via the console, and you can control the access of every inventory
just other resources in the console.
7
6.4 Credentials
This is where you save all your credentials like SSH key, Ansible Vault password, AWS
access credentials, etc. You can also secure a playbook run with a password saved in the
credentials. There are several credential types which are supported by the AWX/tower
right off the bat (shown below), and you can also add new types.
6.5 Project
A project is a collection of playbooks typically stored in an SCM. So essentially you
configure a SCM repo in the project which has the playbooks and roles.
8
6.6 Template
This is probably the most interesting term in the list, it’s where you combine your
playbook with the inventory and other settings like credentials, to launch off a job from
it.
A template is the object that you would schedule on a regular interval to keep all the
hosts in the desired state of the playbook.
9
That’s all you need folks, to get started with Ansible Tower or AWX. I hope you liked the post,
you can also ​contact us​ if you want to your business to be equipped with this powerful yet
straightforward tool.
10
7. About the Author
Navjot Singh - DevOps Engineer
TO THE NEW
Navjot is a Red Hat Certified DevOps Engineer and one of the leading DevOps consultants. He is
also a leading aws certified solutions architect and a shell-scripting expert with
hands-on-experience on multi-server environment & deployments. Being a leading AWS
DevOps engineer He has strong understanding on AWS and has great ability in gathering
requirements and implementing appropriate solutions for customers. He loves playing table
tennis.
8. About TO THE NEW
 
TO THE NEW is a premium digital technology company that provides end-to-end product
development services. TO THE NEW leverages the power of experience design, cutting-edge
engineering and cloud to build disruptive web and mobile products and enable digital
transformation for businesses.
TO THE NEW practices Agile methodologies to develop innovative products with a faster time
to market. With a team of 750+ passionate technologists, TO THE NEW constantly challenges
the status quo to empower Fortune 500 companies as well as startups across the globe.
11

More Related Content

What's hot

Introduction to Ansible
Introduction to AnsibleIntroduction to Ansible
Introduction to Ansible
Knoldus Inc.
 
Kubernetes Concepts And Architecture Powerpoint Presentation Slides
Kubernetes Concepts And Architecture Powerpoint Presentation SlidesKubernetes Concepts And Architecture Powerpoint Presentation Slides
Kubernetes Concepts And Architecture Powerpoint Presentation Slides
SlideTeam
 
Cloud Ubuntu Open Stack, Juju, MaaS - Ua Deck Nov 2013
Cloud Ubuntu Open Stack, Juju, MaaS - Ua Deck Nov 2013Cloud Ubuntu Open Stack, Juju, MaaS - Ua Deck Nov 2013
Cloud Ubuntu Open Stack, Juju, MaaS - Ua Deck Nov 2013
The World Bank
 
Getting Started with Kubernetes
Getting Started with Kubernetes Getting Started with Kubernetes
Getting Started with Kubernetes
VMware Tanzu
 
Introduction of Kubernetes - Trang Nguyen
Introduction of Kubernetes - Trang NguyenIntroduction of Kubernetes - Trang Nguyen
Introduction of Kubernetes - Trang Nguyen
Trang Nguyen
 
Terraform
TerraformTerraform
Terraform
Phil Wilkins
 
Terraform AWS modules and some best practices - September 2019
Terraform AWS modules and some best practices - September 2019Terraform AWS modules and some best practices - September 2019
Terraform AWS modules and some best practices - September 2019
Anton Babenko
 
An Introduction to Kubernetes
An Introduction to KubernetesAn Introduction to Kubernetes
An Introduction to Kubernetes
Imesh Gunaratne
 
Devops - Microservice and Kubernetes
Devops - Microservice and KubernetesDevops - Microservice and Kubernetes
Devops - Microservice and Kubernetes
NodeXperts
 
Kubernetes Introduction
Kubernetes IntroductionKubernetes Introduction
Kubernetes Introduction
Martin Danielsson
 
Ansible presentation
Ansible presentationAnsible presentation
Ansible presentation
Suresh Kumar
 
AKS
AKSAKS
Creating AWS infrastructure using Terraform
Creating AWS infrastructure using TerraformCreating AWS infrastructure using Terraform
Creating AWS infrastructure using Terraform
Knoldus Inc.
 
Kubernetes: An Introduction to the Open Source Container Orchestration Platform
Kubernetes: An Introduction to the Open Source Container Orchestration PlatformKubernetes: An Introduction to the Open Source Container Orchestration Platform
Kubernetes: An Introduction to the Open Source Container Orchestration Platform
Michael O'Sullivan
 
Getting Started with Infrastructure as Code
Getting Started with Infrastructure as CodeGetting Started with Infrastructure as Code
Getting Started with Infrastructure as Code
WinWire Technologies Inc
 
Ansible
AnsibleAnsible
Ansible
Rahul Bajaj
 
Introduction to AWS (Amazon Web Services)
Introduction to AWS (Amazon Web Services)Introduction to AWS (Amazon Web Services)
Introduction to AWS (Amazon Web Services)
Albert Suwandhi
 
VMware Tanzu Kubernetes Connect
VMware Tanzu Kubernetes ConnectVMware Tanzu Kubernetes Connect
VMware Tanzu Kubernetes Connect
VMware Tanzu
 
OpenStack Administration by Mobarak Hossain Group Organizer Bangladesh
OpenStack Administration by Mobarak Hossain Group Organizer BangladeshOpenStack Administration by Mobarak Hossain Group Organizer Bangladesh
OpenStack Administration by Mobarak Hossain Group Organizer Bangladesh
Mobarak Hossain
 
Rancher Rodeo
Rancher RodeoRancher Rodeo
Rancher Rodeo
SUSE
 

What's hot (20)

Introduction to Ansible
Introduction to AnsibleIntroduction to Ansible
Introduction to Ansible
 
Kubernetes Concepts And Architecture Powerpoint Presentation Slides
Kubernetes Concepts And Architecture Powerpoint Presentation SlidesKubernetes Concepts And Architecture Powerpoint Presentation Slides
Kubernetes Concepts And Architecture Powerpoint Presentation Slides
 
Cloud Ubuntu Open Stack, Juju, MaaS - Ua Deck Nov 2013
Cloud Ubuntu Open Stack, Juju, MaaS - Ua Deck Nov 2013Cloud Ubuntu Open Stack, Juju, MaaS - Ua Deck Nov 2013
Cloud Ubuntu Open Stack, Juju, MaaS - Ua Deck Nov 2013
 
Getting Started with Kubernetes
Getting Started with Kubernetes Getting Started with Kubernetes
Getting Started with Kubernetes
 
Introduction of Kubernetes - Trang Nguyen
Introduction of Kubernetes - Trang NguyenIntroduction of Kubernetes - Trang Nguyen
Introduction of Kubernetes - Trang Nguyen
 
Terraform
TerraformTerraform
Terraform
 
Terraform AWS modules and some best practices - September 2019
Terraform AWS modules and some best practices - September 2019Terraform AWS modules and some best practices - September 2019
Terraform AWS modules and some best practices - September 2019
 
An Introduction to Kubernetes
An Introduction to KubernetesAn Introduction to Kubernetes
An Introduction to Kubernetes
 
Devops - Microservice and Kubernetes
Devops - Microservice and KubernetesDevops - Microservice and Kubernetes
Devops - Microservice and Kubernetes
 
Kubernetes Introduction
Kubernetes IntroductionKubernetes Introduction
Kubernetes Introduction
 
Ansible presentation
Ansible presentationAnsible presentation
Ansible presentation
 
AKS
AKSAKS
AKS
 
Creating AWS infrastructure using Terraform
Creating AWS infrastructure using TerraformCreating AWS infrastructure using Terraform
Creating AWS infrastructure using Terraform
 
Kubernetes: An Introduction to the Open Source Container Orchestration Platform
Kubernetes: An Introduction to the Open Source Container Orchestration PlatformKubernetes: An Introduction to the Open Source Container Orchestration Platform
Kubernetes: An Introduction to the Open Source Container Orchestration Platform
 
Getting Started with Infrastructure as Code
Getting Started with Infrastructure as CodeGetting Started with Infrastructure as Code
Getting Started with Infrastructure as Code
 
Ansible
AnsibleAnsible
Ansible
 
Introduction to AWS (Amazon Web Services)
Introduction to AWS (Amazon Web Services)Introduction to AWS (Amazon Web Services)
Introduction to AWS (Amazon Web Services)
 
VMware Tanzu Kubernetes Connect
VMware Tanzu Kubernetes ConnectVMware Tanzu Kubernetes Connect
VMware Tanzu Kubernetes Connect
 
OpenStack Administration by Mobarak Hossain Group Organizer Bangladesh
OpenStack Administration by Mobarak Hossain Group Organizer BangladeshOpenStack Administration by Mobarak Hossain Group Organizer Bangladesh
OpenStack Administration by Mobarak Hossain Group Organizer Bangladesh
 
Rancher Rodeo
Rancher RodeoRancher Rodeo
Rancher Rodeo
 

Similar to Infrastructure automation using awx ansible tower

SonarQube presentation.pptx
SonarQube presentation.pptxSonarQube presentation.pptx
SonarQube presentation.pptx
VranceaAdrian
 
Top 10 dev ops tools (1)
Top 10 dev ops tools (1)Top 10 dev ops tools (1)
Top 10 dev ops tools (1)
yalini97
 
Welcome to Azure Devops
Welcome to Azure DevopsWelcome to Azure Devops
Welcome to Azure Devops
Alessandro Scardova
 
Ansible: Simple yet powerful IT automation tool
Ansible: Simple yet powerful IT automation toolAnsible: Simple yet powerful IT automation tool
Ansible: Simple yet powerful IT automation tool
sureshraj43
 
Top 3 Useful Tools for DevOps Automation -
Top 3 Useful Tools for DevOps Automation -Top 3 Useful Tools for DevOps Automation -
Top 3 Useful Tools for DevOps Automation -
Urolime Technologies
 
DevOps on AWS
DevOps on AWSDevOps on AWS
DevOps on AWS
Idexcel Technologies
 
Top 10 Best DevOps tools in 2020
Top 10 Best DevOps tools in 2020Top 10 Best DevOps tools in 2020
Top 10 Best DevOps tools in 2020
prafulIQBusiness
 
Control-with-Ansible-Tower
Control-with-Ansible-TowerControl-with-Ansible-Tower
Control-with-Ansible-TowerMark Costin
 
Azure Devops
Azure DevopsAzure Devops
Azure Devops
Amitesh Raikwar
 
Top 9 DevOps Tools: Which DevOps Tool Should I Learn
Top 9 DevOps Tools: Which DevOps Tool Should I Learn Top 9 DevOps Tools: Which DevOps Tool Should I Learn
Top 9 DevOps Tools: Which DevOps Tool Should I Learn
JanBask Training
 
What are the key features of Azure DevOps and how are they beneficial to the ...
What are the key features of Azure DevOps and how are they beneficial to the ...What are the key features of Azure DevOps and how are they beneficial to the ...
What are the key features of Azure DevOps and how are they beneficial to the ...
kzayra69
 
Hitchhiker's guide to Cloud-Native Build Pipelines and Infrastructure as Code
Hitchhiker's guide to Cloud-Native Build Pipelines and Infrastructure as CodeHitchhiker's guide to Cloud-Native Build Pipelines and Infrastructure as Code
Hitchhiker's guide to Cloud-Native Build Pipelines and Infrastructure as Code
Robert van Mölken
 
Essentials of Hosting Platforms.pptx
Essentials of Hosting Platforms.pptxEssentials of Hosting Platforms.pptx
Essentials of Hosting Platforms.pptx
Atharva Joshi
 
DevOps and BigData Analytics
DevOps and BigData Analytics DevOps and BigData Analytics
DevOps and BigData Analytics
sbbabu
 
DevOps Training | DevOps Online Training
DevOps Training | DevOps Online TrainingDevOps Training | DevOps Online Training
DevOps Training | DevOps Online Training
Visualpath Training
 
Halifax DevOps - Meet-up - July.19 2017
Halifax DevOps - Meet-up - July.19 2017Halifax DevOps - Meet-up - July.19 2017
Halifax DevOps - Meet-up - July.19 2017
Kyle Bassett
 
Ansible for Enterprise
Ansible for EnterpriseAnsible for Enterprise
Ansible for Enterprise
Ansible
 
Azure from scratch part 3 By Girish Kalamati
Azure from scratch part 3 By Girish KalamatiAzure from scratch part 3 By Girish Kalamati
Azure from scratch part 3 By Girish Kalamati
Girish Kalamati
 
Serverless Pune Meetup 1
Serverless Pune Meetup 1Serverless Pune Meetup 1
Serverless Pune Meetup 1
Vishal Biyani
 
Azure DevOps
Azure DevOpsAzure DevOps
Azure DevOps
Juan Fabian
 

Similar to Infrastructure automation using awx ansible tower (20)

SonarQube presentation.pptx
SonarQube presentation.pptxSonarQube presentation.pptx
SonarQube presentation.pptx
 
Top 10 dev ops tools (1)
Top 10 dev ops tools (1)Top 10 dev ops tools (1)
Top 10 dev ops tools (1)
 
Welcome to Azure Devops
Welcome to Azure DevopsWelcome to Azure Devops
Welcome to Azure Devops
 
Ansible: Simple yet powerful IT automation tool
Ansible: Simple yet powerful IT automation toolAnsible: Simple yet powerful IT automation tool
Ansible: Simple yet powerful IT automation tool
 
Top 3 Useful Tools for DevOps Automation -
Top 3 Useful Tools for DevOps Automation -Top 3 Useful Tools for DevOps Automation -
Top 3 Useful Tools for DevOps Automation -
 
DevOps on AWS
DevOps on AWSDevOps on AWS
DevOps on AWS
 
Top 10 Best DevOps tools in 2020
Top 10 Best DevOps tools in 2020Top 10 Best DevOps tools in 2020
Top 10 Best DevOps tools in 2020
 
Control-with-Ansible-Tower
Control-with-Ansible-TowerControl-with-Ansible-Tower
Control-with-Ansible-Tower
 
Azure Devops
Azure DevopsAzure Devops
Azure Devops
 
Top 9 DevOps Tools: Which DevOps Tool Should I Learn
Top 9 DevOps Tools: Which DevOps Tool Should I Learn Top 9 DevOps Tools: Which DevOps Tool Should I Learn
Top 9 DevOps Tools: Which DevOps Tool Should I Learn
 
What are the key features of Azure DevOps and how are they beneficial to the ...
What are the key features of Azure DevOps and how are they beneficial to the ...What are the key features of Azure DevOps and how are they beneficial to the ...
What are the key features of Azure DevOps and how are they beneficial to the ...
 
Hitchhiker's guide to Cloud-Native Build Pipelines and Infrastructure as Code
Hitchhiker's guide to Cloud-Native Build Pipelines and Infrastructure as CodeHitchhiker's guide to Cloud-Native Build Pipelines and Infrastructure as Code
Hitchhiker's guide to Cloud-Native Build Pipelines and Infrastructure as Code
 
Essentials of Hosting Platforms.pptx
Essentials of Hosting Platforms.pptxEssentials of Hosting Platforms.pptx
Essentials of Hosting Platforms.pptx
 
DevOps and BigData Analytics
DevOps and BigData Analytics DevOps and BigData Analytics
DevOps and BigData Analytics
 
DevOps Training | DevOps Online Training
DevOps Training | DevOps Online TrainingDevOps Training | DevOps Online Training
DevOps Training | DevOps Online Training
 
Halifax DevOps - Meet-up - July.19 2017
Halifax DevOps - Meet-up - July.19 2017Halifax DevOps - Meet-up - July.19 2017
Halifax DevOps - Meet-up - July.19 2017
 
Ansible for Enterprise
Ansible for EnterpriseAnsible for Enterprise
Ansible for Enterprise
 
Azure from scratch part 3 By Girish Kalamati
Azure from scratch part 3 By Girish KalamatiAzure from scratch part 3 By Girish Kalamati
Azure from scratch part 3 By Girish Kalamati
 
Serverless Pune Meetup 1
Serverless Pune Meetup 1Serverless Pune Meetup 1
Serverless Pune Meetup 1
 
Azure DevOps
Azure DevOpsAzure DevOps
Azure DevOps
 

Recently uploaded

FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
g2nightmarescribd
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 

Recently uploaded (20)

FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 

Infrastructure automation using awx ansible tower

  • 1. Better Visibility Into Your Infrastructure Automation Using AWX / Ansible Tower 1
  • 2. Contents 1. Introduction: Configuration Management 3 2. Introduction: Ansible Tower 4 3. Need of Ansible Tower 4 ● Role-based access control 4 ● Job scheduling 4 ● Integrated Notifications 4 ● Manage and track dynamic inventory 4 ● Cloud integration(AWS, Rackspace, Azure) 4 4. Installation 5 5. Tower Dashboard 6 6. Terminology 6 ● 6.1 Organization 6 ● 6.2 Users, User Types and Teams 7 ● 6.3 Inventories, Hosts and Groups 7 ● 6.4 Credential 8 ● 6.5 Project 8 ● 6.6 Template 9 7. About the Author 11 8. About TO THE NEW 11 2
  • 3. 1. Introduction Configuration Management​ tools are very popular for cloud provisioning, automating repeatable tasks, configuration management, infrastructure orchestration, etc. It helps us to configure software or product and manage multiple different application’s configurations on complex infrastructure which increases the efficiency. Ansible​ ​is one of the latest configuration tools in the market ​which is based on python and has an​ agentless architecture​.​ Ansible does not have master and slave setup – which differentiate it with other CM tools like Puppet, Chef, Saltstack, etc. Ansible ecosystem has one power tool named Ansible Tower which is a web-based GUI which contains most of the features that Ansible has, plus some addon features which makes Ansible Tower different from Ansible are: ​Role-based access control, Job scheduling, Notification, Cloud integration, etc. 3
  • 4. Now, let’s briefly discuss the features and understand the Tower Dashboard. 2.​ ​Introduction to Ansible Tower​: Ansible Tower provides a web-based management GUI for Ansible. Ansible Tower is a great visualization tool for managing and scheduling Ansible Jobs. Ansible Tower also provides role-based access which in return increases the security and minimizes the administrative tasks. 3. ​Need of Ansible Tower​: Since configuration management tools are the first choice of DevOps and using tools with GUI is more handy. Ansible Tower makes it easy to implement features provided by Ansible and makes it more flexible by its additional features. Below are some of the must-know features of Ansible Tower: ● Role-based access control​: We can define teams which would be restricted to launch certain jobs only. Moreover, Ansible Tower also allows access control on what a team or a user can do with Inventories and Job Templates. ● Job scheduling: We can schedule Ansible jobs, dynamic inventory updates, source control updates etc. Scheduling tasks make it more powerful as we can update or run playbook as per the desired time. ● Integrated Notifications: One more feature which is important to notice is its integration with the notification channels. Some of them are Slack, Hipchat, SMS, PagerDuty and others. Also, we can configure webhook which can trigger other tools. ● Manage and track dynamic inventory: We can manage and track the inventory files of hosts on the basis of data in external inventory systems. Ansible Tower can integrate with different external inventory systems (LDAP, EC2, CMDBs, cobbler, etc). ● Cloud integration(AWS, Rackspace, Azure): Ansible Tower can be integrated with major Cloud providers such as Amazon AWS, Rackspace and Microsoft Azure. 4
  • 5. 4. ​Installation AWX can be installed both in single machine scenario and also in a high availability multi-machine cluster, but for the simplicity of this blog, we are going to discuss the single machine setup. Although you can choose from several single machine installation scenarios like OpenShift, Kubernetes, Docker, and even from distribution packages, I prefer Docker over others mainly because of the ease of management and cleanliness of the installation. Following are the prerequisites you need to have. ● Ansible​ (Version 2.4 or above) ● Docker ● Docker-py Interesting thing is that the installation itself is done by an ​Ansible playbook​ managed by AWX project. Once you clone the ​github project​, you just need to run the playbook and post that, 5 docker containers will be brought up. 5
  • 6. 5. ​Tower Dashboard After a successful installation, you can simply hit your host IP or DNS on the browser and you’ll see the AWX login page following the dashboard. Default admin credentials are ​admin​ & password​. 6. ​Terminology If you are already versed with Ansible, there are not many terms you will take time to pick up from here, you will find the terms rather intuitive. 6.1 Organization This is the highest level object in the hierarchy, it is a logical collection of users, teams, projects and inventories. Organization aids in implementing role based access control on the top level. Almost all the objects are associated to an organization. 6
  • 7. 6.2 Users, User Types and Teams Users as you can guess, are the lowest level of role based access hierarchy. There are three types of users you can create ● Normal User ​have full access to the resources for which that user has been granted access to within an organization. ● System Auditor ​have read-only access to all the resources within the organization they are part of. ● System Administrator ​have superuser access to the entire awx / tower installation. Teams ​are just a collection of users within an organization for cleaner access control. You can provide access to resources on team level too. 6.3 Inventories, Hosts and Groups Inventories in AWX/tower are same as that in Ansible with a difference that hosts and groups can configured via the console, and you can control the access of every inventory just other resources in the console. 7
  • 8. 6.4 Credentials This is where you save all your credentials like SSH key, Ansible Vault password, AWS access credentials, etc. You can also secure a playbook run with a password saved in the credentials. There are several credential types which are supported by the AWX/tower right off the bat (shown below), and you can also add new types. 6.5 Project A project is a collection of playbooks typically stored in an SCM. So essentially you configure a SCM repo in the project which has the playbooks and roles. 8
  • 9. 6.6 Template This is probably the most interesting term in the list, it’s where you combine your playbook with the inventory and other settings like credentials, to launch off a job from it. A template is the object that you would schedule on a regular interval to keep all the hosts in the desired state of the playbook. 9
  • 10. That’s all you need folks, to get started with Ansible Tower or AWX. I hope you liked the post, you can also ​contact us​ if you want to your business to be equipped with this powerful yet straightforward tool. 10
  • 11. 7. About the Author Navjot Singh - DevOps Engineer TO THE NEW Navjot is a Red Hat Certified DevOps Engineer and one of the leading DevOps consultants. He is also a leading aws certified solutions architect and a shell-scripting expert with hands-on-experience on multi-server environment & deployments. Being a leading AWS DevOps engineer He has strong understanding on AWS and has great ability in gathering requirements and implementing appropriate solutions for customers. He loves playing table tennis. 8. About TO THE NEW   TO THE NEW is a premium digital technology company that provides end-to-end product development services. TO THE NEW leverages the power of experience design, cutting-edge engineering and cloud to build disruptive web and mobile products and enable digital transformation for businesses. TO THE NEW practices Agile methodologies to develop innovative products with a faster time to market. With a team of 750+ passionate technologists, TO THE NEW constantly challenges the status quo to empower Fortune 500 companies as well as startups across the globe. 11