Exploring GCP With Terraform: VPC Firewall Rules, part 2

This post would be 3rd part of the series about exploring GCP with Terraform. In the previous part, I created VPC networks, subnets, and a few firewall rules. In this part, I will explore more firewall rules and their parameters. More precisely, I’ll set up three VPCs: back-office, services and storage. In VPC back_office, I’ll have two subnets; in others, I’ll have one subnet. For the sake of conversation, imagine that VMs in the back-office have to call VMs in services and storage....

August 28, 2023 · 13 min · Robert Nemet

Exploring GCP With Terraform: VPCs, Firewall Rules And VMs

This post will continue my previous post Exploring GCP With Terraform: Setting Up The Environment And Project. In this post, I’ll: Create VPC with Terraform Create subnets/firewall rules Create VMs in the VPC How to access to VMs from outside and inside the VPC Info Also, I’ll mention how to use gcloud to fetch information about created resources. At the end, I’ll mention two useful Terraform CLI commands. And why I’m structuring the project as I do....

August 20, 2023 · 11 min · Robert Nemet

Exploring GCP With Terraform: Setting Up The Environment And Project

This topic is nothing new. There are many articles and tutorials on the internet about this. I’ll be setting up a Terraform project to explore GCP. I cover the basics of Terraform and GCP. Warning I replaced the real project ID with project-id in the following examples. You need to replace it with your project ID. Prerequisites Create GCP Project First, you must create a GCP account, then create a project and set up billing on that project....

August 16, 2023 · 14 min · Robert Nemet