Cloud Native OCI

IaC Deployment


Created with ❤ by Oracle A-Team

Infrastructure as Code

Use Infrastructure as Code (IaC) to manage any cloud, infrastructure, or service
Declarative

  resource "oci_core_virtual_network" "mushopVCN" {
    cidr_block     = "10.1.0.0/16"
    compartment_id = "${var.compartment_ocid}"
    display_name   = "mushop-${random_id.mushop_id.dec}"
    dns_label      = "mushopvcn${random_id.mushop_id.dec}"
  }
        
Write declarative configuration files to manage the full lifecycle of cloud resources
Predictable

  Terraform will perform the following actions:

  <= data.oci_database_autonomous_database_wallet.autonomous_database_wallet
  id:                      <computed>
  autonomous_database_id:  "${oci_database_autonomous_database.mushop_autonomous_database.id}"
  base64_encode_content:   "false"
  content:                 <computed>
  password:                <sensitive>
  # ...
  Plan: 33 to add, 0 to change, 0 to destroy.
        
Declarative infrastructure makes it easy to deploy and modify your application resources
Reproducible
Dev
Prod
OCI
Removes the complexity and burden of managing reproducible infrastructure across environments

OCI Resource Manager

Resource Manager is a managed service that can provision all Oracle Cloud Infrastructure resources and services. Resource Manager reduces configuration errors and increases productivity by managing IaC using industry standard Hashicorp Terraform


ORM
job
Terraform
infrastructure
state
Object Storage

MuShop IaC

  • MuShop Basic
  • Infrastructure
  • Application
  • Try It!
  • As an IaC example, we offer a "simplified" deployment of MuShop using core infrastructure "Always Free" resources

    • A 3-tier reference app built to showcase the Oracle Cloud Infrastructure's Always Free tier
    • Real world 3-tier architecture using Micro instances, ATP, Load Balancing and more
    • Open Source and deployed as an Oracle Resource Manager Stack or Terraform configuration
  • Shown below is the OCI infrastructure diagram created by this Resource Manager Stack
  • Deployment uses a simplified application runtime
  • Instructions are best if followed directly from GitHub!

Resources

Version: 1.8.0
Build: 2022-02-17T05:02:17Z
© 2022, Oracle and/or its affiliates. All rights reserved.