Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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)

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