Ansible and Ansible Tower 1 A simple IT automation platform. www.europeanspallationsource.se 20 November 2015 Leandro Fernandez and Blaž Zupanc.

Slides:



Advertisements
Similar presentations
BizTalk Deployment using Visual Studio Release Management
Advertisements

Presented by Mina Haratiannezhadi 1.  publishing, editing and modifying content  maintenance  central interface  manage workflows 2.
SaaS, PaaS & TaaS By: Raza Usmani
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 7 Configuring File Services in Windows Server 2008.
Talend 5.4 Architecture Adam Pemble Talend Professional Services.
EUROPEAN UNION Polish Infrastructure for Supporting Computational Science in the European Research Space Cracow Grid Workshop’10 Kraków, October 11-13,
“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”
Automate Microsoft Azure Ross Sponholtz Mark Ghazai.
Web Based Applications
STIG Compliance and Remediation with Ansible April 2015.
Model a Container Runtime environment on Your Mac with VMware AppCatalyst VMworld Fabio Rapposelli
Business Unit or Product Name © 2007 IBM Corporation Introduction of Autotest Qing Lin.
Service Computation 2010November 21-26, Lisbon.
INFSO-RI Module 01 ETICS Overview Alberto Di Meglio.
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
Automate Administration with KURL Shayne Koestler.
Contents 1.Introduction, architecture 2.Live demonstration 3.Extensibility.
INFSO-RI Module 01 ETICS Overview Etics Online Tutorial Marian ŻUREK Baltic Grid II Summer School Vilnius, 2-3 July 2009.
ICS Software Development Environment Blaž Zupanc and Leandro Fernandez 31 August 2015.
Overview of the SAS® Management Console
Tool Integration with Data and Computation Grid GWE - “Grid Wizard Enterprise”
1 PUPPET AND DSC. INTRODUCTION AND USAGE IN CONTINUOUS DELIVERY PROCESS. VIKTAR VEDMICH PAVEL PESETSKIY AUGUST 1, 2015.
Ansible with vCloud Air Workshop
Development of e-Science Application Portal on GAP WeiLong Ueng Academia Sinica Grid Computing
A Technical Overview Bill Branan DuraCloud Technical Lead.
Sponsored by the National Science Foundation Today’s Exercise.
Tool Integration with Data and Computation Grid “Grid Wizard 2”
SPI NIGHTLIES Alex Hodgkins. SPI nightlies  Build and test various software projects each night  Provide a nightlies summary page that displays all.
Google Code Libraries Dima Ionut Daniel. Contents What is Google Code? LDAPBeans Object-ldap-mapping Ldap-ODM Bug4j jOOR Rapa jongo Conclusion Bibliography.
ICS Software Development Environment Blaž Zupanc and Leandro Fernandez 10 March 2016.
Cloud Installation & Configuration Management. Outline  Definitions  Tools, “Comparison”  References.
Sponsored by the National Science Foundation Systematic Experimentation Sarah Edwards GENI Project Office.
De Rigueur - Adding Process to Your Business Analytics Environment Diane Hatcher, SAS Institute Inc, Cary, NC Falko Schulz, SAS Institute Australia., Brisbane,
ICS Software Development Environment Blaž Zupanc and Leandro Fernandez 19 February 2016.
Long Live Azure Automation!Long Live Azure Automation! Cloud-first Configuration Management and Automation Beth Cooper Program Manager.
Introduction to Ansible
SDN-O LCM for Mercury Release Key Points and Overview
PaaS services for Computing and Storage
Introduction to Ansible
ONAP on Vagrant for ONAPers
@ Bucharest DevOps Hacker Meetup
Site Administration Tools: Ansible
Modernize Your Operations
Modern Systems Analysis and Design Third Edition
Infrastructure Orchestration to Optimize Testing
GWE Core Grid Wizard Enterprise (
4th Forum How to easily offer your application as a self-service template by using OpenShift and GitLab-CI 4th Forum Alberto.
IT Atoumation / Conf. Mgmt...
Drupal VM and Docker4Drupal For Drupal Development Platform
Drupal VM and Docker4Drupal as Consistent Drupal Development Platform
Intro to Config Management Using Salt Open Source
Ansible and Zabbix Rushikesh Prabhune (Software Technical Consultant)
X in [Integration, Delivery, Deployment]
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Scaling Experiments.
Business Process Management Software
Modern Systems Analysis and Design Third Edition
Red Hat Cloud Courses.
Introduction to Ansible
Presented By - Avinash Pawar
Module 01 ETICS Overview ETICS Online Tutorials
GBIF CESP Workshop, Madrid 2018 Dave Martin
In this session… Introduce what we’re talking about
SE goes software engineering; managing the Compose* project.
Modern Systems Analysis and Design Third Edition
Chapter 7 –Implementation Issues
Cloud Computing: Concepts
Node.js Test Automation using Oracle Developer Cloud- Simplified
DBOS DecisionBrain Optimization Server
Securing IaaS in the cloud
Presentation transcript:

Ansible and Ansible Tower 1 A simple IT automation platform November 2015 Leandro Fernandez and Blaž Zupanc

Scope 2 The aim of this presentation is to describe how we plan to manage the software in the Software Group: services and development environment We hope you find interesting the tools and workflows that will be presented. And count on us to help you if you want to use these technologies in your own projects.

Why? 3 Huge amount of software Different projects Different people Different companies and organizations

Why 4 We need to be in control

How we used to deployed our software 5 Up to each developer Different technologies and languages Lack of documentation Difficult to reproduce installations Manual and error-prone process

We needed to get back in control 6 Standardize the deployment and configuration Unify technologies and languages Self-document system Reproducible deployments Infrastructure as a code Automation

How? 7 We want a system that will help us to : Describe how we want to configure our systems: software, versions… Describe how to orchestrate our systems Configuration management and provisioning tool

Ansible

Ansible Introduction Ansible is a software platform for configuring and managing computers. It combines multi-node software deployment, ad hoc tasks execution and configuration management. Use case to get an idea: Write configuration of a production server as code (installed software, services to be running...everything) Enjoy having the whole configuration documented Run this code and have a production server running in a matter of minutes 9

Ansible Main features Documented and reusable machine configuration written in Ansible playbooks. Agentless No client daemon required on target machines. Idempotent Code defines states instead of actions. Multi-node orchestration Configure many nodes simultaneously. 10

Ansible Other useful features Simple installation (only needed on one machine) requires Python > 2.4, yum install epel-release, yum install ansible Easy to use human-readable YAML syntax Organizational features to reuse chunks of code without duplicating it Variables, prompts, hosts groups, playbook dependencies... 11

Ansible Playbook example 12

Ansible Tower Introduction is a user friendly web-based Graphical User Interface (GUI) that lowers the entry barrier of using Ansible. 13

Ansible Tower Architecture 14 ansible02... Machine 1 Machine 2 Machine 3 Machine 4 Machine examples: ics-services.esss.lu.se artifactory01.esss.lu.se local Vagrant machine... SSH HTTPS

Ansible Tower Main features Easy to use GUI with push button execution Centralized job runs, playbook storage, logs... Schedule jobs Use playbooks from the server or from source control Graphical real time output and log history 15

Ansible Tower Other useful features LDAP integration Role based access control Encrypted credentials storage Extensible with a fully documented REST API Support is provided 16

Ansible Playbook repositories Repo name: ics-ans-devenv Development machine playbooks. ics-ans-nfsserver In-kind EEE server playbooks. ics-ans-general Other general purpose playbooks. ics-ans-maintenance Playbooks for maintaining existing systems. 17

Sections Projects A project is bound to a repository of Ansible playbooks which can exist physically on the server or in Git, Mercurial, Subversion. Inventories Inventory is a collection of target machines (hosts). You can assign hosts to an inventory or create groups containing hosts. Job templates A job template is a template for executing a job. It defines a specific playbook in a specific project that is to be run, as well as the inventory to be run on and credentials to be used to connect to hosts from the inventory. Jobs A job is an execution of a job template. You can graphically follow the results from every step of the playbook in real time and for past executions as well. 18

Ansible Tower Demo 19 Install java 8 Integrate the machine into LDAP Mount a folder using autofs Set up an NFS server and make a folder mountable