diff --git a/_posts/2016-03-11-being_a_microservice_or_cattle_over_pets.md b/_posts/2016-03-14-being_a_microservice_or_cattle_over_pets.md similarity index 91% rename from _posts/2016-03-11-being_a_microservice_or_cattle_over_pets.md rename to _posts/2016-03-14-being_a_microservice_or_cattle_over_pets.md index 8706542..4cb28a0 100644 --- a/_posts/2016-03-11-being_a_microservice_or_cattle_over_pets.md +++ b/_posts/2016-03-14-being_a_microservice_or_cattle_over_pets.md @@ -24,7 +24,7 @@ Turned out - the glue were the mysterious microservices or at least they were su But when there is shadow, there has to be light that casts the shadow and I stumbled upon some talks and lessons that I will really carry with me back to my team. ## "Treat your machines as cattle - not as pets! -At Semigator we're still doing the hosting of our production environment in a pretty conservative way. We have a bunch of virtual ressources (CPU, RAM, HDD etc.) that we combined into virtual machines and we take care of everything on these machines - starting from the OS updates to fine tuning application configuration on every machine. We're really pampering them like pets, because that's how system administration works, right? But why would we want to spend time on doing this that have actually nothing to do with our business? We are a webshop for further education and our business is to provide our customers with a lots of training offers - not to do server management! +At [Semigator](http://www.semigator.de) we're still doing the hosting of our production environment in a pretty conservative way. We have a bunch of virtual ressources (CPU, RAM, HDD etc.) that we combined into virtual machines and we take care of everything on these machines - starting from the OS updates to fine tuning application configuration on every machine. We're really pampering them like pets, because that's how system administration works, right? But why would we want to spend time on doing this that have actually nothing to do with our business? We are a webshop for further education and our business is to provide our customers with a lots of training offers - not to do server management! Today's technology stacks enables you to ship your application either as a (almost) full working instance (Axel Fontaine of Boxfuse demonstrated in his talk "Rise of the machine images" how easily an application including a complete OS image can be created with only 15MB and deployed to AWS including propagating the new IP to the DNS) or at least as a container that bundles all dependencies and leaves it to the host to provide them. So if you need to deploy a new version of your application - or your microservice - you just create a new image, deploy it and delete the old one. So no more pampering of Linux or Windows machines! Just deploy what you need and where you need it! Of course this requires some preparations: you'll need to get rid of everything that you don't need on your machines, like: