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

Cloud Foundry

188
344
+ 1
5
Heroku

25.3K
20.2K
+ 1
3.2K
Add tool

Cloud Foundry vs Heroku: What are the differences?

Key Differences between Cloud Foundry and Heroku

Cloud Foundry and Heroku are both popular platform as a service (PaaS) solutions that offer cloud-based hosting for applications. While they may seem similar on the surface, there are several key differences between the two.

  1. Deployment process: One significant difference between Cloud Foundry and Heroku is the deployment process. Cloud Foundry uses a buildpack-based deployment model, where applications are deployed using buildpacks that define the runtime and dependencies. On the other hand, Heroku uses a slug-based deployment model, where applications are deployed as immutable slugs.

  2. Programming languages and frameworks: Another important difference lies in the programming languages and frameworks supported by each platform. Cloud Foundry provides a wide range of language support, including Java, Ruby, Node.js, and .NET, along with support for various frameworks. In contrast, Heroku has built a strong reputation as a platform for Ruby developers, although it also supports other languages like Python, Java, and Node.js.

  3. Scalability options: Cloud Foundry and Heroku also differ in terms of the scalability options they offer. Cloud Foundry provides more advanced scaling capabilities, allowing users to scale applications both vertically (allocating more resources to a single instance) and horizontally (adding more instances of the application). Heroku, on the other hand, simplifies the scalability process to automatic horizontal scaling, making it easier for developers to handle traffic spikes.

  4. Pricing model: The pricing models of Cloud Foundry and Heroku are also worth noting. Cloud Foundry is an open-source project and can be deployed on various cloud providers, allowing for more flexibility in terms of pricing. Heroku, owned by Salesforce, has a more straightforward pricing model, with different tiers based on allocated resources and add-ons.

  5. Control and customization: When it comes to control and customization, Cloud Foundry offers more flexibility. Users have greater control over their deployment environment, with the ability to customize various aspects and have more control over infrastructure. In contrast, Heroku abstracts much of the infrastructure and provides a more simplified experience, making it easier for developers to focus on their applications rather than infrastructure management.

  6. Ecosystem and community: Finally, the ecosystems and communities surrounding Cloud Foundry and Heroku are different. Cloud Foundry has a large and active community and benefits from the support of several major technology companies. Additionally, Cloud Foundry can be used with various cloud providers. On the other hand, Heroku has a strong community of Ruby developers and a curated marketplace of add-ons and services specific to the platform.

In summary, Cloud Foundry and Heroku differ in their deployment processes, supported programming languages, scalability options, pricing models, control and customization levels, and ecosystems. Choosing between the two platforms depends on specific requirements, preferences, and the intended use case.

Decisions about Cloud Foundry and Heroku
Ben Diamond
Web Designer & Developer at Self-employed · | 6 upvotes · 15.9K views

As I was running through freeCodeCamp's curriculum, I was becoming frustrated by Replit's black box nature as a shared server solution for Node app testing. I wanted to move into a proper workflow with Git and a dedicated deployment solution just for educational or non-commercial purposes. Heroku solved that for me in spades.

Not only does Heroku support free app deployment if you don't use their extra service handlers, but you can directly hook into your GitHub repos and automatically update the app whenever you commit to the main branch. It's a simple way to get an app running as fast as possible if you wish to share a proof of concept or prototype before moving to dedicated servers.

See more

The Friendliest.app started on Heroku (both app and db) like most of my projects. The db on Heroku was on the cusp of becoming prohibitively expensive for this project.

After looking at options and reading recommendations we settled on Render to host both the application and db. Render's pricing model seems to scale more linearly with the application instead of the large pricing/performance jumps experienced with Heroku.

Migration to Render was extremely easy and we were able to complete both the db and application moves within 24 hours.

The only thing we're really missing on Render is a CLI. With Heroku, we could manage everything from the command line in VSCode. With Render, you need to use the web shell they provide.

See more

