This lab walks you through Cloud Deployment Manager.
You will be creating a Template and Deployment.
Duration: 60 minutes
Let's understand the concept with the help of an example, any application that you develop you need infrastructure where you might deploy or host your application, some storage you might also require. After a certain period of time as the number of users increases, your infrastructure needs to be scaled. Either you can deploy it manually or you can use fully managed services. But there is another way to automate the infrastructure is through the template which we generally call Infrastructure as a Code.
Infrastructure as code is used for making the configuration of your infrastructure reusable, scalable, and easy to deploy, by describing it using code called a template. In GCP, we define a template in the YAML file.
Login into GCP Console.
Creating a Template file.
Creating a Deployment to launch Compute Engine and Firewall Rule.