Categories: Oracle

ODC Appreciation Day: Terraform

First time I’m taking part of Oracle Development Community Appreciation Day which Tim Hall has created to post about technology you use daily.

My topic will be Terraform which is still fairly new technology for me after having used it only for around a year now. But what a game changer it has been!

I like to talk about how lot of Oracle products are not that cloud-native and if you want to take some benefits from the cloud with your Oracle solution you should find out ways for it. Well if you can’t do it for the actual application go with the infrastructure!

Terraform is an orchestration tool which records the state of your infrastructure. With it you can create, change and remove the infrastructure you have created and deliver whole stack as far as the provider supports by Infrastructure as Code.

Just some months Oracle Cloud Infrastructure (OCI) became also an official provider for Terraform. There are providers for all major cloud vendors AWS, GCP, Azure and for several others.

I’ve always liked coding and scripting but running Oracle databases, e-Business Suite and Oracle BI you haven’t had much possibilities for it. Some years ago we started to use Ansible but now when we are using Oracle Cloud Infrastructure I think Terraform is really the way to deploy your infrastructure and then continue with Ansible for example on those components you can’t deploy with Terraform.

If you are starting to migrate some of your workloads to OCI my recommendation is to evaluate use of Infrastructure as Code and start using it right from the start! Sure you will need to put some effort into it when you start but the benefits of versioning and automating your infrastructure come from there.

With OCI provider there are still some shortcomings but Oracle has been very active to improve the provider. Also with Terraform the version 0.12 should be coming out in October which has huge improvements how you can manage everything!

I’ve written a lot of blog posts about OCI and Terraform in the past. Here are some for further reading:

Using Oracle Cloud Infrastructure with Terraform modules

Deep dive into OCI with compartments, users, groups and policies

Create DB system to Oracle Cloud Infrastructure with Terraform

Create multiple instances with one Terraform module in Oracle Cloud Infrastructure

OCI block volumes and Terraform

Have a great ODC Appreciation Day!

 

Simo

Recent Posts

Helping to troubleshoot with OCI VCN Flow Logs

I'm a huge fan of using tools available to help troubleshoot any issues there are.…

2 days ago

OCI Routing checklist when using 3rd party firewall

This post will be checklist for items you'll need when you have Firewall (or Hub)…

1 year ago

OCI ExaCS Database Upgrade Rollback

Recently I was testing OCI database upgrade from 12c to 19c and ran into an…

1 year ago

Issues with OCI ExaCS PDB cloning

This is mostly just to document if you hit similar issues and how to get…

1 year ago

OCI Tips and Tricks – Managed MySQL Database in OCI (and trying out Heatwave)

Here I'm looking on how to provision MySQL DB on OCI, see how read replicas…

1 year ago

OCI Tips and Tricks: Create 19c Oracle Database (and manage it)

This time I go over on how to create 19c Oracle Database on OCI (hint:…

1 year ago