I'm transitioning to Render from heroku. The pricing scale matches my usage scale, yet it's just as easy to deploy. It's removed a lot of the devops that I don't like to deal with on setting up my own raw *nix box and makes deployment simple and easy!

Clustering I don't use clustering features at the moment but when i need to set up clustering of nodes and discoverability, render will enable that where Heroku would require that I use an external service like redis.

Restarts The restarts are annoying. I understand the reasoning, but I'd rather watch my service if its got a memory leak and work to fix it than to just assume that it has memory leaks and needs to restart.

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Cloud Foundry
Pros of Heroku
  • 2
    Perfectly aligned with springboot
  • 1
    Free distributed tracing (zipkin)
  • 1
    Application health management
  • 1
    Free service discovery (Eureka)
  • 703
    Easy deployment
  • 459
    Free for side projects
  • 374
    Huge time-saver
  • 348
    Simple scaling
  • 261
    Low devops skills required
  • 190
    Easy setup
  • 174
    Add-ons for almost everything
  • 153
    Beginner friendly
  • 150
    Better for startups
  • 133
    Low learning curve
  • 48
    Postgres hosting
  • 41
    Easy to add collaborators
  • 30
    Faster development
  • 24
    Awesome documentation
  • 19
    Simple rollback
  • 19
    Focus on product, not deployment
  • 15
    Natural companion for rails development
  • 15
    Easy integration
  • 12
    Great customer support
  • 8
    GitHub integration
  • 6
    Painless & well documented
  • 6
    No-ops
  • 4
    I love that they make it free to launch a side project
  • 4
    Free
  • 3
    Great UI
  • 3
    Just works
  • 2
    PostgreSQL forking and following
  • 2
    MySQL extension
  • 1
    Security
  • 1
    Able to host stuff good like Discord Bot
  • 0
    Sec

Sign up to add or upvote prosMake informed product decisions

Cons of Cloud Foundry
Cons of Heroku
    Be the first to leave a con
    • 27
      Super expensive
    • 9
      Not a whole lot of flexibility
    • 7
      No usable MySQL option
    • 7
      Storage
    • 5
      Low performance on free tier
    • 2
      24/7 support is $1,000 per month

    Sign up to add or upvote consMake informed product decisions

    What is Cloud Foundry?

    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.

    What is Heroku?

    Heroku is a cloud application platform – a new way of building and deploying web apps. Heroku lets app developers spend 100% of their time on their application code, not managing servers, deployment, ongoing operations, or scaling.

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

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

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

    What tools integrate with Cloud Foundry?
    What tools integrate with Heroku?

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

    Blog Posts

    Sep 29 2020 at 7:36PM

    WorkOS

    PythonSlackG Suite+17
    6
    3051
    GitHubPythonNode.js+47
    54
    72321
    GitHubPythonSlack+25
    7
    3155
    Jun 19 2015 at 6:37AM

    ReadMe.io

    JavaScriptGitHubNode.js+25
    12
    2361
    GitHubPythonDocker+24
    13
    17014
    What are some alternatives to Cloud Foundry and Heroku?
    Red Hat OpenShift
    OpenShift is Red Hat's Cloud Computing Platform as a Service (PaaS) offering. OpenShift is an application platform in the cloud where application developers and teams can build, test, deploy, and run their applications.
    Docker
    The Docker Platform is the industry-leading container platform for continuous, high-velocity innovation, enabling organizations to seamlessly build and share any application — from legacy to what comes next — and securely run them anywhere
    Kubernetes
    Kubernetes is an open source orchestration system for Docker containers. It handles scheduling onto nodes in a compute cluster and actively manages workloads to ensure that their state matches the users declared intentions.
    OpenStack
    OpenStack is a cloud operating system that controls large pools of compute, storage, and networking resources throughout a datacenter, all managed through a dashboard that gives administrators control while empowering their users to provision resources through a web interface.
    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.
    See all alternatives