March 22, 2021 By Andrew Trice 3 min read

Quickly set up an OpenShift Development Cluster for your development team using CodeReady Workspaces by instantiating a single Terraform template with IBM Cloud.

Why use a web-based IDE?

Consider this: You’ve been asked to set up a new team-based development environment in the cloud; the first thing you might ask is, “Why?” Because, in your experience, it’s easier when developers install tools on their own machines and have more control.

While that rings true for many cases, it doesn’t mean that it’s the right approach for everyone, and it doesn’t mean that it scales well. 

Imagine that you manage a large team of developers, and you want everyone to develop in an identical environment where operations engineers or architects can define the team’s configuration. Also, suppose that you want the development environment to be configurable per microservice or per project, and that the development environment should represent a configuration as close to production as possible. You want your company’s single-sign-on to manage access, and you want to be able to ramp up a new team member immediately, with minimal configuration (if any). 

This scenario is exactly where having a cloud-based team development environment is probably the best way to go.  

The next question that you might ask yourself is, “What should I use?” 

CodeReady Workspaces

Let me introduce you to CodeReady Workspaces, a Kubernetes-based team development environment/IDE based on Eclipse Che. CodeReady Workspaces can handle nearly any language stack, is instantly as familiar as a desktop development tool and is compatible with Visual Studio Code extensions, yet it runs completely in the cloud:

Finally, you might ask yourself, “What is the next step? How do I set up or configure my CodeReady Workspaces environment?”

CodeReady Workspaces is available as an Operator on all Red Hat OpenShift clusters, but that first requires an OpenShift cluster with which to work. Rather than configuring everything manually, wouldn’t it be nice if a Terraform template was available that you could use to configure a new team development cluster in a single, atomic transaction? Well, you’re in luck. There is!

The OpenShift Development Cluster template

The OpenShift Dev Cluster Terraform template will create and configure a new OpenShift cluster on IBM Cloud, preconfigured for team-based development. 

This template will do the following:

  1. Create an OpenShift cluster on IBM Cloud, which will automatically use the IBM Cloud single-sign-on and access management.
  2. Install the IBM Cloud Operator into the cluster.
  3. Install the CodeReady Workspaces Operator into the cluster.
  4. Create an instance of CodeReady Workspaces inside of the cluster, so it is immediately ready for use.
  5. Install the CodeReady Pipelines Operator into the cluster.

With the OpenShift Dev Cluster template, your team’s development environment can be created and configured in one simple step. 

How to get started

You can use IBM Cloud Schematics to deploy this Terraform template in the cloud without having a local Terraform configuration. Just click this link: Deploy to IBM Cloud

Or, if you’d rather use Terraform locally, simply clone the OpenShift Dev Cluster template from here and run a terraform apply command to kick things off.

Was this article helpful?
YesNo

More from Cloud

New 4th Gen Intel Xeon profiles and dynamic network bandwidth shake up the IBM Cloud Bare Metal Servers for VPC portfolio

3 min read - We’re pleased to announce that 4th Gen Intel® Xeon® processors on IBM Cloud Bare Metal Servers for VPC are available on IBM Cloud. Our customers can now provision Intel’s newest microarchitecture inside their own virtual private cloud and gain access to a host of performance enhancements, including more core-to-memory ratios (21 new server profiles/) and dynamic network bandwidth exclusive to IBM Cloud VPC. For anyone keeping track, that’s 3x as many provisioning options than our current 2nd Gen Intel Xeon…

IBM and AWS: Driving the next-gen SAP transformation  

5 min read - SAP is the epicenter of business operations for companies around the world. In fact, 77% of the world’s transactional revenue touches an SAP system, and 92% of the Forbes Global 2000 companies use SAP, according to Frost & Sullivan.   Global challenges related to profitability, supply chains and sustainability are creating economic uncertainty for many companies. Modernizing SAP systems and embracing cloud environments like AWS can provide these companies with a real-time view of their business operations, fueling growth and increasing…

Experience unmatched data resilience with IBM Storage Defender and IBM Storage FlashSystem

3 min read - IBM Storage Defender is a purpose-built end-to-end data resilience solution designed to help businesses rapidly restart essential operations in the event of a cyberattack or other unforeseen events. It simplifies and orchestrates business recovery processes by providing a comprehensive view of data resilience and recoverability across primary and  auxiliary storage in a single interface. IBM Storage Defender deploys AI-powered sensors to quickly detect threats and anomalies. Signals from all available sensors are aggregated by IBM Storage Defender, whether they come…

IBM Newsletters

Get our newsletters and topic updates that deliver the latest thought leadership and insights on emerging trends.
Subscribe now More newsletters