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 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…
Different environments and Terraform workspaces with Oracle Cloud Infrastructure
While we want to provision most of the things through Infrastructure as Code and use Terraform with our Oracle Cloud Infrastructure we also had to make sure each change will be properly tested before moving to production. So what is a convenient way of deploying your infrastructure with different variables to different environments? If you…
OCI block volumes and Terraform
So we already know how to spin up instances with and without Terraform but what about when you need to attach a block volume to your fresh instance which you’ve created? You have an option to login to console and just add either paravirtualized or iscsi volume to your compute instance. If you add paravirtualized…
Should I use tags in Oracle Cloud Infrastructure?
In Oracle Cloud Infrastructure you have two options to tag your resources, defined tags which are setup by your administrator or free form tags which can be applied by any user who has access to a resource. So why should you tag resources? In my opinion when you start your OCI project this is definitely…
Create DB system to Oracle Cloud Infrastructure with Terraform
One of the most important areas with Oracle Cloud Infrastructure is that you can utilize Oracle databases easily as part of your infrastructure. There are different options how you can provision the databases but as Terraform is the supported orchestration tool with OCI you should investigate if using it is feasible for your project. This…