Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Destination Cloud: Deploying Applications With ...

James Thomas
March 03, 2016
190

Destination Cloud: Deploying Applications With Docker

Deploying your application to the production has failed again. Emailing the developer who commited the last code changes, they send back the classic response... “It works on my machine”.

*sigh*

Is this scenario a recurring nightmare (and reality) for you? While everyone else is talking about “continuous delivery” do your deployments feel more like an extreme game of Jenga, tittering on the brink of disaster and a nightmare to reconstruct?

It doesn’t have to be like this. Launched only two years ago, Docker has revolutionised application deployment. Using this open-source project, applications are packaged into lightweight containers, that are hardware and platform agnostic. Containers move from the local developer machine to a production server and then the cloud without modification!

So, how do you migrate a traditional three-tier Java web application to use Docker?

Let’s use a sample web application, designed for hosting on a single server, convert it to use Docker and deploy to a cloud platform. We’ll break out the application and component services into individual containers that can be ran and scaled independently. Showing you how to utilise existing pre-built images for rapid development, build custom container images for your application and move seamlessly between deployment platforms, enabling us to use “cloud” to accelerate application development. We will configure automatic build, test and deploy pipelines for continuous deployment and auto-scaling to handle unpredictable application traffic with ease.

If you’re an application developer who’s exhausted from battling deployment issues, maintaining ”special” production servers and lives in fear of being on ”pager duty”, come and learn how you can use Docker to banish “works on my machine” syndrome. This talk is for developers who’ve heard about this “Docker thing” and want to see a practical example of converting a traditional monolithic web application to use Docker containers deployed to a scalable cloud platform.

James Thomas

March 03, 2016
Tweet

Transcript

  1. IBM BluemixTM www.bluemix.net James Thomas - @thomasj - 03.04.16 DESTINATION

    CLOUD DEPLOYING APPLICATIONS TO THE CLOUD WITH DOCKER
  2. OPEN SOURCE RUNS ON LINUX LIGHT WEIGHT WRITE ONCE RUN

    EVERYWHERE VERSIONING DOCKER HUB REGISTRIES
  3. +

  4. +

  5. +

  6. PRIVATE REGISTRY GUI or CLI CLOUD SERVICES DEPLOYMENT PIPELINE MACHINE

    SIZES CONTAINER GROUPS MONITORING VULNERABILITY SCANNING
  7. IBM BluemixTM www.bluemix.net STEPS: 1. BUILD + PUSH IMAGE TO

    REGISTRY 2. CREATE REDIS SERVICE + BIND CREDENTIALS 3. START CONTAINER FROM IMAGE