Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oracle-quickstart/oci-dotnet
QuickStart ASP.Net on OCI with Terraform scripts (Includes ORM Stack)
https://github.com/oracle-quickstart/oci-dotnet
asp-net-core blazorserver dotnet dotnet-core webapp
Last synced: about 1 month ago
JSON representation
QuickStart ASP.Net on OCI with Terraform scripts (Includes ORM Stack)
- Host: GitHub
- URL: https://github.com/oracle-quickstart/oci-dotnet
- Owner: oracle-quickstart
- License: upl-1.0
- Created: 2021-01-29T23:19:20.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-02T05:24:04.000Z (almost 4 years ago)
- Last Synced: 2024-11-07T22:35:09.911Z (3 months ago)
- Topics: asp-net-core, blazorserver, dotnet, dotnet-core, webapp
- Language: HCL
- Homepage:
- Size: 23.4 KB
- Stars: 1
- Watchers: 10
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: security-lists.tf
Awesome Lists containing this project
README
# oci-dotnet
QuickStart ASP.Net on OCI with Terraform scripts (Includes ORM Stack)
## Deploy Using Oracle Resource Manager
1. Click [![Deploy to Oracle Cloud][magic_button]][magic_dotnet_stack]
If you aren't already signed in, when prompted, enter the tenancy and user credentials.
1. Review and accept the terms and conditions.
1. Select the region where you want to deploy the stack.
1. Follow the on-screen prompts and instructions to create the stack.
1. After creating the stack, click **Terraform Actions**, and select **Plan**.
1. Wait for the job to be completed, and review the plan.
To make any changes, return to the Stack Details page, click **Edit Stack**, and make the required changes. Then, run the **Plan** action again.
1. If no further changes are necessary, return to the Stack Details page, click **Terraform Actions**, and select **Apply**.
## Deploy Using the Terraform CLI
### 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-dotnet.git
cd oci-dotnet
ls### Set Up and Configure Terraform
1. Complete the prerequisites described [here](https://github.com/cloud-partners/oci-prerequisites).
1. Create a `terraform.tfvars` file, and specify the following variables:
```
# Authentication
tenancy_ocid = ""
user_ocid = ""
fingerprint = ""
private_key_path = ""# Region
region = ""# Compartment
compartment_ocid = ""````
### Create the Resources
Run the following commands:
terraform init
terraform plan
terraform apply### Destroy the Deployment
When you no longer need the deployment, you can run this command to destroy the resources:
terraform destroy
[magic_button]: https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg
[magic_dotnet_stack]: https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/oracle-quickstart/oci-dotnet/releases/latest/download/oci-dotnet-stack-latest.zip