ansible
play

ANSIBLE Configuration Management System done right Fabio Alessandro - PowerPoint PPT Presentation

ANSIBLE Configuration Management System done right Fabio Alessandro Locati Senior Cloud Consultant 29 November 2016 OUTLINE Intro Automation Automation Concepts Ansible 2 INTRO IT Consultant since 2004 Ansible user since 2013


  1. ANSIBLE Configuration Management System done right Fabio Alessandro Locati Senior Cloud Consultant 29 November 2016

  2. OUTLINE Intro Automation Automation Concepts Ansible 2

  3. INTRO

  4. • IT Consultant since 2004 • Ansible user since 2013 ABOUT ME 4

  5. • Ansible user since 2013 ABOUT ME • IT Consultant since 2004 4

  6. ABOUT ME • IT Consultant since 2004 • Ansible user since 2013 4

  7. • Auditability • Job-hopping • Speed • Scalability • Horizontal scaling (IaaS “cloud”) • Expected QoS TODAY’S PROBLEMS 5

  8. • Job-hopping • Speed • Scalability • Horizontal scaling (IaaS “cloud”) • Expected QoS TODAY’S PROBLEMS • Auditability 5

  9. • Speed • Scalability • Horizontal scaling (IaaS “cloud”) • Expected QoS TODAY’S PROBLEMS • Auditability • Job-hopping 5

  10. • Scalability • Horizontal scaling (IaaS “cloud”) • Expected QoS TODAY’S PROBLEMS • Auditability • Job-hopping • Speed 5

  11. • Horizontal scaling (IaaS “cloud”) • Expected QoS TODAY’S PROBLEMS • Auditability • Job-hopping • Speed • Scalability 5

  12. • Expected QoS TODAY’S PROBLEMS • Auditability • Job-hopping • Speed • Scalability • Horizontal scaling (IaaS “cloud”) 5

  13. TODAY’S PROBLEMS • Auditability • Job-hopping • Speed • Scalability • Horizontal scaling (IaaS “cloud”) • Expected QoS 5

  14. AUTOMATION

  15. • Code is the infrastructure documentation* • Simplify auditability • Infrastructure as Code • Infrastructures with no humans with root powers • Easy and quick to scale out ADVANTAGES 7

  16. • Code is the infrastructure documentation* • Simplify auditability • Infrastructures with no humans with root powers • Easy and quick to scale out ADVANTAGES • Infrastructure as Code 7

  17. • Simplify auditability • Infrastructures with no humans with root powers • Easy and quick to scale out ADVANTAGES • Infrastructure as Code • Code is the infrastructure documentation* 7

  18. • Infrastructures with no humans with root powers • Easy and quick to scale out ADVANTAGES • Infrastructure as Code • Code is the infrastructure documentation* • Simplify auditability 7

  19. • Easy and quick to scale out ADVANTAGES • Infrastructure as Code • Code is the infrastructure documentation* • Simplify auditability • Infrastructures with no humans with root powers 7

  20. ADVANTAGES • Infrastructure as Code • Code is the infrastructure documentation* • Simplify auditability • Infrastructures with no humans with root powers • Easy and quick to scale out 7

  21. AUTOMATION CONCEPTS

  22. • High performance during commands execution • Connection between clients and server is client managed • Forces the master to be in the least secure network segment • Resources are used even if no changes are being applied • More daemons to take care of • Chicken and Egg problem • Advantages • Disadvantages AGENT An Agent is a daemon that runs on every controlled machine and that will check with the server (master) every N minutes to ensure that the host is aligned with the latest configuration version. If this is not the case, the Agent will download the lastest configuration version and apply it. 9

  23. • Forces the master to be in the least secure network segment • Resources are used even if no changes are being applied • More daemons to take care of • Chicken and Egg problem • High performance during commands execution • Connection between clients and server is client managed • Disadvantages AGENT An Agent is a daemon that runs on every controlled machine and that will check with the server (master) every N minutes to ensure that the host is aligned with the latest configuration version. If this is not the case, the Agent will download the lastest configuration version and apply it. • Advantages 9

  24. • Forces the master to be in the least secure network segment • Resources are used even if no changes are being applied • More daemons to take care of • Chicken and Egg problem • Connection between clients and server is client managed • Disadvantages AGENT An Agent is a daemon that runs on every controlled machine and that will check with the server (master) every N minutes to ensure that the host is aligned with the latest configuration version. If this is not the case, the Agent will download the lastest configuration version and apply it. • Advantages • High performance during commands execution 9

  25. • Forces the master to be in the least secure network segment • Resources are used even if no changes are being applied • More daemons to take care of • Chicken and Egg problem • Disadvantages AGENT An Agent is a daemon that runs on every controlled machine and that will check with the server (master) every N minutes to ensure that the host is aligned with the latest configuration version. If this is not the case, the Agent will download the lastest configuration version and apply it. • Advantages • High performance during commands execution • Connection between clients and server is client managed 9

  26. • Forces the master to be in the least secure network segment • Resources are used even if no changes are being applied • More daemons to take care of • Chicken and Egg problem AGENT An Agent is a daemon that runs on every controlled machine and that will check with the server (master) every N minutes to ensure that the host is aligned with the latest configuration version. If this is not the case, the Agent will download the lastest configuration version and apply it. • Advantages • High performance during commands execution • Connection between clients and server is client managed • Disadvantages 9

  27. • Resources are used even if no changes are being applied • More daemons to take care of • Chicken and Egg problem AGENT An Agent is a daemon that runs on every controlled machine and that will check with the server (master) every N minutes to ensure that the host is aligned with the latest configuration version. If this is not the case, the Agent will download the lastest configuration version and apply it. • Advantages • High performance during commands execution • Connection between clients and server is client managed • Disadvantages • Forces the master to be in the least secure network segment 9

  28. • More daemons to take care of • Chicken and Egg problem AGENT An Agent is a daemon that runs on every controlled machine and that will check with the server (master) every N minutes to ensure that the host is aligned with the latest configuration version. If this is not the case, the Agent will download the lastest configuration version and apply it. • Advantages • High performance during commands execution • Connection between clients and server is client managed • Disadvantages • Forces the master to be in the least secure network segment • Resources are used even if no changes are being applied 9

  29. • Chicken and Egg problem AGENT An Agent is a daemon that runs on every controlled machine and that will check with the server (master) every N minutes to ensure that the host is aligned with the latest configuration version. If this is not the case, the Agent will download the lastest configuration version and apply it. • Advantages • High performance during commands execution • Connection between clients and server is client managed • Disadvantages • Forces the master to be in the least secure network segment • Resources are used even if no changes are being applied • More daemons to take care of 9

  30. AGENT An Agent is a daemon that runs on every controlled machine and that will check with the server (master) every N minutes to ensure that the host is aligned with the latest configuration version. If this is not the case, the Agent will download the lastest configuration version and apply it. • Advantages • High performance during commands execution • Connection between clients and server is client managed • Disadvantages • Forces the master to be in the least secure network segment • Resources are used even if no changes are being applied • More daemons to take care of • Chicken and Egg problem 9

  31. IDEMPOTENCE Definition Idempotence is the property of certain operations in mathematics and computer science, that can be applied multiple times without changing the result beyond the initial application. 10

  32. • Really simple to write • Even simpler to read • Only the bit important to you need to be written INFRASTRUCTURE AS CODE DATA 11

  33. • Even simpler to read • Only the bit important to you need to be written INFRASTRUCTURE AS CODE DATA • Really simple to write 11

  34. • Only the bit important to you need to be written INFRASTRUCTURE AS CODE DATA • Really simple to write • Even simpler to read 11

  35. INFRASTRUCTURE AS CODE DATA • Really simple to write • Even simpler to read • Only the bit important to you need to be written 11

  36. - hosts: all become: True tasks: yum: state: present - name: Ensure user tom is present user: name: tom state: present EXAMPLE OF SYNTAX - name: Ensure MySQL is installed name: mysql 12

  37. ANSIBLE

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend