Categories

Nov 13, 2019 in Ansible

Q: What are the difference between Ansible vs Puppet

1 Answer

Nov 13, 2019
Ansible vs Puppet

Ansible and Puppet are fast becoming essential components for managing a large number of servers. They are commonly called configuration management and remote execution tools.

These mega-useful apps allow the admin, for instance, to execute an action on several servers simultaneously, and deploy multiple apps with a single click. It makes it much easier to configure and maintain thousands of servers. Before move further, take a glance at Ansible and puppet.

Ansible

Ansible is an open-source IT engine that automates application deployment, cloud provisioning, intra service orchestration, and other IT tools.

Ansible is easy to deploy because it does not use any agents or custom security infrastructure on the client-side, and by pushing modules to the clients. These modules are executed locally on the client-side, and the output is pushed back to the Ansible server.

It can easily connect to clients using SSH-Keys, simplifying though the whole process. Client details, such as hostnames or IP addresses and SSH ports, are stored in the files, which are called inventory files. If you created an inventory file and populated it, then Ansible can use it.

Ansible uses the playbook to describe automation jobs, and playbook, which uses simple language, i.e., YAML. YAML is a human-readable data serialization language & commonly used for configuration files, but it can be used in many applications where data is being stored.

A significant advantage is that even the IT infrastructure support guys can read and understand the playbook and debug if needed.

Ansible is designed for multi-tier deployment. Ansible does not manage one system at a time, and it models IT infrastructure by describing all of your systems are interrelated. Ansible is entirely agentless, which means Ansible works by connecting your nodes through SSH (by default). Ansible gives the option to you if you want another method for the connection like Kerberos.

Puppet

Puppet is a configuration management tool that is used for configuring, deploying, and managing servers. It also performs the following functions, such as:

It defines the distinct configuration for every host, and also it continuously checks and confirms the required configuration, such as is it in place and not altered on the host. (if altered, they will revert to the required configuration).

Dynamic scaling up and scaling down of machines.

It provides control over all your configured machines, so a centralized change gets propagated to all automatically.

Puppet uses a master-slave architecture in which the master and the slave communicate through a secure encrypted channel with the help of SSL.
Click here to read more about Ansible
Click here to read more about Insurance

Related questions

Madanswer
Mar 3 in Ansible
Oct 7 in Ansible
Oct 7 in Ansible
...