 He's from Red Hat, he's a software engineer and he will introduce automated customization with an image, with an image builder, so please welcome Charles Shee. Hello everybody, I'm very glad to be here to say you guys in both communities and experts. Thank you very much and the city is a very great city. My topic is automated customization with an image, with an image builder. My name is Xu Chen, I'm Chinese and my English name is Charles Shee. I'm from Red Hat, Beijing. I work for the virtualization technologies such as ZEN, KVM and also the public cloud such as Alibaba Cloud and AWS. And I also need a small team to do the performance validation with the cloud. And this is my personal website and the typing code blog. And also this is my email address, you can contact with me. And what I want to talk about today is the introduction of the image builder, what, why and how. And then I will show two demos, one is to use the image builder with me and the other one is to use the CRM. And the next is the future's goal. And if you are in any section, if we have time. So what is the image builder? This is abstract from the product development. Besides, the image builder is a tool for creating customized decision images. And for VIN and cloud images. And it makes you run faster compared to the manual procedures. It abstracts away the specifics of the time. So this is the workflow here. You can say in the center part, this is the main component of the image builder. And it's also the abstract revolution. And then it uses the RESTful API to communicate the GUI and the CRI. As the user, we use GUI or CRI. We can put, we can defend the REST packages or the third party packages. And customize the configurations to the image. And as outputs, we can get the system use builder, ISO and this image. And advance the system in minutes. And also we have more cloud images. So why image builder? Image builder is friendly because you can use it in a unified movie, which is called as Red Hat with White Console. You will see that in the voting demo session. And then you can assign it very quickly. And also it is very powerful. You can use the image for different platforms and faster than manual procedures. It's also professional. Customize, we have, because we're customizing challenge, we have code. So it can help you to create secure and high quality images. And it's well-tested and supported by Red Hat. And it's also extremely flexible. You can, it can be automated. It can be integrated with some management tools. So what is about output types? In the real standard, we have supported the installation, ISO, and the QComp2 image. And also the real-dice, real-dice and file system images. For real-dice, we added four new output types, such as AMI for the real-dice, Red HD for the age, for the age, and then DK for when we're, and also we support OpenStack from real-dice. So you can try to use it. So how to use the image builder? We have two ways to use the image builder. First one is to use the movie plugin. It allows you to use the image builder from Red Hat and Red Console. And you can get a very quick start. Also you can use the CLI tools. This is a preferred miser. Because you can, because it can be integrated with the other tools, and more functions are available in this miser. So there's a client out. So in the business or personal usage, you can integrate the image builder with Red Hat Assemble Automation. Assemble is a Red Hat tool, which is totally free of charge. You can use it to match the image builder and to create your extension on the private or public cloud. To use this image builder, you need to install it into your computer. To install it, first, you need to install the Laura Composer package, because this is the basic component of the image builder. And then if you want to use the CLI, you should install the Composer CLI package. If you want to use the movie, you should install the podcast composer. Composer package. Next, you need to start the Laura Composer service. And then enable the podcast circuit. You want to use the movie. And then you can copy your bare wall to allow you to access the Red Hat web console from remote. So this is the... Don't use the movie, because you can't escape this step. So talk is cheap, show me the demo. The first demo is about using the image builder with movie. Here when tapping the ID address of the server and the phone number, use your route to the web console. I used the Laura here to do the demo because Laura has the latest feature. So now you can see this is the Red Hat web console. You can manage it from remote. So if you install it correctly, you will see the image builder on the upper left corner of the screen. Here's the package. And you can see here is some blueprint. Blueprint is where we defend how we view the image. So there are three demos, and one blueprint is just created in the other demo. So let's click here, the red part, and here is our management resources. So you can see there are so many sources here. It has been installed on my computer. So this is the Laura image. This is the Laura. So it's a Red Hat content. And such as this one, the revenue function, this is a third party result. So we can install the package we need from all these sources installed. And here we can also add the sources. Here tapping the name, such as PEL, and give a task, select a task, and click the add a source. Then we can use the package in the HDR. So here I can cancel. And now we create a blueprint, the name, demo, image, and some expressions. They're created. We can see on the left page is these are some packages here we can use to install into the image. Just tap something here to filter what you want. Let's filter the images so that we can use a image for our web server. And here is the version. We can choose a specific version, such as this. And you can choose the latest version, such as the latest 1.16. Or just the most latest version of the package. And you can see here is the dependency. It has been resolved automatically. And the price is at $1,000. So this package has been added to the blueprint components now. For me, we may want to add another package, such as the latest. So we have a variant here. And we really want to specify a version, just in the latest 1.16. So we will say it has been added to your blueprint and its dependencies. So let's just commit to save the changes. We can say this is the handy changes and commit the new button. Let's get back to the blueprint. So the first is customization type. We have a hostname here. So this is the default hostname for VM. And we can add a user here, such as a child. And have your password here. If you have the SSHP, you can paste the SSHP here. So this is the user we just have done. And we can add it or delete it. Or you can add another one. And the section is the package page. We can see the packages and the dependencies. And also the image page. Here we can create an image. Here we can say we have a lot of image types to select, such as we can select the AWS one. So we will get an API for the AWS usage. And then commit the crate. It tells you that the image creation has been added to the queue just in a moment. Here we can say it's in 100 status. That's a refreshable page. It's in progress now. So we can check the logs, check the logs. And now we should be waiting for some minutes to make it fit to wait for the image. So let's get back. When it's finished, it will look like this. Yeah, like this one. So just click the download here to download to get the image. So this is how to use Ruby. And about how to use the CRI, I want to highlight some highlights here. We can define the reference in the CRI just by changing the t.o.nl file. This is a text file in home format. So just put what you want in the file and use the birth command to push this file into the image builder. So it will become a blueprint in your system. So you can show that blueprint. And if you want to add the blueprint, you need to use the blueprint C to save the blueprint to a file for a text file and add it down in text file again and push it again. And if you want to validate the package design, it's under their dependencies. You can use the blueprint to solve. And if you see the results here, you will make sure that your definition is correct. And the command for the compose composes a procedure to create an image. So we can use the second one to start a compose. It means to create an image. Compose a style, your blueprint name, and the compose type. So if you don't know what type is supporting your system, just use the first command here. Compose types is it. Then it will list all the available types in your system. So you can choose one. And you can also use the compose by the analysis standards, by compose standards and the compose UI. The UI will be provided when you successfully start a compose. So anyway, you can use this command to check the standards of your compose. When it's finished, you can use compose image to download your image to your local. And here is the demo, but we don't have so much time, so I put the demo here. You can go through this address to check the demos and it will show you all you can do in the CLI. If you are interested in trying it out or forget to check it out. And then what's the next? The next is the ensemble will have making support for image builder. You know, now we use image builder with the ensemble, just use the ensemble to trigger the image builder CLI commands. But in the future, ensemble will make support for image builder. It means you will, ensemble will have image builder a module for fast use. So it will, it will save more community and more powerful. And then the next version of image builder can push the image to the public cloud by itself. You know, now with just the image and the deferred, the process is to defer the image to defer the image installation to the ensemble. But in the future, in the next version, we will have the feature that image builder can push the image to the public cloud by itself. And more image tasks will be supported such as Alibaba, such as IBM or Google image image can be created by the image builder. And more development and configuration options and more powerful technology will be provided in the following versions. So here I discuss useful needs. The first thing is the image builder unrealized document. So this is an official document for image builder. You can check how to use it. And the second thing is our student project and blog. You can see the Lorex composer here. And the third one is how to use intellectual how to use the Lorex composer. And the fourth one is mainly focused on how you can do in the CLI. And the last one is the upstream. It is a G-HUB for the GUI. For the GUI blogging. That means the name is how to use the composer. So you can try to do something out here. And so any questions? Do we have time? Probably not. So I think here we have groups. So if you have any questions relating to the image builder or relating to the public club or RACAT just contact with me. Thank you. Thank you very much, Charles. And the next time we have a very short break.