Announcing Terraform providers for Oracle Database@Google Cloud
Andy Colvin
Database Black Belts - Oracle on Google Cloud
Many organizations use Terraform to manage their cloud deployments through Infrastructure as Code. Today we are excited to share the general availability of Terraform providers for Oracle Database@Google Cloud. You can now deploy and manage Oracle Autonomous Database and Oracle Exadata Database Service resources using the Google Terraform provider. The release compliments the existing gcloud and Google Cloud console capabilities that we released with Oracle Database@Google Cloud at launch.
Provision Autonomous Database with Terraform
Creating an Oracle Autonomous Database on Google Cloud is as simple as defining a google_oracle_database_autonomous_database
resource and running terraform init
and terraform apply
. The below code example does the following:
-
Collects the details of VPC network where the ADB will be placed
-
In this case, we are using an existing VPC named
ora-vpc
in the GCP project namedproject1
-
Defines a new ADB named
adbtf1
with the following attributes -
ID and display name of
adbtf1
-
Region of us-east4
-
Project
project1
-
The admin password has been obfuscated
-
VPC network defined above
-
A client CIDR range of
172.16.44.0/25
-
An ECPU count of 2
-
Allocated storage of 100GB
-
Autonomous workload type of
OLTP
-
License model using Oracle's license-included SKU
Provision with ease using Google Cloud
Working with Terraform is simple on Google Cloud thanks to our native integration in Cloud Shell. Launch Cloud Shell from the Google Cloud console and create Terraform configuration files using our native editor or pull from your company's source code repository. You can even run the terraform
command directly in Cloud Shell. You'll be authenticated using your Google Cloud IAM credentials and your resources will be immediately created and synchronized according to the infrastructure as code definitions. You can see the console, editor, and Cloud Shell in action below:


Why use Terraform for your Oracle Database@Google Cloud deployments?
-
Simplified management: Define your entire Oracle Autonomous Databases or Exadata infrastructure and VM clusters in declarative configuration files.
-
Integrated automation: Automate the provisioning, configuration, and management of your Oracle Database@Google Cloud resources.
-
Improved consistency: Ensure consistent and repeatable deployments across different environments.
-
Reduced errors: Minimize manual configuration and reduce the risk of human error.
-
Enhanced collaboration: Enable teams to collaborate effectively on infrastructure management.
Ready to experience the benefits of Infrastructure as Code for Oracle Database@Google Cloud?
-
Explore the
google
provider documentation: Autonomous Database Serverless, Exadata Infrastructure and Exadata VM Clusters -
Dive into the
oci
provider documentation: Exadata Database, Database homes, and Terraform on Oracle Cloud