{"id":51116527,"url":"https://github.com/oracle-devrel/terraform-oci-arch-asp-net","last_synced_at":"2026-06-24T22:30:34.007Z","repository":{"id":61252400,"uuid":"467111575","full_name":"oracle-devrel/terraform-oci-arch-asp-net","owner":"oracle-devrel","description":"terraform-oci-arch-asp-net","archived":false,"fork":false,"pushed_at":"2025-01-21T20:22:28.000Z","size":1166,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":8,"default_branch":"main","last_synced_at":"2026-04-21T15:40:13.430Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"upl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oracle-devrel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-07T13:44:58.000Z","updated_at":"2025-01-21T20:22:32.000Z","dependencies_parsed_at":"2024-05-16T17:30:50.681Z","dependency_job_id":"33d4d827-dfd6-4a3d-9d3f-da181e8223fa","html_url":"https://github.com/oracle-devrel/terraform-oci-arch-asp-net","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":"oracle-devrel/repo-template","purl":"pkg:github/oracle-devrel/terraform-oci-arch-asp-net","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-devrel%2Fterraform-oci-arch-asp-net","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-devrel%2Fterraform-oci-arch-asp-net/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-devrel%2Fterraform-oci-arch-asp-net/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-devrel%2Fterraform-oci-arch-asp-net/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oracle-devrel","download_url":"https://codeload.github.com/oracle-devrel/terraform-oci-arch-asp-net/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-devrel%2Fterraform-oci-arch-asp-net/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34752465,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2026-06-24T22:30:33.716Z","updated_at":"2026-06-24T22:30:33.991Z","avatar_url":"https://github.com/oracle-devrel.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terraform-oci-arch-asp-net\n\n[![License: UPL](https://img.shields.io/badge/license-UPL-green)](https://img.shields.io/badge/license-UPL-green) [![Quality gate](https://sonarcloud.io/api/project_badges/quality_gate?project=oracle-devrel_terraform-oci-arch-tomcat-autonomous)](https://sonarcloud.io/dashboard?id=oracle-devrel_terraform-oci-arch-tomcat-autonomous)\n\nFor details of the architecture, see [_Deploy highly available ASP.Net applications on Oracle Cloud Infrastructure_](https://docs.oracle.com/en/solutions/deploy-an-oci/index.html)\n\n![](./images/ha-aspnet-oci-arch.png)\n\n## Introduction\n\nThis repository provides a minimal example of how to quickly setup an automated deployment pipeline for ASP .NET applications on Oracle Cloud Infrastructure. Here we showcase a simple ASP .NET application, and provide the scaffolding to \n- Create the target infrastructure using automation \n- Automate the build process based on source control triggers\n- Deploy the application after a build to the target infrastructure. \n\n## The Example Application\n\nThe example application is a simple ASP.NET sample that can be replaced with your own applications of any complexity. The processes to automate the build and the deployment of the application remains the same and is the core focus of this project.\n\n## Build and Deployment Automation\n\nTo demonstrate build and deployment automation while keeping dependencies to a minimum, this project uses GitHub workflows as the build and deployment tool. The same processes or commands can be executed from any build and deployment system to get similar results.\nIn this example, the build is triggered by a commit to the repository or a pull request. The workflow when triggered, will build the application. The built binaries are packaged and terraform is started to update the infrastructure and deploy the application. The OCI API key are managed as GitHub secrets. \n\n### Authenticating against your own Tenancy\n\nOnce you clone this repository, you need to configure your API keys before you can successfully deploy an application on to your own tenancy. These API keys lets the automation authenticate against your tenancy and perform the deployment of infrastructure resources or applications. Once you cone this repository, perform these steps to setup your API key :\n- Navigate to **Settings \u003e Secrets** \n- Click on **New Repository Secret**\n- Add your OCI key as `OCI_KEY_FILE`\n- Update the `terraform.tfvars` file with your tenancy information.\n\n## Infrastructure Automation\n\nThis project uses Terraform and Oracle Resource Manager, a service on OCI that can manage your terraform based deployments for development teams. While the use of Resource Manager is optional, it is highly recommended for development teams. \nThe infrastructure is expressed as code and terraform, through the Oracle resource manager, creates, updates or destroys the infrastructure components based on the configurations expresses though the terraform code.  This also implicitly version controls infrastructure changes as well, making it easier to track changes to infrastructure and the associated code changes (since infrastructure is managed as code). \n\n### Deploy Using Oracle Resource Manager\n\nTo deploy this solution using Oracle Resource Manager, click on the deployment button below to start the deployment in your oracle cloud infrastructure tenancy.\n\n[![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?region=home\u0026zipUrl=https://github.com/oracle-devrel/terraform-oci-arch-asp-net/releases/latest/download/terraform-oci-arch-asp-net-stack-latest.zip)\n\nAlternatively, you can download the stack for this solution from the **Releases** a section of this repository. Navigate to Oracle resource manager in the Oracle Cloud Infrastructure console. Here import the zip file as a new resource manager stack. You can now perform terraform actions like plan or apply.\n\n### Deploy Using the Terraform CLI\n\n#### Clone the Module\n\nNow, you'll want a local copy of this repo. You can make that with the commands:\n\n```\n    git clone https://github.com/oracle-devrel/terraform-oci-arch-asp-net.git\n    cd terraform-oci-arch-asp-net/\n    ls\n```\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\nCreate a `terraform.tfvars` file, and specify the following variables:\n\n```\n# Authentication\ntenancy_ocid         = \"\u003ctenancy_ocid\u003e\"\nuser_ocid            = \"\u003cuser_ocid\u003e\"\nfingerprint          = \"\u003cfinger_print\u003e\"\nprivate_key_path     = \"\u003cpem_private_key_path\u003e\"\n\n# Region\nregion = \"\u003coci_region\u003e\"\n\n# Compartment\ncompartment_ocid = \"\u003ccompartment_ocid\u003e\"\n\n# instance_password\ninstance_password = \"\u003cinstance_password\u003e\"\n\n```\n\n#### Create the Resources\nRun the following commands:\n\n    terraform init\n    terraform plan\n    terraform apply\n\n\n#### Testing your Deployment\nAfter the deployment is finished, you can access the test ASP.NET Application using the loadbalancer IP address which is created as an output key called lb_public_ip.\n\n````\nlb_public_ip = 193.122.198.19\n\n`````\n\nThen copy it into Web browser. Here is the example of the succesfull outcome:\n\n![](./images/app_in_browser.png)\n\n### Destroy the Deployment\nWhen you no longer need the deployment, you can run this command to destroy the resources:\n\n    terraform destroy\n\n## Contributing\nThis project is open source.  Please submit your contributions by forking this repository and submitting a pull request!  Oracle appreciates any contributions that are made by the open source community.\n\n## Attribution \u0026 Credits\nInitially, this project was created and distributed in [GitHub Oracle QuickStart space](https://github.com/oracle-quickstart/oci-asp-net). For that reason, we would like to thank all the involved contributors enlisted below:\n- vrmurthy (https://github.com/vrmurthy)\n- Jeevan Joseph (https://github.com/jeevanjoseph) \n- Lukasz Feldman (https://github.com/lfeldman)\n- Hassan Ajan (https://github.com/haj)\n- Ben Lackey (https://github.com/benofben)\n\n\n## License\nCopyright (c) 2024 Oracle and/or its affiliates.\n\nLicensed under the Universal Permissive License (UPL), Version 1.0.\n\nSee [LICENSE](LICENSE.txt) for more details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foracle-devrel%2Fterraform-oci-arch-asp-net","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foracle-devrel%2Fterraform-oci-arch-asp-net","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foracle-devrel%2Fterraform-oci-arch-asp-net/lists"}