PyCon Australia 2013

Crea tu propia infraestructura en la nube con Python

Ed Leafe  · 

Transcripción

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

our next presenter has been a development for over 20 years he is one of the original developers involved with OpenStack and after leaving the proprietary software world over a decade ago he has been private primarily a Python developer he has spoken at several

u.s. pi cons his main focus these days is with free and open software and it's going to teach us how to build our own infrastructure with Python please join me in welcoming ed leaf thank you that was very nice welcome and I also just want to start by saying

that um I've been to 10 u.s. pi cons have spoken at a few of them and I've always gone back because that's been like the highlight of my year this scent not just the technical content but the sense of community you get sharing ideas and things

with people is unparalleled and this is my first time both in Australia and at PyCon a you and I got to say I've had a great time it totally rivals everything in the u.s. PyCon so thank you guys for having me here all right so I just want to start he gave

me a little introduction but I guess this isn't going to work oh well who I am and why I'm standing up here talking to you I work for rackspace I've been a Python developer there for about five and a half years worked on a variety of things but

one thing I was most fortunate to work on was OpenStack and I have the bag to prove it it's one of my favorite pieces of tech swag it's OpenStack founder and that's actually a little inaccurate I actually worked on OpenStack before OpenStack existed

because i was on the Swift team before while it was still a proprietary Rackspace internal project that we then open source when we created OpenStack and currently I maintain the pyrex SDK for OpenStack clouds it did start out as a rackspace specific SDK and

hence the name with the racks in there it works fine with all of OpenStack so so here's the situation that all developers seem to find themselves in at some point you know you have this great idea and you grab your software you start pounding away and

you come up with this awesome idea this awesome app for that idea but now you're you have to get it out there you have to deploy it you have to set up an infrastructure so that people can come and use your app so this is the part that I don't like

to do I love writing software I hate dealing with hardware you know do you know how many software developers it takes to change a lightbulb none it's a hardware problem but anyway at some point you're going to have to do this you're going to have

to set up an app server and maybe a database for your app to talk to or whatever and all the internet can now come and use your amazing application and since it is amazing pretty soon you're going to start pushing that server to its limits so you come

up with something a little more robust with a throw a load balancer and a couple of server instances there and you know again it keeps growing getting successful so you do the horizontal scaling there and this works great except that every time you do this

you need to buy another server racket cable it install the software install all the updates install your applications to all all its dependencies so you end up doing something where you either mirror the disk image or I've done it with rsync you know to

kind of keep these all together and you also have the the issue that when your app is updated that you have to now update all these servers to keep them all in sync and you know you may have state-of-the-art hardware like this but but what happens is that

you know you do have to connect it all together and so you have this dream of you know this perfect set up with all this beautiful cable but after you've had to make a few changes you know and I do have to say this was not taken at rackspace with our datacenter

don't look like that okay so this is where the cloud comes in this is where you know the power the attraction of the cloud is is that you can you don't have to do all of that stuff you know you can the you or your if you have your own data center or

server closet or whatever or your provider gets the hardware gets a bunch of it and configures it in advance installs OpenStack on it so that it can work as a cloud and now when you need new resources you can provision them dynamically and as it grows you

can add the hot more hardware to it more compute nodes more storage more whatever but that's isolated from the developer you don't care you just have this cloud that you're talking to and I know Tristan did a thing at the OpenStack mini comp the

other day where he provisioned a network very similar to what I just showed you by you know using the control panel and creating a network and some servers and connecting them all together but I think what the real power of it is that you can do it programmatically

and since this is PyCon we're going to do it with Python so this is to me is the big thing for that you know being able to work with the cloud programmatically provides and all due to api's api's are the lifeblood of any any system so they but

[ ... ]

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