Code referenced in this post can be found from my Github page. There’s a new feature in OCI, which enables you to remote clone PDB from one database to another if certain conditions match. Right now, the databases need to be in same Availability Domain, need to be in same version and use the same…
OCI Block Volume Replication Part 2 – Automation
On the part 1 we looked on how to create new block volume on another OCI Region using the new Block Volume Replication feature. While it was really straightforward, in a real Disaster Recovery situation you might want to automate the whole process. So let’s look on that! I plan on using Terraform and OCI…
Create multiple compartments in Oracle Cloud Infrastructure with Terraform module
This time I wanted to show how simple it is to create multiple compartments with one module using Terraform 0.12. Compartments in OCI are way to separate your resources and control access on them, you can also move resources around from one compartment to another if needed. Remember one of the reasons one would like…
Create three instances with Terraform 0.12 and dynamic modules in Oracle Cloud Infrastructure
I have an old post how to create three instances in OCI with modules using Terraform 0.11 but since 0.12 came out I’ve been wanting to rewrite it to show what we can achieve with new features introduced in TF 0.12. In this post I will once again create those instances but now the modules…
OCI Autoscaling with Events Service and Terraform 0.12
Some time ago I published a post where I took a test drive with OCI Autoscaling. Now after an eventful summer I think it’s time to retest Autoscaling mainly due to some enhancements we have seen. If you want to get more details on Autoscaling then please read the older post and remarks I’ve made…
Rewriting Terraform security list configuration in OCI with Terraform 0.12
I’ve been a big fan of Terraform for quite some time but one of the things I have been complaining about has been some things which have not been possible when you use Terraform modules. Why do we use modules? It gives us a way to reuse our code so that each resource creation is…
Security in Oracle Cloud Infrastructure and why you should care less about it
I recently attended Accenture’s Oracle leadership council and was asked to speak about Oracle Cloud Infrastructure security. I’ve said that I’m definitely not an expert on security and that’s why the subject was actually a cool one to speak about! If you’ve used any of the major cloud providers (Azure, AWS, GCP) you know the…
Taking a ride with OCI autoscaling and instance pools
Some time ago Oracle Cloud Infrastructure introduced features around autoscaling and instance pools. This in short means you have an instance pool which uses image from the instance configuration you have defined. Instance pool has minimum number of instances you want to keep running and with autoscaling you can add scaling out or in depending…
Series – Get your database running with Terraform part 10: Summary
My idea on writing this guide was to provide overview what components you need when you create a database in Oracle Cloud Infrastructure. Even thought there are several components once you do it few times you get an understanding what you need and it comes a breeze to create these. Most issues I have seen…
Series – Get your database running with Terraform part 9: Database
At this point I have created everything else apart from the database. For the database we have few options starting if we would like to have Baremetal, Virtual Machine or Exadata. In this demo I’m going to create VM single-node database but I could create it as RAC database as well with two nodes. Similar…