Garden City Ruby 2014

Utilizando Docker para realizar deploys sin interrupciones

Vamsee Kanakala  · 

Transcripción

Extracto de la transcripción automática del vídeo realizada por YouTube.

hello everyone a very good afternoon I really enjoyed the lightning talks thanks everyone and I hope you guys sort of slightly awake so how this is slightly off the center topic so this is more about DevOps rather than Ruby your rails per se so I'd like

to know who all are already familiar with Daka have tried out or just know what it does and stuff like that ok not too many sorry about that so I I've been a web developer free for quite some time and good part of it is rails actually the I actually remember

the days when the 15-minute video came out so all through these years I've also kind of ended up setting up servers for the Ruby teams that I worked with and have been I've been a linux guy for as long as I can remember as in the professional life

of mine and so I thought so lately I've been observing what's happening on the production side of things so I guess a bunch of you so how many of you have set up your own the ill servers maintain them Oh quite a few okay then this should be you deliver

into what you're doing so the point of so we're going to talk about zero downtime deployments with Daka so the point of this is so what is rocker so the first thing that Dhaka does is it basically commoditized Alexei Alexei is Linux containers so the

containers you can think of them as something like chroot jail change route JLS you have in Linux so what they what it basically does is it gives you a separate folder as a route and you can run off your processes from there and all the children are only allowed

to access that part of the directory as as a root directory a container extends this concept by giving you isolation on it gives you isolation on network level it gives you isolation on hard disk level so Alexi is a fairly old technology into the nucks but

it has been mostly in the realm of people who understand Linux pretty well or she said mins who were trying to achieve something on the production side so Dhaka basically makes this accessible to all of us so it makes portable deployments across machines possible

so you can basically have you have I have suppose a vagrant box which runs raring install but you can also you can actually run production systems production installs of out of say 12.04 precise so you get a lot of flexibility of moving your production images

around so there is efficient and quick provisioning so it saves on disk how much disk it uses by doing copy-on-write installs I will talk about a little bit later there's it's neo native performance it's basically process virtualization so you're

not you're not doing hardware virtualization or there you are not trying to support different oasis and stuff like that so the the way you the speed at which your doc Winston boots up is very quick so you almost have no overhead at all so it also does

get like worsening of images so you have basically a base image which is Ubuntu and you can install something like Emacs on it and you can commit it and it will save it and it will make it into another image which will also i will show you a little bit more

about that so that enables a lot of reuse so you can basically push these images to a public repository that darker maintains index dot dr dot io so if they're public if they're if they're open for sharing so you can push them out there people

can use your own configuration of you however you've configured your image and the major difference between how Alexi operates or how alex is thought about and how to occur encourages you to think about containers is that so Alexi was initially thought

of as you know lightweight servers which where you install basically everything and put them up and treat them as just like any other server darker kind of encourages you to look at containers as an application so you install say your database mysql in one

container you install your app server is in another container you install your yo lo debe you know so in another container so so so what is Alexi I actually wanted to take out this slide probably it's a little too advanced for this talk but let I will

try to cover this quickly so at the basic level it provides os-level virtualization for Linux so compared to say what VirtualBox does for you or kvm or Zen so these are all hardware virtualization so os-level virtualization much faster much lightweight perfect

[ ... ]

Nota: se han omitido las otras 2.093 palabras de la transcripción completa para cumplir con las normas de «uso razonable» de YouTube.