Cloud Blog: Announcing Terraform providers for Oracle Database@Google Cloud

Source URL: https://cloud.google.com/blog/products/databases/new-terraform-provider-for-oracle-database-at-google-cloud/
Source: Cloud Blog
Title: Announcing Terraform providers for Oracle Database@Google Cloud

Feedly Summary: 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 named project1 

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

code_block
)])]>

aside_block
<ListValue: [StructValue([(‘title’, ‘$300 in free credit to try Google Cloud databases’), (‘body’, <wagtail.rich_text.RichText object at 0x3e6ef75f39a0>), (‘btn_text’, ‘Start building for free’), (‘href’, ‘http://console.cloud.google.com/freetrial?redirectPath=/products?#databases’), (‘image’, None)])]>

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

AI Summary and Description: Yes

Summary: The text discusses the general availability of Terraform providers for deploying and managing Oracle Database resources on Google Cloud. It highlights the ease of using Terraform for Infrastructure as Code, emphasizing automated provisioning, configuration management, and consistent deployments.

Detailed Description: The text elaborates on the integration of Terraform with Google Cloud for the management of Oracle Database resources. Here are the major points extracted from the content:

– **General Availability Announcement**: Terraform providers for Oracle Database at Google Cloud are now available, allowing users to manage Oracle Autonomous Database and Oracle Exadata Database Service resources effectively.

– **Ease of Provisioning**: Users can create and configure an Oracle Autonomous Database with simple Terraform commands, making the process approachable even for those relatively new to Infrastructure as Code.

– **Example Code Explanation**:
– The setup involves detailing the VPC network where the database will reside and defines attributes such as ID, display name, location, and other configurations for the database instance.
– An example code snippet is provided, showcasing how to define VPC and ADB properties, aiding users in their deployment efforts.

– **Integration with Cloud Shell**: Users can leverage Google Cloud’s native integration with Cloud Shell to create and manage Terraform configuration files, enhancing accessibility and functionality.

– **Benefits of Using Terraform**:
– **Simplified Management**: Configuration files allow for easy management of Oracle databases and infrastructure.
– **Integrated Automation**: Tasks related to provisioning and management can be automated, reducing time and resource investment.
– **Improved Consistency**: Ensures deployments can be replicated across various environments with uniformity.
– **Error Reduction**: Decreases the likelihood of errors compared to manual configurations.
– **Collaboration**: Provides a platform for teams to work together more effectively in managing infrastructure.

– **Call to Action**: Encourages users to explore Google Cloud’s documentation for more details on using Terraform for Oracle databases.

This integration signifies a significant step toward enhancing cloud deployment strategies for organizations using Oracle Database, especially in encouraging the adoption of Infrastructure as Code practices, which is vital for security, consistency, and efficient resource management.