What is our primary use case?
My main use case for Upbound Crossplane is building an internal developer platform. We build the platform using Upbound Crossplane on an EKS Kubernetes cluster with a hub-and-spoke model, and it is the main infrastructure as code tool for our organization.
In my workflow, Upbound Crossplane powers a self-service platform, and I will walk you through the architecture we built. We built a hub-and-spoke architecture for the internal developer platform. It is a self-service platform where the developer interface is an AppManifest YAML file, which sits in a project repository, or Application repository. Developers define the infrastructure they need, such as AWS resources, a deployment in Kubernetes, a new service, or Secrets configuration for which they can refer to any service. They can also declare Jobs and CronJobs. We have a common CI/CD approach where we generate a dynamic CI/CD pipeline based on that ApplicationManifest file. We also have a GitOps config repository, which is the brain of the IDP and consists of different project repositories using Helm charts and customized overlays. The Crossplane Compositions live there, and we use a hierarchy of Compositions.
Once the image is built, it is deployed. In the deploy stage, we create a project repository for that particular project in our GitOps config and create the Application. The Argo CD ApplicationSet then creates the Application for only that project and the stage in which the deploy is happening. It provisions the hierarchy of Crossplane Compositions. We have a namespace-level Composition, OpsApp, which generates the cluster-level composite resource X-App. That then creates an X-App Core, which eventually provisions different kinds of environments. These are Crossplane composite resources in a target cluster, which is a spoke cluster, based on whether the deployment is dev, which goes to the dev cluster, or prod, which goes to the prod clusters.
Apart from that, we also have ephemeral environments where we provision the same workflow, but they are temporary, lasting three to five days based on the use case. We use them for faster MTTR rather than spending a lot of time waiting for the Staging environment to test new changes. When developers create a MergeRequest on their feature branch, the pipeline is triggered and deploys to a dedicated Preview environment. Once they are confident that testing is done, we merge to Main and the dev pipeline runs. Once the dev pipeline succeeds, we have a manual Job that generates a Release and creates a semantic GitLab Git tag, which triggers the Production pipeline and deploys the project to Production.
Beyond our core workflow, Upbound Crossplane helps us with compliance needs. Most companies at some point have to go through certifications and compliance frameworks such as ISO 27001 or SOC 2. Upbound Crossplane gives us the flexibility to build a platform that can be compliant with those requirements by default and can collect the evidence for them. I believe we can achieve that with Upbound Crossplane. If you build such a self-service internal developer platform, changing things and integrating new features is easier than using a single Composition for each application. I would like to use Upbound Crossplane in the form of a developer platform rather than a single Manifest.
How has it helped my organization?
Upbound Crossplane has impacted our organization positively by adding a lot of productivity and efficiency. It saves a lot of our time on repeated work, such as 80% of regular SRE work like provisioning Secrets, provisioning new services, and adding new AWS resources, which is now managed by developers. The critical tasks, such as managing compute resources, database management, and reliability, are managed by the SRE team. Upbound Crossplane improved our productivity and efficiency by clearly segregating the responsibilities of the developers and the production team. Developers have their own APIs, which they use to interact with the platform and get things done in much less time than it takes to request resources from the DevOps team, reach out to them, and wait for them to provision the resources based on their bandwidth. It definitely improved our productivity.
Upbound Crossplane saves a lot of time, and I can give you an example from our team’s workflow. We have almost 15 or 20 microservices, and only three SRE people handle all the requests from the developers. Ideally, in any company, one microservice has a dedicated DevOps engineer. With the help of Crossplane, since it adds more productivity through the IDP we built, we are able to manage that volume of teams without any additional overhead for SRE.
What is most valuable?
The best feature Upbound Crossplane offers is its reconciliation model, which uses the native Kubernetes state. If we compare this with Terraform, Terraform has its own state management and hurdles, and to check whether we have drift, we need to run the Plan. Upbound Crossplane gives us this out of the box, and we do not need to run or trigger anything to check whether there is drift in the infrastructure. It uses the reconciliation loops of Kubernetes to check whether the defined infrastructure and the actual live infrastructure are the same, and it detects drift automatically. This is well aligned with Upbound Crossplane.
Automatic reconciliation impacts our day-to-day operations by giving us early signals when something goes wrong. If we compare it with Terraform, let’s say we provision infrastructure in the AWS cloud and someone changes something manually in the cloud. With Terraform, we only find out that something has changed manually, outside the state, when we run the Terraform plan. With Upbound Crossplane, we detect this automatically, and we get early notice of changes that happened in the cloud outside the state, including manual changes.
What needs improvement?
I do not know whether there is a reliable procedure for migrating from one Kubernetes version to another. For Kubernetes on a public Cloud, we have standard operating procedures for how to roll out the latest Kubernetes version. I believe Upbound Crossplane is not mature in that context, or perhaps I am not aware of how to do it. Those are my doubts and questions.
Upbound Crossplane is doing well, and I think there are recent improvements worth noting. Recently, they published the v2 version of Crossplane, and they added support for Go templating functions. Earlier we had the Patch and Transform function, and now they support Go functions. As far as I know, I believe these are the improvements they have made.
I believe we already have a repository in the Crossplane ecosystem where we can convert Terraform resources or Modules to Crossplane.
For how long have I used the solution?
For Upbound Crossplane specifically, I have been using it for nearly the last year and a half.
What do I think about the stability of the solution?
Upbound Crossplane has been stable in our experience, since we are running it in production. I believe it is quite stable since we are using it in production.
What do I think about the scalability of the solution?
For scalability, Upbound Crossplane runs in a hub-and-spoke model across three clusters. We use a hub-and-spoke model with three Kubernetes clusters. One of them is the management control plane, which manages the spoke clusters, namely the development cluster and the production cluster, which are the workload clusters where we deploy our applications.
Which solution did I use previously and why did I switch?
Before Upbound Crossplane, we used Terraform, which consumed a lot of our DevOps team’s bandwidth, and we eventually needed to hire a few more people. Since the platform handles the day-to-day overhead and we have a dedicated developer API for the platform resources, developers can handle most things themselves, and only critical issues reach the SRE team.
How was the initial setup?
The biggest challenge in setting up this architecture with Upbound Crossplane was handling a bunch of problems, and we had to build a lot of customized components to tackle them. There were not just one or two problems; we faced a bunch of them, and to tackle them, we had to build a lot of customized components.
We handled scalability by binding every environment to an XEnvironment composite resource as a Composition. We create a dedicated Composition for each environment so that each can be updated or altered in isolation and is not bound to any other environment’s components.
We also needed to handle how to provision the Secrets to a target cluster. One option we already had was to integrate an ExternalSecrets operator, but it was not well aligned with the kind of platform we were trying to build and with my design. I built a custom Go function for Crossplane. When the deploy stage happens, XAppCore creates different composite resources for that particular environment and that particular application. It also creates an XEnvironmentSet, which eventually calls the Crossplane secret Composition function that we built. That function calls the AWS Secrets Manager API, passes all the keys mentioned in the AppManifest, and gets the actual Secret for each particular key in response. It also creates a Kubernetes Secret and mounts it to the target Pod in that particular application and in that particular stage or environment.
Those are a few of the challenges we had. The setup is continuously progressing, and we are making it more stable and reliable.
What was our ROI?
We have seen a return on investment from Upbound Crossplane mainly in staffing, as we need fewer employees.
With Upbound Crossplane, we are able to manage more services with fewer people. We are able to manage 20 microservices with just three SRE people, which is wonderful.
What's my experience with pricing, setup cost, and licensing?
We are using the open-source version.
My experience with Upbound Crossplane pricing is that it feels expensive compared with alternatives. Terraform is almost free, and they only charge for Terraform Premium for state management. I believe the cost of Upbound Crossplane is very high. I think it is $1,000 every month. Everything starts to stabilize and mature as the community grows, and the community grows when startups see that this is a new, stable option. However, the price Upbound charges for a Provider is $1,000, which I believe is insane for a startup company. They would rather choose Terraform instead of Crossplane.
Which other solutions did I evaluate?
When choosing Upbound Crossplane, I already knew Terraform well and had explored Crossplane. I know Terraform and how it works, and I also explored Crossplane, so I chose Crossplane.
What other advice do I have?
Overall, I would rate Upbound Crossplane 9.5.
I would round Upbound Crossplane up to 10, and here is why. It offers a lot of features, such as Kubernetes-native reconciliation and drift detection. It also lets us use already built Terraform resources in Crossplane. We can use Upjet to convert Terraform providers to Crossplane providers with minimal changes. We can build a platform that runs entirely on Kubernetes, and we can create a control plane to manage spoke clusters. Due to that, I rate it 10.
We deploy Upbound Crossplane in a public Cloud, on AWS.
Our Cloud provider for Upbound Crossplane is AWS, as I mentioned already.
My advice for anyone considering Upbound Crossplane is to have a platform-oriented mindset and solid programming skills. If you have a strong platform-oriented approach, you are good at Kubernetes or programming, and you can use a programming language such as Python or Go, I would suggest you go with Crossplane.
Which deployment model are you using for this solution?
Public Cloud
If public cloud, private cloud, or hybrid cloud, which cloud provider do you use?
Amazon Web Services (AWS)