This post is about software application architecture patterns that simplify application design by leveraging cloud features. New: Download the cloud pattern cheat sheet Packaged configuration Packaged configuration cue cardWhatConfiguration is packaged with deployment artefactsMotivationSimplify system, increase resilience by removing runtime dependency on configuration serviceHowConfiguration is managed in configuration repository, CI/CD combines generic application artefact … Continue reading Cloud-specific software architecture patterns
Category: cloud
Rebuilding single services in docker-compose
Note to self: a single service ("container") out of a docker-compose.yaml file is rebuilt and restarted like this: docker-compose create container_name While this complains about deprecations, there is another way. Let's say we want to re-create a container called "web" belonging to a composition: # stop container docker-compose stop web # optionally destroy container. … Continue reading Rebuilding single services in docker-compose
Monitoring for the private Docker cloud project
A few days ago I blogged about my holiday project (Building a private cloud with Docker [1]) which is just a proof of concept as it lacks important features. One of them is monitoring which is a tough topic in cluster environments. There are a few open source, free to use monitoring solutions for Docker … Continue reading Monitoring for the private Docker cloud project
Building a private cloud with Docker
Abstract: In this post I'll describe how to create a private cloud with Docker, Varnish and a lot of shell scripting on a set of private (virtual) servers. This post assumes intermediate knowledge of related techniques. I will still once in a while go into setup details because, well, this is also an exercise for … Continue reading Building a private cloud with Docker
Tomcat starts slowly in docker container
Just a little reminder to self: when running Tomcat with Java 8 in an Ubuntu Docker container, Tomcat will take a very long time (minutes!) to start with even the simplest web application. The issue is actually documented (not entirely Docker-related). The solution is to modify JAVA_OPTS to use a different random device: JAVA_OPTS=-Djava.security.egd=file:/dev/urandom


