Ansible VS terraform

Compare Ansible vs terraform and see what are their differences.

Ansible

Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy and maintain. Automate everything from code deployment to network configuration to cloud management, in a language that approaches plain English, using SSH, with no agents to install on remote systems. https://docs.ansible.com. (by ansible)

terraform

Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned. (by hashicorp)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
Ansible terraform
391 501
61,210 41,235
0.7% 0.5%
9.8 9.9
2 days ago 1 day ago
Python Go
GNU General Public License v3.0 only GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Ansible

Posts with mentions or reviews of Ansible. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-27.
  • Ansible Basics: Your First HelloWorld Playbook 🚀
    2 projects | dev.to | 27 Apr 2024
    Ansible is an open-source IT automation tool that simplifies application deployment, cloud provisioning, and configuration management across diverse environments. It uses a declarative language to describe the desired state of the system, and then takes the necessary actions to achieve that state. Ansible has become incredibly popular due to its simplicity, agentless architecture, and extensive community support. Document: ansible.com, ansible basics
  • Grant Kubernetes Pods Access to AWS Services Using OpenID Connect
    5 projects | dev.to | 22 Apr 2024
    Ansible v2.16
  • Set up an Automation script with Ansible
    1 project | dev.to | 21 Apr 2024
    Ansible is a tool used to help manage software automation processes, configuration management across machines, deployment as well as remote execution of commands and scripts. In sports, Ansible operates as the coach of your team by providing strategies (playbooks), and actions, and ensuring the smooth execution of tasks across your infrastructure, just like a coach guides and directs players (Servers)during a game.
  • Interesting Uses of Ansible's ternary filter
    3 projects | news.ycombinator.com | 22 Feb 2024
    They support for-if from python, too: https://jinja.palletsprojects.com/en/3.1.x/templates/#loop-f... but I haven't tried the "recursive" keyword to know if ansible supports that. I say "ansible supports that" because they don't just drop jinja2 into ansible and call it a draw, they have a bunch of custom execution integrations: https://github.com/ansible/ansible/blob/v2.16.3/lib/ansible/...
  • The 2024 Web Hosting Report
    37 projects | dev.to | 20 Feb 2024
    To manage a VM, you can use something as simple as just manual actions over SSH, or can use tools like Ansible, Hashicorp's Packer and Terraform or other automations. For an app where there is minimal load and security/reliability concern, VMs are still a great option that provide a lot of value for the buck
  • A Journey to Find an Ultimate Development Environment
    13 projects | dev.to | 2 Feb 2024
    In this article's context, it is simply a tool that provides a declarative way to automate your machine/OS to configure the development machine as you want (install package, modify the configuration, etc). Examples of these tools are Ansible, Puppet, etc.
  • The Director of "Toy Story" Also Drew the BSD Daemon Logo
    1 project | news.ycombinator.com | 17 Jan 2024
    Now we're getting more tangential, but for years, Ansible releases were named for Van Halen songs (see old Changelog here: https://github.com/ansible/ansible/blob/v1.8.4/CHANGELOG.md)
  • Running stateful workloads on Kubernetes with Rook Ceph
    4 projects | dev.to | 26 Dec 2023
    In the lab to follow, we'll quickly provision a 3-node kubeadm cluster (1 master, 2 workers) on the cloud provider of your choice using an automation stack comprised of OpenTofu and Ansible, then deploy Rook Ceph using the official Helm charts and confirm that we are now able to successfully create CSI volume snapshots from PVCs by reusing the MinIO example from our last article.
  • Looking for a way to remote in to K's of raspberry pi's...
    11 projects | /r/sysadmin | 10 Dec 2023
  • ansible builder collections path
    2 projects | /r/ansible | 6 Dec 2023

terraform

