What Is a Cloud Development Environment?
A Cloud Development Environment (CDE) is an online container used for code development activities. Here is a brief history and account of the benefits of CDEs.
Join the DZone community and get the full member experience.
Join For FreeA Brief History of Cloud-Based Development
Let us start with the end goal: the aim of Cloud Development Environments is to enable software development to move online. Although it is becoming the talk of the town, this approach to coding online has an interesting history that dates back to the mid-2010s when a handful of innovative startups took their first steps into this emerging field.
Figure: Bringing development online brings new benefits, from productivity to security aspects.
As time went on, several of these early ventures were acquired by larger tech companies, who saw the promise in their innovative ideas. For example, Amazon Web Services (AWS)’s Cloud 9 and Redhat's Dev Ready Workspaces platforms stem from acquisitions.
After a Slow Start, Lift Off!
Fast-forward 6 to 8 years, i.e. early 2020s, and the concept of remote development is now starting to reach the masses. Both Microsoft Visual Studio Code and IDE company JetBrains provide a mechanism for that.
Startup entrants in the field propose online or self-hosted CDEs and, until recently called themselves Cloud IDE companies, likely because a web-based IDE is the most straightforward mechanism to access CDEs.
Figure: Gartner’s Hype Cycle now features CDEs as an emerging technology
This year, in 2023, the industry finally settles with calling the technology for what it is, i.e. a Cloud(-based) Development Environment likely because a Cloud IDE is just one mechanism to access CDEs, i.e. in addition to local IDEs and terminals. And now that Gartner has made CDEs a new category, the “what are we?”-discussion topics amongst industry players are closed.
Grasping the Concept of a Cloud Development Environment
The simplest way to envision a CDE is to compare it to a remote machine to which you connect, in its simplest form via a terminal command window, e.g. using an SSH client.
Such a remote machine could be a physical host, but in the case of a CDE, it is technically a virtual process based on container technology or a virtual machine. For the sake of efficiency, running CDEs online might typically rely on technologies such as lightweight virtualization, e.g. Docker or Podman, but virtual machines are also viable candidates albeit slower.
Figure: A CDE is a container or virtual machine dedicated to development.
The typical specification of a CDE is typically a Linux OS with a series of applications and packages, with the goal of providing a ready-to-use, fully-configured development environment. Embed an IDE as a web application and you have all the components to start writing code online.
Using a web-based IDE (try Microsoft Visual Studio Code) a typical onboarding on the CDE goes like this: the developer opens a URL that loads the IDE into the browser and, in addition, gets a terminal prompt to the online CDE. Source code and any data in the CDE are authored using the IDE’s editing functions. Code compilation as well as other operations occur using commands in the terminal. Besides the URL visible in the browser, there's no notable difference with a local counterpart to this workflow.
What Are the Benefits of CDEs for Developers and Organizations?
The first attractive aspect of managing developments online is that the organization can provide a self-serve mechanism for any developers to get access to fully configured, policy-compliant environments without the need for IT support. Configurations do not only include authorized software and packaged, but also computational abilities of the workspace delivered by the CDE.
This mechanism can be used regardless of the type of developer, but the flexibility of a self-served environment is convenient for “badged”, i.e. internal employees. In contrast, managed access to environments is also possible for contractors or temporary employees.
Figure: CDE platforms can be used as a self-serve mechanism for developers.
Improved Governance and Security for Development Using CDEs
Because CDEs are running online, they can be essentially maintained, updated, and upgraded without having access to the developer's physical machine. They can also be inspected in real-time in the same way a process running in the cloud can be monitored, yielding interesting metrics along the lines of productivity and security. It is a boon for workflow governance.
Lastly, there is an opportunity to handle security better from the standpoint of resource access control, network monitoring, and data loss prevention. You can find more information about security for CDEs in this article.
Figure: A centralized view of running CDEs increases management efficiency.
Remote Onboarding of Developers and Data Scientists
The online nature of cloud development environments makes them very attractive to onboard developers regardless of their geographical location. In particular, using a browser-based IDE to access the CDE allows organizations to easily onboard remote developers on BYOD; i.e., no need to send over a laptop. This is handy to lower both cost and technical inertia when implementing a "liquid workforce."
Figure: A web-based IDE is ideal for BYOD onboarding of developers.
How CDEs Automate DevOps and DevSecOps Workflows
This brings us to the opportunity of automating DevOps and DevSecOps workflows. Bringing development environments online strongly benefits interactions with commonly used DevOps tools and applications. Most importantly, no existing tools can be hindered by the use of CDEs.
On the contrary, any communication is facilitated by the fact that CDEs exist online as do most of the existing DevOps and DevSecOps tools. This makes automation easy.
Figure: Properties of CDEs bring opportunities for DevOps automation
Building Modern, Distributed Cloud-Native Applications
CDE technology is driving the fastest DevOps transformation trend today with the entire cloud-native development industry moving development environments online. As mentioned at the beginning of this text, CDEs just became one of Gartner's new technology categories.
In addition, Gartner predicts, "by 2026, 60% of cloud workloads will be built and deployed using CDEs.”
CDEs are best adapted to build modern, Linux-based, distributed, cloud-native applications including front-end, back-end, and anything in-between. It is also quite easy to develop mobile applications provided that they are based on a friendly framework, such as Google Flutter or React Native.
Published at DZone with permission of Laurent Balmelli, PhD. See the original article here.
Opinions expressed by DZone contributors are their own.
Comments