This crawl, walk, run framework leverages our experiences and best practices in assisting ISV organizations around the world adopting OCI. This project is open source and maintained by Oracle Corp.
In the span of a few days or hours, the code examples provided here establish an easy to understand path to gaining operational proficiency in OCI, including the vast majority components required to build and operate your software. Use as little or as much as you find useful here to shorten your time to market, we welcome the collaboration.
Why bother with creating all the infrastructure manually, or creating all the terraform code from scratch when the only thing that you will have to modify in order to achieve the desired infrastructure is a terraform.tfvars file?
DISCLAIMER:: The code examples provided here are not an alternative to training/enablement activities or reviewing the OCI documentation. Users are expected to be comfortable operating on the linux command line and have familiarity with Public Cloud concepts and tools including Terraform.
- OCI Tenancy
- Workstation with Terraform installed or quickly spin up Oracle Cloud Developer Image from OCI Marketplace available directly through Console
Before working through the examples, set up a config file with the required credentials on your Workstation or Instance described in Dependencies. See SDK and Tool Configuration for instructions.
The examples are organized as follows:
Type | Description | Components |
---|---|---|
Crawl | Independent examples for OCI's basic resources | adw_atp, dbaas, iam, instances, network |
Walk | Independent examples for OCI's advanced resources | dns, fss, instance-principal, load-balancer, object-storage |
Free Tier | Contains the always free components | 1 Instance, 1 LB, 1 Network, 1 ATP, 1 Object Storage Bucket |
Enterprise Tier | Starting point for all automations | Contains all crawl and walk terraform components |
Run | Different examples that may help you get proficient experience on OCI. | glusterfs, grafana, asg, kms, waas, fss-redudancy |
Network Architectures | Contains network architecture examples | N Tier Web App, SaaS Isolated/Shared |
Developer Tools | Contains developer tools examples | OKE, API Gateway, Functions, Marketplace Instances, Notifications, Alarms |
All of the examples contained detailed documentation on how they work. Please refer first to
All the phases will need an oci provider which can be defined in the terraform.tfvars or *.auto.tfvars file in every component and the values must reflect your OCI tenancy:
provider_oci = {
tenancy = ""
user_id = ""
fingerprint = ""
key_file_path = ""
region = ""
}