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, an 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 usefully manage services. But there 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 the GCP Console.
Creating a Template file.
Creating a Deployment to launch Compute Engine and Firewall Rule.