{"id":18802336,"url":"https://github.com/oracle-quickstart/oci-arch-cross-tenancies","last_synced_at":"2025-04-13T18:31:33.541Z","repository":{"id":72112855,"uuid":"274209232","full_name":"oracle-quickstart/oci-arch-cross-tenancies","owner":"oracle-quickstart","description":"Deploy a cross region private connectivity between tenancies ","archived":true,"fork":false,"pushed_at":"2020-09-08T01:22:39.000Z","size":73,"stargazers_count":9,"open_issues_count":0,"forks_count":5,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-02-19T21:12:51.722Z","etag":null,"topics":["oracle-led"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oracle-quickstart.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-22T18:07:18.000Z","updated_at":"2024-06-22T02:35:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"aa854c8d-b49e-4e0f-b70f-fd65ccf8f227","html_url":"https://github.com/oracle-quickstart/oci-arch-cross-tenancies","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-quickstart%2Foci-arch-cross-tenancies","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-quickstart%2Foci-arch-cross-tenancies/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-quickstart%2Foci-arch-cross-tenancies/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-quickstart%2Foci-arch-cross-tenancies/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oracle-quickstart","download_url":"https://codeload.github.com/oracle-quickstart/oci-arch-cross-tenancies/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248760367,"owners_count":21157345,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["oracle-led"],"created_at":"2024-11-07T22:27:32.134Z","updated_at":"2025-04-13T18:31:33.532Z","avatar_url":"https://github.com/oracle-quickstart.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# oci-arch-cross-tenancies\n\nYou might have business and technical reasons to privately peer your virtual networks in the cloud and ensure that your network traffic never traverses the public internet. For example, you might want private connectivity within a region and within your organization, or with a cooperating organization.\n\nThis repository shows how to configure cross-region private connectivity by using a transit LPG between two OCI tenancies.\n\n## Terraform Provider for Oracle Cloud Infrastructure\nThe OCI Terraform Provider is now available for automatic download through the Terraform Provider Registry. \nFor more information on how to get started view the [documentation](https://www.terraform.io/docs/providers/oci/index.html) \nand [setup guide](https://www.terraform.io/docs/providers/oci/guides/version-3-upgrade.html).\n\n* [Documentation](https://www.terraform.io/docs/providers/oci/index.html)\n* [OCI forums](https://cloudcustomerconnect.oracle.com/resources/9c8fa8f96f/summary)\n* [Github issues](https://github.com/terraform-providers/terraform-provider-oci/issues)\n* [Troubleshooting](https://www.terraform.io/docs/providers/oci/guides/guides/troubleshooting.html)\n\n## Clone the Module\nNow, you'll want a local copy of this repo. You can make that with the commands:\n\n    git clone https://github.com/oracle-quickstart/oci-arch-cross-tenancies.git\n    cd oci-arch-cross-tenancies\n    ls\n\n## Prerequisites\nFirst off, you'll need to do some pre-deploy setup.  That's all detailed [here](https://github.com/cloud-partners/oci-prerequisites).\n\nSecondly, create a `terraform.tfvars` file and populate with the following information:\n\n```\n# Authentication to Tenancy A - Region 01 and Region 02\ntenancy_ocid_a         = \"tenancy ocid region A\"\nuser_ocid_a            = \"user ocid region A\"\nfingerprint_a          = \"user fingreprint A\"\nprivate_key_path_a     = \"private_key_path_region A\"\nregion_01_a            = \"ap-mumbai-1\" (you can select any other region)\nregion_02_a            = \"us-ashburn-1\" (you can select any other region)\ncompartment_ocid_a     = \"compartment ocid A\"\ncompartment_name_a     = \"compartment name A\"\n\n# Authentication to Tenancy B Region 01\ntenancy_ocid_b     = \"tenancy ocid region B\"\nuser_ocid_b        = \"user ocid region B\"\nfingerprint_b      = \"user fingreprint B\"\nprivate_key_path_b = \"\"private_key_path_region B\"\"\nregion_01_b        = \"us-ashburn-1\" (you can select any other region)\ncompartment_ocid_b = \"compartment ocid B\"\ncompartment_name_b = \"compartment name B\"\n\n# SSH Keys\nssh_public_key  = \"/ssh-keys/key.pub\"\n\n# Home Region\nhome_region_a = \"us-phoenix-1\"\nhome_region_b = \"us-ashburn-1\"\n\n````\n\nDeploy:\n\n    terraform init\n    terraform plan\n    terraform apply\n\n## Destroy the Deployment\nWhen you no longer need the deployment, you can run this command to destroy it:\n\n    terraform destroy\n\n## Web Application Architecture\n\n![](./images/cross-region.png)\n\n\n## Reference Archirecture\n\n- [Configure cross-region private connectivity between tenancies](https://docs.oracle.com/en/solutions/xregion-pvt-connectivity-oci/index.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foracle-quickstart%2Foci-arch-cross-tenancies","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foracle-quickstart%2Foci-arch-cross-tenancies","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foracle-quickstart%2Foci-arch-cross-tenancies/lists"}