Continuous Delivery Using Cloud Development Tools

Cloud based online development tooling is continuing to improve, removing barriers to entry with regards to building software as part of a team.

We can now get full development environments and most of our build, test, and deployment processes up and running in the cloud using various software as a service and infrastructure as a service offerings.

These services are great in isolation, but what I am also finding interesting is the way in which these various components can be bought together and integrated into a completely cloud based deployment pipeline.

By combining various best of breed tools together, it should be possible to take code from integrated development environment through build, automated testing and deployment into both QA and production environments all without leaving your browser and without setting up any development tools or local infrastructure.

Whilst the below is just one model and one set of tools, it should hopefully illustrate the concept.  From the top….

Development Environments

The idea of a browser based Integrated Development Environment is not an appealing prospect at first glance.  If ever there was a use case for a rich client desktop application, it’s the IDE.  They are complicated beasts and speed and responsiveness are key.

That said, I’ve been blown away by how far products such as Cloud9 and Nitrous.IO have come since I checked out the early versions.

As the screenshot below shows, both of these products offer a very desktop IDE like experience for developing using Ruby, Node, Python and more.  They incorporate the notion of a workspace for organising and managing your project artifacts and a fully featured Linux terminal at the bottom for interacting with your codebase.  They have integrated debuggers, code navigation, macros, integrated previewing and more.

Screen-Shot-2013-09-03-at-20.55.412

Both Cloud9 and Nitrous are extremely fast to navigate around and it’s surprisingly natural to get to work and producing code within the context of your browser.

Crucially, both tools offer access to source control facilities such as Git, giving us the output into the second stage of our deployment pipleine.

Source Control

GitHub obviously requires no introduction as a tool for source control.  However, it’s worth taking a step back and reflecting on how amazing a tool it is for managing your code artifacts and projects.

Within a browser and without hosting anything yourself, you are given source control, the ability to manage and visualise your revisions, your diffs, branches, and patches, the pull request workflow, integrated issue tracking etc.  It’s like a conductor for your software project.

Not too long ago this would have been an expensive enterprise purchase requiring lots of system administration, and the quality would have been far behind what GitHub gives you for a few dollars per month.

github-1024x510

Competitors such as BitBucket and BeanStalk are definitely worthy competitors for online source control, though don’t always have the wealth of integration needed for more advanced deployment pipeline work.

Continuous Integration

After setting up an IDE and a source control repository, the next thing I’d setup on a development or deployment pipeline project would usually be a continuous integration server.

I’ve recently been checking out CircleCI who provide continuous integration service in the cloud. In literally a few clicks, you can integrate back into GitHub and have your code being built and tested by CircleCI on each commit.

Setting up and maintaining builds can be a real time sink, requiring lots of configuration and resources to keep your builds stable and fast.  CircleCI removes many of the concerns here, even supplying you with various databases to support your continuous integration and testing.

A strong alternative to CircleCI in the Java space is CloudBees offering.

circleci-1024x600

Environments

Continuous delivery often requires a number of environments to support various types of automated testing, with each one being progressively like production.

The fastest way to achieve this would be to leverage platform as a service offerings such as CloudBees, Heroku, EngineYard, NodeJitsu etc to manage your environments without any infrastructure on your part.

CircleCI is useful as it can be used to deploy artifacts directly to these environments – both for testing purposes, and later, for the production deployment.

Cloud Based Testing

Various cloud tools are emerging that support automated acceptance testing.

I like the Sauce Labs offering, giving you the ability to complete manual and automated testing across a range of platforms and mobile devices.

sauce-1024x571

This testing can be carried out against the software that has been deployed into your test environments out of CircleCI.  When you are happy with a particular set of tests, you can then deploy to the next environment in the pipeline.

Development Administration

To round out your cloud based development pipeline, you might implement tools to support your development workflow such as a bug tacker and Wiki.

There are lots of examples that could be used here, but lightweight tools such as Trello and Asana, or slightly more enterprise offerings such as hosted Jira and Confluence can all be procured completely online as software as a service.  Even a few years ago, tools of this quality would have been significant investments requiring your own server resources and a degree of administration.

trello-1024x447

By combining the above tools, it’s hopefully clear that we can build a fairly advanced process for developing, building, testing and deploying code.
 

Do you want to know how to develop your skillset to become a Java Rockstar?

Subscribe to our newsletter to start Rocking right now!

To get you started we give you two of our best selling eBooks for FREE!

JPA Mini Book

Learn how to leverage the power of JPA in order to create robust and flexible Java applications. With this Mini Book, you will get introduced to JPA and smoothly transition to more advanced concepts.

JVM Troubleshooting Guide

The Java virtual machine is really the foundation of any Java EE platform. Learn how to master it with this advanced guide!

Given email address is already subscribed, thank you!
Oops. Something went wrong. Please try again later.
Please provide a valid email address.
Thank you, your sign-up request was successful! Please check your e-mail inbox.
Please complete the CAPTCHA.
Please fill in the required fields.

One Response to "Continuous Delivery Using Cloud Development Tools"

  1. Abhishek Choudhary says:

    Very nice article , but as you mentioned about few vendors, i’d like to bring one more excellent player into your notice ie Jelastic. I implemented the same to my project a year back and I found its superb.
    It Supports Netbeans as well as Eclipse :-)
    http://jelastic.com/docs/eclipse-plugin-user-manual

    I found all the mentioned features is as well supported by Jelastic and the best part about this vendor is documentations. They have enough and youtube channel as well.
    http://www.youtube.com/user/JelasticCloud

    Expecting your review on the same.

Leave a Reply


− 8 = one



Java Code Geeks and all content copyright © 2010-2014, Exelixis Media Ltd | Terms of Use | Privacy Policy
All trademarks and registered trademarks appearing on Java Code Geeks are the property of their respective owners.
Java is a trademark or registered trademark of Oracle Corporation in the United States and other countries.
Java Code Geeks is not connected to Oracle Corporation and is not sponsored by Oracle Corporation.
Do you want to know how to develop your skillset and become a ...
Java Rockstar?

Subscribe to our newsletter to start Rocking right now!

To get you started we give you two of our best selling eBooks for FREE!

Get ready to Rock!
You can download the complementary eBooks using the links below:
Close