Code Monkey home page Code Monkey logo

fs-cloud-terraform's Introduction

Infrastructure as Code: IBM Cloud for Financial Services VPC + ROKS Reference Automation

This repository contains terraform code to create a minimum Red Hat OpenShift cluster in a VPC that conforms to the FS Cloud reference architect.

Terraform Reference Topology

The internal registry for Red Hat OpenShift managed on IBM Cloud uses object storage for persistence. This code will also create a Cloud Object Storage instance in the resource group used for the OpenShift Cluster.

General Requirements

Same for every pattern, the requirements are documented in the Environment Setup. It includes:

  • Create an IBM Cloud User Account
  • Create separate IBM Cloud accounts for development and production
  • Create and name a single GitHub repository (repo) for your Terraform (TS) project
  • Create a local workspace on your computer for the Github repository
  • Install Visual Studio’s to configure your TF modules
  • Use the IBM Cloud user account to access IBM Cloud Schematics

Using Visual Studio Code

  • Create a public Github repository for the below work
  • Launch Visual Studio Code (VSC) and launch a new VSC terminal
  • In the VSC terminal type “pwd”
  • Cd down into “github”
  • Type in mkdir “fss-cloud”
  • Cd down to fss-cloud
  • Open up VSC, then clone the fss-cloud-automation repo into the working directory fss-cloud
  • Setup your push & pull Github account in VSC
  • Make the necessary changes to the TF modules, and any other files
    1. Commit the changes and push to GitHub

How to use IBM Cloud Schematics

  • Log into IBM Cloud and access Schematics
  • Switch to the IBM Cloud account where you wish to create Schematics Workspace
  • In Schematics, create your Workspace
  • Name the Workspace, add a tag, select your resource group (if you haven’t, create one or use the default)
  • Select your region and add in the description for the Schematics Workspace and then choose Create
  • Add in your fss-cloud, Terraform, Github repository in the Schematics URL section
  • Select Terraform version _v0.12 and Save template information
  • For the Variables section, add any custom variables to override the TF modules and click Save Changes
  • In Schematics, click on Generate plan at the top. If the plan is successful you can click on Apply Plan
  • If the Schematics Apply plan was unsuccessful, review the logs to fix the issues
  • In IBM Cloud, choose the hamburger menu and choose Resource List, to review your deployments

fs-cloud-terraform's People

Contributors

anthfuller avatar

Watchers

James Cloos avatar Bobby Woolf avatar  avatar Anand Awasthi avatar Matthew Perrins avatar  avatar

Forkers

tonyfieit

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.