Ansible AWX 圖形化管理 Ansible 環境的利器 王偉任 weithenn.org
Agenda ▪ Infrastructure as Code (IaC) ▪ Why Ansible ▪ Ansible Engine vs Tower vs AWX ▪ Ansible AWX Features ▪ Use Case Demo 3
Infrastructure as Code (IaC)
Bimodal IT – Mode 1 / Mode 2 ▪ Mode 1 Traditional Infrastructure – Reliability / Stability ▪ Physical Server / Storage / Network – ▪ Mode 2 Infrastructure Agility – Software Defined (SDC, SDS, SDN) – VM / Container / Microservice – Agility / DevOps ▪ 5 Image From: Gartner - Data Center Modernization and Consolidation Key Initiative Overview
7
CNCF – Cloud Native Landscape 8 Reference: CNCF Cloud Native Interactive Landscape
Infrastructure as Code (IaC) 9
Why Ansible
Ansible – Language of automation CROSS PLATFORM HUMAN READABLE PERFECT DESCRIPTION OF APPLICATION Agentless support for all major OS Perfectly describe and document every Every change can be made by Playbooks, variants, physical, virtual, cloud and aspect of your application environment. ensuring everyone is on the same page. network devices. DYNAMIC INVENTORIES VERSION CONTROLLED ORCHESTRATION PLAYS WELL WITH OTHERS Capture all the servers 100% of the time, Orchestration plays well with others: Playbooks are plain-text. Treat them like ServiceNow, Infoblox, AWS, Terraform, regardless of infrastructure, location, etc. code in your existing version control. Cisco ACI and more 11
Ansible Automates Technologies You Use CLOUD VIRT & CONTAINER WINDOWS NETWORK DEVOPS MONITORING AWS Docker ACLs Arista Jira Dynatrace Azure VMware Files A10 GitHub Airbrake Digital Ocean RHV Packages Cumulus Vagrant BigPanda Google OpenStack IIS Bigswitch Jenkins Datadog OpenStack OpenShift Regedits Cisco Bamboo LogicMonitor Rackspace +more Shares Cumulus Atlassian Nagios +more Services Dell Subversion New Relic Configs F5 Slack PagerDuty OPERATING STORAGE Users Juniper Hipchat Sensu SYSTEMS NetApp Domains Palo Alto +more StackDriver RHEL and Linux Red Hat Storage +more OpenSwitch Zabbix UNIX Infinidat +more +more Windows +more +more 12
Ansible Architecture PUBLIC / PRIVATE PUBLIC / PRIVATE CLOUD CLOUD CMDB ANSIBLE AUTOMATION ENGINE USERS HOSTS INVENTORY CLI MODULES PLUGINS NETWORK DEVICES ANSIBLE PLAYBOOK 13 Reference: RedHat people bhinson – Ansible automation technical deck
Ansible Engine vs Tower vs AWX
Ansible Engine vs Tower vs AWX Ansible Engine Ansible Tower Ansible AWX • • • CLI Only. A GUI Dashboard. The AWX Project is the fast- • • Not centralized management. Red Hat licensed and 24x7 moving upstream project from • Integration with Red Hat supported. which Red Hat Ansible Tower is • Enterprise Linux. High Availability supported. derived. • • • Support for Ansible core Role-based access control Opensource of free to use. • • modules per product life cycle. Job scheduling No node limitations. • • • Support for the Ansible Graphical inventory Frequent updates from the execution engine. management community. • • Multi-playbook workflow Community support. • RESTful API • External logging integrations • Real-time job status updates 15
Why Ansible AWX Ansible AWX is a opensource of Ansible Tower, so it’s free to use, GUI based, and RESTful API allowing you to scale IT automation, manage complex deployments and speed productivity. ✓ RBAC (Role-Based Access Control) ✓ Push Button – Easy to execute playbook ✓ RESTful API ✓ Workflow ✓ Enterprise Integrations ✓ Centralized Logging ✓ Ansible AWX is FREE 16 Image From: RedHat people bhinson – Ansible automation technical deck
Ansible AWX Architecture 17 Image From: RedHat people bhinson – Ansible automation technical deck
Ansible AWX Features
Dashboard 19
RBAC (Role-Based Access Control) 20 Reference: 27. Security — Ansible Tower User Guide v3.6.3
Easy to Execute Playbook 21
Automation Workflow 22 Image From: RedHat people bhinson – Ansible automation technical deck
Thank you
Recommend
More recommend