Posts with mentions or reviews of terraform. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-29.
  • AWS Cloud Platform for highly loaded WordPress website
    3 projects | dev.to | 29 Apr 2024
    I am not only a big fan of hashicorp terraform. I'm also one of the early adopters of it. So this is my main go-to Infrastructure as a Code tool. However all the resources I use are supported by other IaaC solutions such as AWS CloudFormation and AWS CDK. You definitely got to use one to avoid loosing the track of resources you create.
  • Why CISA Is Warning CISOs About a Breach at Sisense
    3 projects | news.ycombinator.com | 11 Apr 2024
    State Encryption was one of those long requested features[0] (I had it on my ideas list for years[1]) that Hashicorp didn't have much incentive to build. I don't think it has to with distancing opentofu as such, but the opentofu team prioritizing the right things that customers actually need.

    [0]: https://github.com/hashicorp/terraform/issues/9556

    [1]: https://github.com/captn3m0/ideas#-mars-terraform-remote-htt...

  • OpenTofu Response to HashiCorp's Cease and Desist Letter
    2 projects | news.ycombinator.com | 11 Apr 2024
    https://github.com/hashicorp/terraform/issues/34402

    I’m not a lawyer and have no idea who is right or wrong but I understand why Hashicorp is scrutinizing this.

  • The power of the CLI with Golang and Cobra CLI
    9 projects | dev.to | 6 Apr 2024
    Just to give an example of the power of Go for CLI builds, you may have already used or at least heard of Docker, Kubernetes, Prometheus, Terraform, but what do they all have in common? They all have a large part of their usability via CLI and are developed in Go 🐿.
  • I Deployed My Own Cute Lil’ Private Internet (a.k.a. VPC)
    8 projects | dev.to | 18 Mar 2024
    Each app’s front end is built with Qwik and uses Tailwind for styling. The server-side is powered by Qwik City (Qwik’s official meta-framework) and runs on Node.js hosted on a shared Linode VPS. The apps also use PM2 for process management and Caddy as a reverse proxy and SSL provisioner. The data is stored in a PostgreSQL database that also runs on a shared Linode VPS. The apps interact with the database using Drizzle, an Object-Relational Mapper (ORM) for JavaScript. The entire infrastructure for both apps is managed with Terraform using the Terraform Linode provider, which was new to me, but made provisioning and destroying infrastructure really fast and easy (once I learned how it all worked).
  • Configurar AWS Signer en lambda con terraform
    2 projects | dev.to | 18 Mar 2024
  • Cranelift code generation comes to Rust
    5 projects | news.ycombinator.com | 18 Mar 2024
  • The Essential Guide to Internal Developer Platforms
    3 projects | dev.to | 13 Mar 2024
    For example, integrating Terraform for infrastructure as code (IaC) into the IDP can streamline updates and rollbacks.
  • Experience Continuous Integration with Jenkins | Ansible | Artifactory | SonarQube | PHP
    8 projects | dev.to | 24 Feb 2024
    In this project, you will understand and get hands on experience around the entire concept around CI/CD from applications perspective. To fully gain real expertise around this idea, it is best to see it in action across different programming languages and from the platform perspective too. From the application perspective, we will be focusing on PHP here; there are more projects ahead that are based on Java, Node.js, .Net and Python. By the time you start working on Terraform, Docker and Kubernetes projects, you will get to see the platform perspective of CI/CD in action.
  • The 2024 Web Hosting Report
    37 projects | dev.to | 20 Feb 2024
    Infrastructure as Code (IaC) is an important part of any true hosting operation in the public cloud. Each of these platforms has their own IaC solution, e.g. AWS CloudFormation. But they also support popular open-source IaC tools like Pulumi or Terraform. A category of tools that also needs to be discussed is API gateways and other app-specific load balancers. There are applications for internal consumption, which can be called microservices if you have a lot of them. And often microservices use advanced networking options such as a service mesh instead of just the native private network offered by a VPC.

What are some alternatives?

When comparing Ansible and terraform you can also consider the following projects:

Cloud-Init - unofficial mirror of Ubuntu's cloud-init

terragrunt - Terragrunt is a thin wrapper for Terraform that provides extra tools for working with multiple Terraform modules.

pyinfra - pyinfra turns Python code into shell commands and runs them on your servers. Execute ad-hoc commands and write declarative operations. Target SSH servers, local machine and Docker containers. Fast and scales from one server to thousands.

Docker Compose - Define and run multi-container applications with Docker

Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]

terraform-provider-restapi - A terraform provider to manage objects in a RESTful API

Fabric - Simple, Pythonic remote execution and deployment.

crossplane - The Cloud Native Control Plane

cloudinit - Official upstream for the cloud-init: cloud instance initialization

boto3 - AWS SDK for Python

Pulumi - Pulumi - Infrastructure as Code in any programming language. Build infrastructure intuitively on any cloud using familiar languages 🚀

nvim-lspconfig - Quickstart configs for Nvim LSP