Need advice about which tool to choose?Ask the StackShare community!
AWS CloudFormation vs OpenShift: What are the differences?
Introduction
Deployment and Management: AWS CloudFormation is a service that helps you model and set up your Amazon Web Services resources. OpenShift is a container application platform that supports Docker containers. While CloudFormation focuses on automating the deployment and management of AWS resources, OpenShift is designed for deploying and managing containerized applications in a Kubernetes environment.
Vendor Lock-in: AWS CloudFormation is tightly integrated with AWS services and is primarily used for provisioning resources within the AWS ecosystem. In contrast, OpenShift is more agnostic and can run on various cloud platforms, allowing for more flexibility and avoiding vendor lock-in.
Cost Structure: AWS CloudFormation is part of the AWS ecosystem and is billed based on usage. In contrast, OpenShift can be deployed on different cloud providers or on-premises, giving more control over the cost structure based on the chosen deployment method.
Container Orchestration: OpenShift provides built-in container orchestration capabilities using Kubernetes, allowing for easier deployment, scaling, and management of containerized applications. While AWS CloudFormation can automate the provisioning of resources, it does not offer container orchestration features out of the box.
Community Support: OpenShift benefits from the large Kubernetes community, providing access to a wide range of resources, plugins, and solutions. AWS CloudFormation, while backed by AWS, may have limitations in community-driven support and resources compared to the broader Kubernetes ecosystem supporting OpenShift.
Ease of Use: AWS CloudFormation focuses on infrastructure as code, requiring knowledge of JSON or YAML templates for resource provisioning. On the other hand, OpenShift simplifies the deployment process by abstracting away infrastructure details, making it more user-friendly and accessible for developers and DevOps teams looking to manage containerized applications effectively.
In Summary, AWS CloudFormation is tightly integrated with AWS services, primarily focusing on automating the deployment and management of AWS resources, while OpenShift is more agnostic, providing container application platform capabilities with built-in container orchestration using Kubernetes and avoiding vendor lock-in.
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.
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.
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.
AdvantagesTerraform 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.
DisadvantagesSoftware 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.
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.
Pros of AWS CloudFormation
- Automates infrastructure deployments43
- Declarative infrastructure and deployment21
- No more clicking around13
- Any Operative System you want3
- Atomic3
- Infrastructure as code3
- CDK makes it truly infrastructure-as-code1
- Automates Infrastructure Deployment1
- K8s0
Pros of Red Hat OpenShift
- Good free plan99
- Open Source63
- Easy setup47
- Nodejs support43
- Well documented42
- Custom domains32
- Mongodb support28
- Clean and simple architecture27
- PHP support25
- Customizable environments21
- Ability to run CRON jobs11
- Easier than Heroku for a WordPress blog9
- Easy deployment8
- PostgreSQL support7
- Autoscaling7
- Good balance between Heroku and AWS for flexibility7
- Free, Easy Setup, Lot of Gear or D.I.Y Gear5
- Shell access to gears4
- Great Support3
- High Security3
- Logging & Metrics3
- Cloud Agnostic2
- Runs Anywhere - AWS, GCP, Azure2
- No credit card needed2
- Because it is easy to manage2
- Secure2
- Meteor support2
- Overly complicated and over engineered in majority of e2
- Golang support2
- Its free and offer custom domain usage2
- Autoscaling at a good price point1
- Easy setup and great customer support1
- MultiCloud1
- Great free plan with excellent support1
- This is the only free one among the three as of today1
Sign up to add or upvote prosMake informed product decisions
Cons of AWS CloudFormation
- Brittle4
- No RBAC and policies in templates2
Cons of Red Hat OpenShift
- Decisions are made for you, limiting your options2
- License cost2
- Behind, sometimes severely, the upstreams1
Sign up to add or upvote consMake informed product decisions
What is AWS CloudFormation?
What is Red Hat OpenShift?
Need advice about which tool to choose?Ask the StackShare community!
What companies use AWS CloudFormation?
What companies use Red Hat OpenShift?
Sign up to get full access to all the companiesMake informed product decisions
What tools integrate with AWS CloudFormation?
What tools integrate with Red Hat OpenShift?
Sign up to get full access to all the tool integrationsMake informed product decisions
Blog Posts
Rafay Systems