Software Development In the Cloud

Cloud management and ALM


September 03, 2011
URL:http://drdobbs.com/tools/software-development-in-the-cloud/212900736

Nick is a Senior Solutions Architect with CollabNet and can be contacted at [email protected]. Darryl is a Senior Systems Architect Consultant with CollabNet and can be contacted at [email protected].


Similar to how virtualization began to take hold in the engineering lab, cloud computing is taking root with the more experimental crowd in software development. The reason for this is obvious: Development teams are quick to jump onto any leading edge technology that solves their challenge of needing dynamic, flexible tools and processes. Development computing environments require more adaptability -- systems specifically must accommodate shorter project sprints, be less static and more configurable-on-the-fly, and support collaborative principles -- in short, on-demand resources that can be shared across teams, managed by development, and have traceability across projects.

Access to flexible, on-demand cloud computing resources, either from a virtual private cloud within the corporate data center or from public clouds, can provide just such a flexible environment. While clouds are interesting on their own (who doesn't want all of Amazon's computing resources available to them?), having tools for managing cloud resources (such as tooling and workflow) is key. 'Cloud management for development' brings teams the level of control and visibility necessary in this new landscape.

With cloud management for development, teams ultimately drive the allocation and provisioning of their systems -- on-demand -- as they need them. They can utilize the pooled physical and virtual machine capacity of a cloud for more flexible automation and reuse across projects. This means less time spent configuring and finding errors when software moves from one stage to the next. The benefits of thinking of servers as 'clouds' or 'pools' of virtual resources and version-controlled configurations include:

In this article, our focus is on how to manage virtual private clouds for Application Lifecycle Management (ALM). We generally define virtual private clouds as groups of public or private server pools from your corporate data center or from public clouds like Amazon EC2. To these server pools, developers would apply some software stack or configuration required for their task at hand. A typical enterprise use case for managing their cloud might be:

To complete the concept of cloud management for development, let's also introduce the concept of Development Services or Build and Test Services. Development Services consist of code, build and test tools, applications, and infrastructure stacks that can be stored and managed as configurations or profiles, and applied to an available server. These profiles can be accessed and used globally and version controlled for consistency across the application development lifecycle. So Development Services are simply software configurations or profiles applied to an available server in the cloud, on demand.

Development In the Cloud: A Practical Use Case

One use case for software development in the cloud combines the agile best practice of continuous integration (CI) and some common collaborative development tooling that has been used across companies of varying sizes, locations, and industries. This approach is scalable and flexible around the size of your development team and type of products you are building.

The cloud development use case encompasses the flow of defects/requirements through phases of development/builds/tests and back to submission of new requirements or defects by various stakeholders. Automation at any point possible is a key capability, including the ability to 'turn on' and 'rip down' virtual or physical systems as needed, in a cloud.

Figure 1 illustrates the workflow for development in the cloud through the perspective of the various contributors, along with their collaborative and cloud management tools.

[Click image to view at full size]
Figure 1: Software development in the cloud workflow and stakeholders.

  1. Business Analyst/Quality Engineer (BA/QE) submits defects/requirements.
  2. Project Manager (PM) picks tasks, sets priorities, and assigns them to development.
  3. Developers open their favorite IDE and view their tasks. They begin to work on the defect and write code.
  4. Developers use the cloud-management platform to build and test code.
  5. They merge code and change sets.
  6. They commit code to a source-code management tool (here, Subversion). This triggers a continuous integration that takes place using the cloud management and build automation tool (Figure 2).
  7. CI tool monitors for code changes (Figure 2).
  8. Upon build failure, defect tracker is updated and notification is sent to the development team (Figure 2).
  9. Upon successful build, the defect tracker is updated automatically. If the test succeeds, test results are e-mailed to PM/QE. If the test fails, QE is notified (Figure 2).

Virtual Private Clouds

So what part of this happens in the virtual private cloud?

Figure 2 illustrates what the CI in your private cloud might look like, with virtual and physical machines and tools for source code, tracking, build, and test.

[Click image to view at full size]
Figure 2: Continuous integration in a virtual prviate cloud.

Setting Up a Cloud Development Environment

We now present an overview of some of the tools and principles to consider when modifying your own environment for development in the cloud. Basic principals include:

Time Boxing

Time boxing involves splitting projects into separate time periods of 2-6 weeks, each with their own deadline and budget. Deadlines are fixed but deliverables are adjusted. To meet the fast turnaround times and project splitting, engineering must allocate and configure systems quickly. If constrained by access to these systems or incorrect configurations, short iterations are impacted. On-demand cloud management server pools can mitigate this.

Taking advantage of software development in the cloud does not require massive retooling--that's one of the benefits. You may already be using many of the basic collaboration and change-management tools commonly used by software teams worldwide. (As a disclaimer, many of the tools we talk about are those that CollabNet sells.) Table 1 lists the tools.

[Click image to view at full size]
Table 1: Tools for software development in the cloud.

In general, requirements for tools should include:

For instance, CUBiT (CollabNet's Cloud Management for Development Services) can be configured to manage a virtual private cloud with your own corporate computing resources, expanding to a public cloud such as Amazon EC2 if desired. This type of capability is key for automating any development environment. With such automation, overhead for software teams to obtain and manage computing resources is reduced with the Development Build and Test Services previously described. New systems can be provisioned from the predefined profiles within minutes while maintaining corporate security, auditability, and traceability.

Design goals for the cloud environment include:

Figure 3 illustrates how CUBiT manages development clouds of build and test services -- combinations of physical and virtual machines with profiles.

[Click image to view at full size]
Figure 3: Cloud management with CUBIT.

Software developers within their own projects have access to their own dedicated systems that are dynamically sharable among project members. CUBiT management features include visibility of all system resources within cloud, auditing, capacity monitoring, role-based access, and accounting with charge back. Profile management enables version control and traceability for configuring predefined development stacks within minutes.

[Click image to view at full size]
Figure 4: CUBIT report.

Conclusion

Software development in the cloud brings adaptability and flexibility to any size project team. By utilizing some common software development tools and a new one that introduces the concept of cloud management and development services, teams can build their own cloud development environment with continuous integration automation and 'roundtrip' feedback to provide on-demand access and visibility across the development lifecycle.

Terms of Service | Privacy Statement | Copyright © 2024 UBM Tech, All rights reserved.