Before creating database I will create jump host on public subnet so we will be able to access our database once it’s created. If I would have connection setup to our corporate network I could access the private subnet directly if my network configuration would allow it. This way I can limit the surface on…
Series – Get your database running with Terraform part 7: Subnets
Now we have everything else setup on the network side apart from subnets. Subnets are continuous IP address blocks which don’t overlap with any other subnet IP address block in your VCN. Things to remember: As time of writing this Oracle has released new functionality regarding subnets, regional subnets. Earlier each subnet was tied in…
Series – Get your database running with Terraform part 6: Security Lists
Before we can create the subnets we still need to create security lists. They will control what ingress and egress traffic will be allowed within subnets. I will create two security lists for this project, one for private subnet and another one for public subnet. Security lists can have have multiple rules in them and…
Series – Get your database running with Terraform part 5: Route Tables
Now when we have created IGW and NAT GW on previous post it’s time to create route tables which will send traffic outside from your VCN to the destination you require. It can be for example to your on-premise network (via DRG) or to object storage (via Service GW). Or it can be towards public…
Series – Get your database running with Terraform part 4: IGW and NAT GW
Previous part three on creating VCN can be found from here. Now let’s start with basics. What are IGW and NAT GW. Internet Gateway (IGW) in OCI is the connection point which routes your VCN traffic from and to public Internet depending on what traffic you allow through your security lists. If you use an…
Series – Get your database running with Terraform part 3: VCN
Now after we have compartment where to place resources we are ready to create Virtual Cloud Network (VCN). Since previous post was about compartments and how they logically group your resources one way to think is that a VCN groups your network resources together. You can read part 2 from here. VCN is relatively simple…
Series – Get your database running with Terraform part 2: Compartments
Read part 1 from here. What we need first is a compartment where we will create our resources. Using compartments is a way to isolate and separate access to your resources within your tenancy. In this example we will create only one compartment where we will have all our resources. If you have larger setup…
Series – Get your database running with Terraform part 1: Setup
One of my old colleague whom I had pleasure to work with many years ago asked recently if there would be guide on getting a database running on Oracle Cloud Infrastructure with Terraform using Infrastructure as Code. That led me to an idea that I could write such guide and describe each step why it’s…