Need advice about which tool to choose?Ask the StackShare community!

Concourse

260
390
+ 1
54
Terraform

18K
14.2K
+ 1
345
Add tool

Concourse vs Terraform: What are the differences?

Introduction

In this markdown, we will discuss the key differences between Concourse and Terraform, two popular tools used in the DevOps space.

  1. Installation and Configuration: Concourse is mainly designed as a CI/CD (Continuous Integration/Continuous Deployment) tool, focused on automation pipelines. It requires its own server and workers, and its installation can be more complex compared to Terraform. On the other hand, Terraform is a provisioning and infrastructure-as-code tool, which only requires local installation and configuration.

  2. Infrastructure Management: Terraform is primarily used for managing infrastructure resources such as virtual machines, networks, storage, and other cloud services. It allows users to create, modify, and destroy infrastructure resources using a declarative language. Concourse, on the other hand, is not specifically designed for infrastructure management and focuses more on CI/CD pipelines, automation, and workflow management.

  3. Cloud Provider Support: Terraform provides extensive support for multiple cloud providers, including AWS, Azure, Google Cloud, and many more. It offers a wide range of resource and provider configurations for various cloud services. Concourse, being primarily a CI/CD tool, is not tied to any specific cloud provider but can be used alongside Terraform to deploy and manage infrastructure resources.

  4. Pipeline Definition: Concourse uses a YAML-based pipeline definition file to define the CI/CD workflows and automation tasks. It allows users to define individual jobs, tasks, and resources in a structured and reusable manner. On the other hand, Terraform uses its own declarative language called HashiCorp Configuration Language (HCL) for defining infrastructure resources. The HCL language provides higher-level abstraction and allows users to express infrastructure configurations in a readable and maintainable manner.

  5. Version Control Integration: Both Concourse and Terraform provide integration with version control systems like Git. However, the level of integration and the usage may vary. Concourse pipelines can be defined and version-controlled alongside application code, enabling developers to have proper versioning and history of pipeline changes. Terraform also allows users to store and share infrastructure configurations in version control systems but focuses more on managing the infrastructure state file rather than the pipeline itself.

In summary, Concourse is a powerful CI/CD tool focused on automation and workflow management, while Terraform is an infrastructure-as-code tool used for provisioning and managing infrastructure resources. Each tool has its own strengths and use cases, with Concourse being more suited for CI/CD pipelines and Terraform for infrastructure management.

Advice on Concourse and Terraform
Needs advice
on
ConcourseConcourse
and
JenkinsJenkins

I'm planning to setup complete CD-CD setup for spark and python application which we are going to deploy in aws lambda and EMR Cluster. Which tool would be best one to choose. Since my company is trying to adopt to concourse i would like to understand what are the lack of capabilities concourse have . Thanks in advance !

See more
Replies (1)
Maxi Krone
Cloud Engineer at fme AG · | 2 upvotes · 403.6K views
Recommends
on
ConcourseConcourse

I would definetly recommend Concourse to you, as it is one of the most advanced modern methods of making CI/CD while Jenkins is an old monolithic dinosaur. Concourse itself is cloudnative and containerbased which helps you to build simple, high-performance and scalable CI/CD pipelines. In my opinion, the only lack of skills you have with Concourse is your own knowledge of how to build pipelines and automate things. Technincally there is no lack, i would even say you can extend it way more easily. But as a Con it is more easy to interact with Jenkins if you are only used to UIs. Concourse needs someone which is capable of using CLIs.

See more
Decisions about Concourse and Terraform
Kirill Shirinkin
Cloud and DevOps Consultant at mkdev · | 3 upvotes · 145.5K views

Ok, so first - AWS Copilot is CloudFormation under the hood, but the way it works results in you not thinking about CFN anymore. AWS found the right balance with Copilot - it's insanely simple to setup production-ready multi-account environment with many services inside, with CI/CD out of the box etc etc. It's pretty new, but even now it was enough to launch Transcripto, which uses may be a dozen of different AWS services, all bound together by Copilot.

See more

Because Pulumi uses real programming languages, you can actually write abstractions for your infrastructure code, which is incredibly empowering. You still 'describe' your desired state, but by having a programming language at your fingers, you can factor out patterns, and package it up for easier consumption.

See more
Sergey Ivanov
Overview

We use Terraform to manage AWS cloud environment for the project. It is pretty complex, largely static, security-focused, and constantly evolving.

Terraform provides descriptive (declarative) way of defining the target configuration, where it can work out the dependencies between configuration elements and apply differences without re-provisioning the entire cloud stack.

Advantages

Terraform is vendor-neutral in a way that it is using a common configuration language (HCL) with plugins (providers) for multiple cloud and service providers.

Terraform keeps track of the previous state of the deployment and applies incremental changes, resulting in faster deployment times.

Terraform allows us to share reusable modules between projects. We have built an impressive library of modules internally, which makes it very easy to assemble a new project from pre-fabricated building blocks.

