https://github.com/oracle-quickstart/oci-arch-dev-test-compartment
Isolate multi-tier and cross-regional development environments by using compartments
https://github.com/oracle-quickstart/oci-arch-dev-test-compartment
oracle-led
Last synced: 2 months ago
JSON representation
Isolate multi-tier and cross-regional development environments by using compartments
- Host: GitHub
- URL: https://github.com/oracle-quickstart/oci-arch-dev-test-compartment
- Owner: oracle-quickstart
- License: upl-1.0
- Archived: true
- Created: 2020-10-01T20:03:48.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-01-14T21:58:16.000Z (over 4 years ago)
- Last Synced: 2025-02-19T21:12:45.519Z (4 months ago)
- Topics: oracle-led
- Language: HCL
- Homepage:
- Size: 116 KB
- Stars: 1
- Watchers: 8
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# oci-arch-dev-test-compartment
This reference architecture shows how to use compartments to design and configure different environments on Oracle Cloud Infrastructure and how to provision resources to support software development and the release life cycle.
The architecture uses a multi-tier web application as a reference point while allocating resources across different organizations within an enterprise to illustrate the implementation.
## Terraform Provider for Oracle Cloud Infrastructure
The OCI Terraform Provider is now available for automatic download through the Terraform Provider Registry.
For more information on how to get started view the [documentation](https://www.terraform.io/docs/providers/oci/index.html)
and [setup guide](https://www.terraform.io/docs/providers/oci/guides/version-3-upgrade.html).* [Documentation](https://www.terraform.io/docs/providers/oci/index.html)
* [OCI forums](https://cloudcustomerconnect.oracle.com/resources/9c8fa8f96f/summary)
* [Github issues](https://github.com/terraform-providers/terraform-provider-oci/issues)
* [Troubleshooting](https://www.terraform.io/docs/providers/oci/guides/guides/troubleshooting.html)## Clone the Module
Now, you'll want a local copy of this repo. You can make that with the commands:git clone https://github.com/oracle-quickstart/oci-arch-dev-test-compartment.git
cd oci-arch-dev-test-compartment
ls## Prerequisites
First off, you'll need to do some pre-deploy setup. That's all detailed [here](https://github.com/cloud-partners/oci-prerequisites).Secondly, create a `terraform.tfvars` file and populate with the following information:
```
# Authentication
tenancy_ocid = ""
user_ocid = ""
fingerprint = ""
private_key_path = ""# SSH Keys
ssh_public_key = ""# Region
region = ""# Compartment
compartment_ocid = ""````
Deploy:
terraform init
terraform plan
terraform apply## Destroy the Deployment
When you no longer need the deployment, you can run this command to destroy it:terraform destroy
## Compartment Design Architecture

## Reference Archirecture
- [Isolate multi-tier and cross-regional development environments by using compartments](https://docs.oracle.com/en/solutions/design-dev-test-on-oci/)