Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

Terraform in Action: OCI samples

Ranch Hand
Posts: 377
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Scott,

Does the book have examples for Oracle cloud?

Maybe not the resources themselves, but an approach to it?


Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello German,
I do not have any examples in the book regarding Oracle cloud. Its not because I don't feel this cloud is important, but because I only have limited space to write. I did include examples from AWS, GCP and Azure, however the book mostly uses AWS examples. The point that I try to get across in my book is that it if you know how to use Terraform then it does not matter which cloud provider you are using. Design patterns, and the way that you use Terraform are exactly the same. The OCI provider works exactly the same way as the AWS provider, except you need to be familiar with the intricacies of the Oracle Cloud as compared to the AWS Cloud. Terraform is a cloud agnostic tool that even allows you to deploy resources from multiple cloud providers as part of the same projects. Normally the resources from multiple cloud providers don't play well together, but at least it is possible.

In terms of a learning path, what I would recommend is first familiarizing yourself with Oracle and learn how to do what you need to do by pointing and clicking through the console. While you are doing this you should be making a list of resources that you used. Then you should look through the OCI provider to find the equivalent resource in Terraform. Finally, combine all the Terraform resources together into a single Terraform project and attempt to deploy. If there are any discrepancies then make note of which those are, perhaps you missed a required input variable to one of the resources. This was the method I used when learning how to use the Azure and GCP providers. I hope this helps.

Every plan is a little cooler if you have a blimp. And a tiny ad.
We need your help - Coderanch server fundraiser
    Bookmark Topic Watch Topic
  • New Topic