Disadvantages

Software is imperfect, and Terraform is no exception. Occasionally we hit annoying bugs that we have to work around. The interaction with any underlying APIs is encapsulated inside 3rd party Terraform providers, and any bug fixes or new features require a provider release. Some providers have very poor coverage of the underlying APIs.

Terraform is not great for managing highly dynamic parts of cloud environments. That part is better delegated to other tools or scripts.

Terraform state may go out of sync with the target environment or with the source configuration, which often results in painful reconciliation.

See more

I personally am not a huge fan of vendor lock in for multiple reasons:

  • I've seen cost saving moves to the cloud end up costing a fortune and trapping companies due to over utilization of cloud specific features.
  • I've seen S3 failures nearly take down half the internet.
  • I've seen companies get stuck in the cloud because they aren't built cloud agnostic.

I choose to use terraform for my cloud provisioning for these reasons:

  • It's cloud agnostic so I can use it no matter where I am.
  • It isn't difficult to use and uses a relatively easy to read language.
  • It tests infrastructure before running it, and enables me to see and keep changes up to date.
  • It runs from the same CLI I do most of my CM work from.
See more

Context: I wanted to create an end to end IoT data pipeline simulation in Google Cloud IoT Core and other GCP services. I never touched Terraform meaningfully until working on this project, and it's one of the best explorations in my development career. The documentation and syntax is incredibly human-readable and friendly. I'm used to building infrastructure through the google apis via Python , but I'm so glad past Sung did not make that decision. I was tempted to use Google Cloud Deployment Manager, but the templates were a bit convoluted by first impression. I'm glad past Sung did not make this decision either.

Solution: Leveraging Google Cloud Build Google Cloud Run Google Cloud Bigtable Google BigQuery Google Cloud Storage Google Compute Engine along with some other fun tools, I can deploy over 40 GCP resources using Terraform!

Check Out My Architecture: CLICK ME

Check out the GitHub repo attached

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Concourse
Pros of Terraform
  • 16
    Real pipelines
  • 10
    Containerised builds
  • 9
    Flexible engine
  • 6
    Fast
  • 4
    Open source
  • 3
    No Snowflakes
  • 3
    Simple configuration management
  • 2
    You have to do everything
  • 1
    Fancy Visualization
  • 122
    Infrastructure as code
  • 73
    Declarative syntax
  • 45
    Planning
  • 28
    Simple
  • 24
    Parallelism
  • 8
    Well-documented
  • 8
    Cloud agnostic
  • 6
    It's like coding your infrastructure in simple English
  • 6
    Immutable infrastructure
  • 5
    Platform agnostic
  • 4
    Extendable
  • 4
    Automation
  • 4
    Automates infrastructure deployments
  • 4
    Portability
  • 2
    Lightweight
  • 2
    Scales to hundreds of hosts

Sign up to add or upvote prosMake informed product decisions

Cons of Concourse
Cons of Terraform
  • 2
    Fail forward instead of rollback pattern
  • 1
    Doesn't have full support to GKE

Sign up to add or upvote consMake informed product decisions

What is Concourse?

Concourse's principles reduce the risk of switching to and from Concourse, by encouraging practices that decouple your project from your CI's little details, and keeping all configuration in declarative files that can be checked into version control.

What is Terraform?

With Terraform, you describe your complete infrastructure as code, even as it spans multiple service providers. Your servers may come from AWS, your DNS may come from CloudFlare, and your database may come from Heroku. Terraform will build all these resources across all these providers in parallel.

Need advice about which tool to choose?Ask the StackShare community!

What companies use Concourse?
What companies use Terraform?
See which teams inside your own company are using Concourse or Terraform.
Sign up for StackShare EnterpriseLearn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Concourse?
What tools integrate with Terraform?

Sign up to get full access to all the tool integrationsMake informed product decisions

Blog Posts

GitHubGitPython+22
17
14226
JavaScriptGitHubPython+42
53
21941
What are some alternatives to Concourse and Terraform?
Jenkins
In a nutshell Jenkins CI is the leading open-source continuous integration server. Built with Java, it provides over 300 plugins to support building and testing virtually any project.
CircleCI
Continuous integration and delivery platform helps software teams rapidly release code with confidence by automating the build, test, and deploy process. Offers a modern software development platform that lets teams ramp.
Spinnaker
Created at Netflix, it has been battle-tested in production by hundreds of teams over millions of deployments. It combines a powerful and flexible pipeline management system with integrations to the major cloud providers.
TeamCity
TeamCity is a user-friendly continuous integration (CI) server for professional developers, build engineers, and DevOps. It is trivial to setup and absolutely free for small teams and open source projects.
GitLab CI
GitLab offers a continuous integration service. If you add a .gitlab-ci.yml file to the root directory of your repository, and configure your GitLab project to use a Runner, then each merge request or push triggers your CI pipeline.
See all alternatives