Portainer VS terraform

Compare Portainer vs terraform and see what are their differences.

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)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
Portainer terraform
337 500
28,852 41,118
2.2% 1.1%
9.8 9.9
about 12 hours ago 6 days ago
TypeScript Go
zlib License 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.

Portainer

Posts with mentions or reviews of Portainer. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-22.
  • Homelab Adventures: Crafting a Personal Tech Playground
    7 projects | dev.to | 22 Apr 2024
    Portainer
  • Runtipi: Docker-Based Home Server Management
    2 projects | news.ycombinator.com | 4 Apr 2024
    > Any tips on the minimum hardware or VPS's needed to get a small swarm cluster setup?

    From my testing, Docker Swarm is very lightweight, uses less memory than both Hashicorp Nomad and lightweight Kubernetes distros (like K3s). Most of the resource requirements will depend on what containers you actually want to run on the nodes.

    You might build a cluster from a bunch of Raspberry Pis, some old OptiPlex boxes or laptops, or whatever you have laying around and it's mostly going to be okay. On a practical level, anything with 1-2 CPU cores and 4 GB of RAM will be okay for running any actually useful software, like a web server/reverse proxy, some databases (PostgreSQL/MySQL/MariaDB), as well as either something for a back end or some pre-packaged software, like Nextcloud.

    So, even 5$/month VPSes are more than suitable, even from some of the more cheap hosts like Hetzner or Contabo (though the latter has a bad rep for limited/no support).

    That said, you might also want to look at something like Portainer for a nice web based UI, for administering the cluster more easily, it really helps with discoverability and also gives you redeploy web hooks, to make CI easier: https://www.portainer.io/ (works for both Docker Swarm as well as Kubernetes, except the Kubernetes ingress control was a little bit clunky with Traefik instead of Nginx)

  • Cómo instalar Docker CLI en Windows sin Docker Desktop y no morir en el intento
    2 projects | dev.to | 19 Mar 2024
  • Setup Portainer for Server App
    1 project | dev.to | 23 Jan 2024
    In this section, we will add Portainer to help us in managing our Docker containers. You can find more details about it here. To integrate Portainer into our EC2 project, we can follow these steps:
  • Old documentation url on Github issues gives ERR_TOO_MANY_REDIRECTS.
    1 project | /r/portainer | 19 Oct 2023
    Git issues pointing to: https://docs.portainer.io/v/ce-2.9/start/install/agent/swarm/linux gives a ERR_TOO_MANY_REDIRECTS.
  • Docker CI/CD with multiple docker-compose files.
    2 projects | /r/homelab | 17 Oct 2023
    I am currently running Portainer, but webhooks (GitOps) appear to be broken ( [2.19.0] GitOps Updates not automatically polling from git · Issue #10309 · portainer/portainer · GitHub ) and so I cannot send webhook to redeploy a stack. So, looking for alternatives. Using this as a good excuse to learn more about docker and CI/CD etc.
  • Ask HN: How do you manage your “family data warehouse”?
    3 projects | news.ycombinator.com | 15 Sep 2023
    A Synology NAS running Portainer (https://www.portainer.io/) running Paperless NGX (https://github.com/paperless-ngx/paperless-ngx)

    This works better than I can possibly tell you.

    I have an Epson WorkForce ES-580W that I bought when my mother passed away to bulk scan documents and it scans everything, double-sided if required, multi-page PDFs if required, at very high speed and uploads everything to OneDrive, at which point I drag and drop everything into Paperless.

    I could, thinking about it, have the scanner email stuff to Paperless. Might investigate that today.

    Paperless will OCR it and make it all searchable. This setup is amazing, I love living in the future.

  • Bare-Metal Kubernetes, Part I: Talos on Hetzner
    8 projects | news.ycombinator.com | 9 Sep 2023
    > I've come to the conclusion (after trying kops, kubespray, kubeadm, kubeone, GKE, EKS) that if you're looking for < 100 node cluster, docker swarm should suffice. Easier to setup, maintain and upgrade.

    Personally, I'd also consider throwing Portainer in there, which gives you both a nice way to interact with the cluster, as well as things like webhooks: https://www.portainer.io/

    With something like Apache, Nginx, Caddy or something else acting as your "ingress" (taking care of TLS, reverse proxy, headers, rate limits, sometimes mTLS etc.) it's a surprisingly simple setup, at least for simple architectures.

  • What are some of your fav panels and why?
    3 projects | /r/homelab | 23 Aug 2023
    casaos it just makes things like backups, offsite syncing and many other nas related things so much easier to manage. And gives you a proper nas like experience similar to that in which you'd fine on companies like tnas or synology. I actually also use it as a replacement for portainer when i don't need the more advanced features it offers
  • Kubernetes Exposed: One YAML Away from Disaster
    4 projects | news.ycombinator.com | 8 Aug 2023
    > I moved to docker swarm and love it. It's so much easier, straight forward, automatic ingress network and failover were all working out of the box. I'll stay with swarm for now.

    I've had decent luck in the past with the K3s distribution, which is a bit cut down Kubernetes: https://k3s.io/

    It also integrates nicely with Portainer (aside from occasional Traefik ingress weirdness sometimes), which I already use for Swarm and would suggest to anyone that wants a nice web based UI: https://www.portainer.io/

    Others might also mention K0s, MicroK8s or others - there's lots of options there. But even so, I still run Docker Swarm for most of my private stuff as well and it's a breeze.

    For my needs, it has just the right amount of abstractions: stacks with services that use networks and can have some storage in the form of volumes or bind mounts. Configuration in the form of environment variables and/or mounted files (or secrets), some deployment constraints and dependencies sometimes, some health checks and restart policies, as well as resource limits.

    If I need a mail server, then I just have a container that binds to the ports (even low port numbers) that I need and configure it. If I need a web server, then I can just run Apache/Nginx/Caddy and use more or less 1:1 configuration files that I'd use when setting up either outside of containers, but with the added benefit of being able to refer to other apps by their service names (or aliases, if they have underscores in the names, which sometimes isn't liked).

    At a certain scale, it's dead simple to use - no need for PVs and PVCs, no need for Ingress and Service abstractions, or lots and lots of templating that Helm charts would have (although those are nice in other ways).

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-11.
  • 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.
  • 🦊 GitLab CI: Deploy a Majestic Single Server Runner on AWS
    4 projects | dev.to | 17 Feb 2024
    To quickly deploy the architecture, we will be using Terraform. With Terraform, we can automate the deployment process and have our infrastructure up and running in minutes.

What are some alternatives?

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

Yacht - A web interface for managing docker containers with an emphasis on templating to provide 1 click deployments. Think of it like a decentralized app store for servers that anyone can make packages for.

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

swarmpit - Lightweight mobile-friendly Docker Swarm management UI

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

podman - Podman: A tool for managing OCI containers and pods.

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

OpenMediaVault - openmediavault is the next generation network attached storage (NAS) solution based on Debian Linux. Thanks to the modular design of the framework it can be enhanced via plugins. openmediavault is primarily designed to be used in home environments or small home offices.

crossplane - The Cloud Native Control Plane

CasaOS - CasaOS - A simple, easy-to-use, elegant open-source Personal Cloud system.

boto3 - AWS SDK for Python

podman-compose - a script to run docker-compose.yml using podman

nvim-lspconfig - Quickstart configs for Nvim LSP