Skip to content

πŸ“š A repository to learn Pulumi (IaC) using OCI as IaaS provider and C# .NET as language

License

Notifications You must be signed in to change notification settings

GuilhermeStracini/hello-world-pulumi-oci-dotnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Hello World Pulumi over OCI with .NET

πŸ“š A repository to learn Pulumi, a modern Infrastructure-as-Code (IaC) tool, using OCI (Oracle Cloud Infrastructure) as the cloud provider and C# (.NET) as the programming language.


Overview

This repository demonstrates how to use Pulumi with OCI and .NET for building and managing cloud infrastructure. It includes examples for provisioning resources, configuring OCI services, and leveraging Pulumi's features for infrastructure management and automation.


Features

  • Infrastructure-as-Code (IaC):

    • Use C# to define and provision OCI resources programmatically.
    • Leverage Pulumi's type-safe SDK for .NET.
  • Oracle Cloud Infrastructure:

    • Provision and manage services like Compute, OKE (Kubernetes), VCN (Virtual Cloud Network), and more.
  • Continuous Delivery (CD):

    • Integrate with GitHub Actions using the Pulumi GitHub App for automated deployment.
  • Hands-On Examples:

    • Demonstrates key Pulumi features such as state management and multi-environment support.

Getting Started

Prerequisites

Steps

  1. Clone the Repository:

    git clone https://github.com/GuilhermeStracini/hello-world-pulumi-oci-dotnet.git
    cd hello-world-pulumi-oci-dotnet
  2. Install Dependencies:

    dotnet restore
  3. Set Up Pulumi:

    • Log in to Pulumi:
      pulumi login
    • Configure your Pulumi stack:
      pulumi config set oci:region <your-oci-region>
  4. Run the Project:

    • Preview the changes:
      pulumi preview
    • Deploy the stack:
      pulumi up
  5. Destroy the Stack (Optional):

    • Remove all provisioned resources:
      pulumi destroy

Useful Links

Explore additional resources to deepen your understanding of Pulumi and OCI:


Contribution

Contributions are welcome!
Feel free to fork this repository, open issues, or submit pull requests to enhance examples or add new ones.


License

This project is licensed under the MIT License.

About

πŸ“š A repository to learn Pulumi (IaC) using OCI as IaaS provider and C# .NET as language

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published