Cloud Foundry vs Terraform: What are the differences?
Developers describe Cloud Foundry as "Deploy and scale applications in seconds on your choice of private or public cloud". Cloud Foundry is an open platform as a service (PaaS) that provides a choice of clouds, developer frameworks, and application services. Cloud Foundry makes it faster and easier to build, test, deploy, and scale applications. On the other hand, Terraform is detailed as "Describe your complete infrastructure as code and build resources across providers". 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.
Cloud Foundry belongs to "Platform as a Service" category of the tech stack, while Terraform can be primarily classified under "Infrastructure Build Tools".
Some of the features offered by Cloud Foundry are:
- Application and services centric lifecycle API
- High performance dynamic routing
- Buildpack support
On the other hand, Terraform provides the following key features:
- Infrastructure as Code: Infrastructure is described using a high-level configuration syntax. This allows a blueprint of your datacenter to be versioned and treated as you would any other code. Additionally, infrastructure can be shared and re-used.
- Execution Plans: Terraform has a "planning" step where it generates an execution plan. The execution plan shows what Terraform will do when you call apply. This lets you avoid any surprises when Terraform manipulates infrastructure.
- Resource Graph: Terraform builds a graph of all your resources, and parallelizes the creation and modification of any non-dependent resources. Because of this, Terraform builds infrastructure as efficiently as possible, and operators get insight into dependencies in their infrastructure.
Cloud Foundry and Terraform are both open source tools. Terraform with 17.7K GitHub stars and 4.83K forks on GitHub appears to be more popular than Cloud Foundry with 605 GitHub stars and 532 GitHub forks.
According to the StackShare community, Terraform has a broader approval, being mentioned in 510 company stacks & 313 developers stacks; compared to Cloud Foundry, which is listed in 8 company stacks and 13 developer stacks.
What is Cloud Foundry?
What is Terraform?
Need advice about which tool to choose?Ask the StackShare community!
Sign up to add, upvote and see more prosMake informed product decisions
What are the cons of using Cloud Foundry?
What are the cons of using Terraform?
Sign up to get full access to all the companiesMake informed product decisions
Sign up to get full access to all the tool integrationsMake informed product decisions
Terraform makes it so easy to deploy AWS and Google Cloud services, with the declarative approach avoiding so many headaches of manual work and possible mistakes.
Easy host and monitor the application on the cloud, using a platform that is hight integrated with Spring Framework, but is also agnostic of technology
- Infrastructure as Code.
- Central tool to deploy all infratructure: AWS, CloudFlare, StatusCake
The entire AWS environments is described and setup using Terraform.