This terraform stack deploys OCI resources needed to operationalize ML models using MLOps methodology for bank loan application use case. Data Scientists will be able to develop and train ML models using OCI Data Science and manage the ML models using Model Catalog. When a new model is committed to Model Catalog, OCI DevOps build pipeline will be triggered automatically to package the ML model into container then the model will be deployed and tested in the test OKE environement before publishing to production enviroment when it's approved by a release manager. The API GW will be interfacing with the model endpoint and served as public endpoint for external integration. APEX is used as the frontend for bank loan application and the Smart Approval feature makes use of the ML model to predict the eligibility of the loan.
- Users with
"manage"
permission for the resources listed in this section. Refer Common Policies for adding the required permissions for these resources. - Enough service limits and quota in the tenancy and compartment.
- Create auth token. Refer to this link
- Convert auth token to base64 using this link
- [Optional] Obtain IDSC access token from IDSC Admin Portal for OAC deployment.
These OCI resources will be deployed by this stack:
- Core Resources
- VCN x3
- Internet GW x3
- Service GW x2
- NAT GW x2
- Route Table x5
- Subnets x7
- Security List x6
- Kubernetes
- OKE cluster x2
- OKE node pool x2
- ADB x1
- API
- API GW x2
- API Deployment x2
- APM
- APM Domain x1
- Synthetics Monitor x2
- Container Registry x3
- Data Science
- Data Science Project x1
- Data Science Notenbook Session x1
- DevOps
- DevOps Project x1
- Environment x3
- Artifacts x4
- Code Repository x1
- Build Pipeline x1
- Build Stages x2
- Deployment Pipeline x1
- Deployment Stages x5
- Events x1
- Functions
- Application x2
- Functions x2
- Oracle Analytic Cloud x1
- Object Storage
- Bucket x1
- Object x2
- KMS
- Vault x1
- Key x1
- Vault secret x1
- In case if you don't have the administrator access, make sure that you create the dynamic group and IAM policy in the root compartment as described in the stack output section
- Add the content of this repository into the repository created in the OCI devops project