 okay hi everyone thanks for still staying with us my name is Wang Yi actually I'm working for Pivotal or same working for in fact you guys already met up if you don't know what Pivotal is what the company does I think you already met up Sergio met up Michael met up Carlos they are all my colleagues and I don't come here quite often but today Michael see you know car foundering is a very big community you're going to show some faces which is new faces going to grow up and you know instead the only see Carlos and the Sergio so that's the reason I'm here and the topic I'm going to cover which is CF how many of you ever heard about the car foundering oh good so it's fine it's okay I'm going to talk about what the car foundering is so because we are talking about the docker tonight and I was trying to cover I'm giving about the 10 15 minutes to explain what the relationship between the docker and the car foundering and the words each product does you know are the competitors we are having the this topic is you know they're working better together in fact you guys will change the term see instead of docker I will see container but why is that I I don't think I have a time to go to the details but anyway just happen docker be one of the very successful containerization technology I'm not sure you guys ever see this before the docker actually joined the car foundering foundation during the May 2014 and why they're doing that again like I see I'm trying to share with you how does to product or to initiative project working better together so it's very difficult you're going to be a very very long discussion if you really wanted to go to a very very detailed so technical deep dive I'll probably take you one or two days to go to do that so 10 minutes I don't think I can do anything better I would just rather to show a differences or different ways in terms of how this to product provisioning applications to let you guys to see the differences and then you might go back and think about that and for those people who don't know what the car founder is the car funding today is the world leading open source platform and services project actually supported by many big organizations is it pivotal initiate in fact it's a initiative we started from a VMO at this because of VMA and the EMC they created the pivotal then it passed this whole project to pivotal and today in the community you have IBM you have a HP that a lot of them so literally it already become a de-factor platform and services and to be used up by a lot of commercial product already and as the platform and services first and foremost are we all familiar with the past is yes yes sure cool okay in case you are not familiar with the past is eventually if you are familiar with what a cloud they talk about the tree services models in front of the services platform and services and the software the services so eventually I guess if you don't know about the past as a software services at least you heard about the IS which is you know the VMware guys and open stack guys are doing very successfully they are able to using the virtualization technology actually putting a one soft software on top of the hardware's therefore today you are really can using the API to creating the virtual machines to click the buttons to getting a tons of the virtual machines and up and running that's really give us a huge agilities allow us to moving faster and a more agile and what the past trying to resolve by yes you are getting a virtual machines are going to give you a OS that's for the developers is not good enough right because what you needed to do is after that you will still need to install the your application server database etc so how am I able to get in those things as a services that's eventually what a problem then the platform and services need to resolve so in short which is means trying to get the what does the platform does platform means how do I build them applications by using what kind of language what you are seeing here so cloud foundering trying to see I'm a language frameworks agnostics which means I can supporting any sort of language that you just to me a java to me a waterfall to me a donut thing files you don't have to tell me that's Java that's donut I'm able to scanning it and the credit and also in manage the other of course it on top of VM and the containers therefore in manage it is orchestrating applications to services and applications it's kind of like abstraction layer on top of IS to play like a like a cloud OS if you will okay I guess you guys already see doctor I think that's a cool technology as a container one of the very successful containerization technology this really cool today frankly when I start to evaluating I'm not really you know every day go deep dive about what the doctor is but they already have a habit when I go to certain evaluating certain new tools new project our first and foremost to see I used to you know using a VM fusion create a virtual machine and install all the my stuff there but today already have a habit it do support doctor so I can quickly use a doctor run I can boost up a tons of you know all the application up and running to do my evaluations so that's quite cool to me but however what we just now the already see which is I'm going to show again later but however doctor alone is cool but it's not that cool because when we are going to provisioning a multiple layers applications you think about the real world just now I think a few question already pop up to see okay when I go to my production environment what I'm going to do and because people start to relate it to what they are doing in the actual world and also today we all know I guess probably largest the doctor user should be Google right so my colleague and if you guys attend a previous session definitely about the Sergio talk about the Google run billions of doctors in their data centers so every Monday they're launched about the millions of doctors so then just now you're you guys already see how the doctor actually creating the doctor file trying to link up the database and the things are together if we are going to do all those things are manually that's a nine man so because in the real production environment when you're going to provisioning a patients you need the router load balancer multiple locations services etc etc if you're going to really creating tons of them but this one doesn't work for you if you really have to jump in to see okay which are the part I need to map which others you know which you know this are the one of the you know I I get it from the doctor composed site which is how they're going to provisioning a very simple web application plans database so you have to specify which are the part number you need to get the doctor to use and which are the web servers up and running on which part now I'm going to link me to database so you as the developers you really have to write in the script and doing this and will that be something you wanted to do or like I mentioned in the beginning as a past literally I wanted to just see as a developer I just want to see okay here's my source code the planning for me and I don't care how I don't care how you're going to do that don't tell me I still have to think about the load balancer think about how many application instances and how do I do feel over which are the part number I need to bind to etc so those are the details I don't want to deal with so today I think I don't have to I think I think most of you guys should already heard about the top factors right it's happened to be a principle so it was a good practice all the way it just today people are talking about the cloud native applications it just happened to you know when we look back to the school practice that make a lot of sense for cloud native applications and if you really look at probably a few of them but when you really look at the support binding and if you look back at what we showed just now so when we are in the cloud environment we really don't want our applications like a word just now he mentioned that you are now have a catalyst instead of pat you won't be forever getting a physical IP physical host physical file system physical power number etc they are always existing and not gone they can die anytime if your patients really have a dependency on those fixed resources you're gonna have a problem so with that be said so for you to really jumping to manage all the details about the part etc you will be facing the problems and how do we do with the cloud foundering first and most cloud foundering are really working we are working very well with the our own seed Docker in fact you will we are using is another container technology which is the we call it the first generation was Walden now it's calling garden garden is nothing it just the fork all the Docker codes and the rice something on top of that so and then we just hide all the details all those are ugly stuff from all the developers so today when you're going to creating web applications look at this young configurations what you're going to do is okay tell me your patients name and tell me how much memory you wanted and tell me how many instances you want it because I can have a my low balancer you can tell me multiple instances so I can help you to want it together and I can just tell me where the welfare is you don't even have to tell me this is a job applications or down applications and then you're going to just tell me the the database instances name you don't have to tell me IP port number etc that's like a environment of variables you just pass it to me and the later the platform we're going to inject whatever information you needed for that database include your credentials include the IP include the port number etc so that's what the car foundry allows you to do on top of container technology that's cool so I'm not going to run it again but I'm just to do one things just now because just now I don't want to waste the time therefore I run it maybe I forgot whether I did that or not so maybe I'll just do me push again because this are the young farmer having exactly the same thing so what I'm going to do is just to do a push so subsequently car foundry we're going to take the manifest file and of course you already passed me the waterfall so car foundry will take it and upload to car foundry environment and do all the stuff for you and very soon you're going to see one thing called build pack stuff so that's the landing run I'm going to come back again so okay this are the docker eventually you will really start from you know you know when you create the docker files literally there's the Ubuntu etc then you're going to define your runtime define whatever you want to run in signage but what the CF actually did was they create something called build packs build pack is nothing it's just a ruby language you're creating softwares which is can take over whatever you pass to native it start to do the scanning to see oh this is a waterfall and then they check a few features all this is Java so now I'm going to give you the gdk you need it it give you the Tomcat you need it and then going to assembly as a master template is done somewhere so subsequently if you want me to have a multiple instances I always take this master template and creating the instances for you and the join to the similar balancer give you a same URL and if you want to bind to the database I'm going to bind to the database of course binding is another step we're going to explain later but build packs eventually really allows you to do those you know it's help you to do all those jobs and this are the source binding concept which is just now as a beginning when you see the docker just now you really have to literally you have to really run that kind of image actually having the MySQL I know I get five minutes and so what the Cloud Foundry literally does is if you really just now notice the manifest file I show you earlier so there was a once I push every application over there I can literally point it to a MySQL database so MySQL you can use command line or you also can use the UI tools to pre-create that kind of a database instances are over there and subsequently you can register all the metadata into the source broker and all those application instances eventually all go to the source broker and the true the source broker that kind of parameters which is MySQL that variables and then he get to know all the parameters he needed he just in the runtime this really bring the benefit when you really moving to the cross the depth environment to UAT productions you don't have to worry about the actual with IP the part number credentials is and that's what we wanted to achieve so that's Cloud Foundry I think right now let's me go back to the demo I just run so you can see the output now so just now I do that push so the push literally upload to this a warfare and subsequently the build pack start walking and they can start to prepare the JDK environment for you and they're going to assign the memory and they're going to give you the Tomcat etc now all the way to binding the database and the instance up and running and if you now come back to the Cloud Foundry UI so I created that spring music I need to do a refresh yeah okay this are the one I just created you can see my application up and running if you really going to this spring music itself there's a console and of course just now when I do push I can specify how many instances I want and subsequently I still can do this things I let them to boost up you know more instances if you're really having the kind of a more and more customer to come in you can really do this in the real-time and the meanwhile of course when you're creating the new instances you are existing applications still running and after the those instances are coming they just join to the load balancer automatically and you can change the memory and then from here of course you have the console and then this are part of probably interesting because this is actually the database I bind just now and if you really come to the environment variables you can see all this information eventually going to be injected by the platform itself so with that I think I guess I already explained what the relationship between the containers and the platform and if you are asking ask me just now the a few guys are asking oh is it the containers already be using in some production environment yes not not only Google disguise but we've caught foundering and that with the commercial pivotal product it literally already running inside a lot of big names of course today I'm not represent the company and you're talking about the product but one can share with you it's really a lot of companies currently using and just now I like the other question one guy was asking a what the container means to me I think I like this a lot this a lovely cartoon and this probably you know when you look at this this probably the earlier we how are we going to assembly our occasion together and today using the container this how do you do things so any question for me no all you guys are 9 o'clock already anyway I run out of my time if you're really interested if I really find this things are interesting so in fact you want I'm currently having is let me just log out log out so there is something called PWS it's a it's like a AWS it's a provided by pivotal as a cloud foundering actually around on top of Amazon so you can come here and the register having a free account then you just download the the command line tools just now I was using because there's a CF command line tools you need to download of course once you go to that website the register you can get all the tutorial how I'm going to do that you need to download this command line tools and the register do a login of course I see for a lot of steps I need to do login as well so after I lock in I can start to pushing all my occasions over there and of course today not only the public services they will do actually offering that and enterprise services you really can set up this into your on-premise data center if you happen using the vSphere or OpenStack running inside that your on-premise data center okay question no yep that's one that's why I mentioned just now once you are having this a Wi-Fi to come in to tell me you want to bind to note once your Wi-Fi coming so what it does the piece the cloud foundering have a build pack stuff it start to scanning we call it come by come by it's not see your source code to come by the binary what come by means we're going to assembly a zip files literally was zip files it can take your Wi-Fi it can take Tomcat it can take the gdk etc then creating that kind of like an image equivalent to stuff we already automated the steps and then once we created that we tested it works then we're storing inside the answer your question we do have a you can see it's a blob storage as I try we have a kind of like a storage in the platform you can storing that image over there and now I guess to just further for this point in fact you you have an advantage by doing this because you in the actual production environment you won't you don't want to give the permission to developers who can just any how to create a Docker file to see all these are the Python 1.2 or this are Python which version okay I guess I answer your question so there's some announcement if you are very interested in the cloud foundering we can definitely take this offline so we can have a discussion okay pass you back