Building code effectively in the cloud

Building code effectively in the cloud

Efficiencies in DevOps in the cloud are key to agility. My last blog "Releasing into the clouds" described near zero impact moving from dev/test into production. In this example we needed to balance efficiency with strong validation as this is a higher risk operation.

However, the first stage (Commit > Build > Deploy)  there is much less risk, so we want maximum efficiency. This allows our testers maximum pre-release headroom and our developers to keep right on coding the great new features. Additionally, when you need to do an urgent release to squash that little bug, we can respond effectively and fast; and that’s what our customers expect.

Ready, Steady, Go!

From the moment a developer hits commit, their code is built and deployed to our development environment and staging slots across multiple regions in less than four minutes. Barely enough time to brew the coffee. 

(Above is a screen grab from our Codehip dashboard of the completed build times)

How we do this

Below are the three important components needed to achieve this with example code/script on my GitHub repository here

  • Github is our code repository; one repository for each microservice (Check out our Technical Director's Chris Wiles blog "Upgrade to a Microservice Architecture")
  • Codeship is our CI/CD (Continuous Integration / Deployment & Delivery). It detects every Github commit and triggers a new code build and deploys to our development environment.
  • Azure App Service's zip deploy This is the chosen deployment method. Codeship will zip our microservice package then push it to our Azure App slots where Azure will unzip the package and start the service.

The added benefit of this method is that the build phase happens once in a central location ensuring that the identical package is deployed to multiple regions, reducing the possibility of a version conflict across our regions.

To view or add a comment, sign in

More articles by Costa Christodoulou

  • Burnout in the Age of AI: What Leaders Need to Pay Attention To

    AI is accelerating our work but it’s also reshaping burnout in ways leaders can’t afford to ignore. As leaders in tech,…

    2 Comments
  • Three Years at Ciphr

    This week marks three years since I joined Ciphr as Head of DevOps — and it feels like the right moment to pause and…

    7 Comments
  • A lot of cloud with a sunny outlook

    Earlier this year I posted a throwback to something I wrote in 2015, documenting the cloud revolution and recognising…

    2 Comments
  • Releasing into the clouds

    Cloud computing brings a lot of benefits such as scaling and risk reduction and also some interesting new challenges…

    3 Comments
  • How to scale and mitigate risk in the cloud?

    Our platform underlying ZetaSafe now operates with over 100 different components from Managed Storage Accounts, Virtual…

    2 Comments
  • Cloud Expo Europe 2016 - What Server?

    Not only did The Cloud Expo Europe 2016 at London ExCel get bigger, it also hosted a few more friends, co-hosting with…

  • IP EXPO Europe 2015 - The Age of the Cloud Revolution

    This year's IP EXPO Europe was one of the biggest I have attended, with six core streams; Cloud and Infrastructure…

  • Is Cloud archiving data ransom?

    Cheap data archiving in the cloud is here, just don't ask for it all back. Google's Cloud Storage Nearline is the…

    1 Comment
  • Clouds in the jet stream

    Like in real life, not all clouds in the sky are the same shape or move at the same speed. Cloud computing is no…

  • Cloud Expo Europe 2015 - Out of the Shadows

    This year's Cloud Expo, hosted at ExCel London, was impressive. There were some great new products and services on the…

Others also viewed

Explore content categories