Skip to content

Commit 74d0233

Browse files
more updates for cloudbank v4 (#926)
* clarify free tier vs big/small * Remove parse images * spelling & linting * README update and SB 3.3.3 --------- Signed-off-by: Mark Nelson <mark.x.nelson@oracle.com> Co-authored-by: Andy Tael <andy.tael@yahoo.com>
1 parent 1d21016 commit 74d0233

12 files changed

+38
-42
lines changed

cloudbank-v4/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# CloudBank Version 3.2
1+
# CloudBank Version 4 - 8/30/24
22

33
**NOTE:** This document and application is WIP.
44

5-
To run Cloud Bank you need OBaaS version 1.2.0 [Oracle Backend for Spring Boot and Microservices](https://cloudmarketplace.oracle.com/marketplace/en_US/listing/138899911) and Java 21 installed.
5+
To run Cloud Bank you need OBaaS version 1.3.0 [Oracle Backend for Spring Boot and Microservices](https://cloudmarketplace.oracle.com/marketplace/en_US/listing/138899911) and Java 21 installed.
66

77
## Build CloudBank
88

@@ -12,10 +12,10 @@ To run Cloud Bank you need OBaaS version 1.2.0 [Oracle Backend for Spring Boot a
1212
git clone https://github.com/oracle/microservices-datadriven.git
1313
```
1414

15-
1. Got to the `CloudBank-v32` directory
15+
1. Got to the `cloudBank-v4` directory
1616

1717
```shell
18-
cd microservices-datadriven/cloudbank-v32
18+
cd microservices-datadriven/cloudbank-v4
1919
```
2020

2121
1. Build CloudBank
@@ -40,8 +40,8 @@ To run Cloud Bank you need OBaaS version 1.2.0 [Oracle Backend for Spring Boot a
4040
[INFO] ------------------------------------------------------------------------
4141
[INFO] BUILD SUCCESS
4242
[INFO] ------------------------------------------------------------------------
43-
[INFO] Total time: 10.160 s
44-
[INFO] Finished at: 2024-01-12T10:41:10-06:00
43+
[INFO] Total time: 9.437 s
44+
[INFO] Finished at: 2024-08-30T10:57:14-05:00]
4545
[INFO] ------------------------------------------------------------------------
4646
```
4747

@@ -67,8 +67,8 @@ To run Cloud Bank you need OBaaS version 1.2.0 [Oracle Backend for Spring Boot a
6767
\_/ |_) (_| (_| __) \_ |_ _|_
6868
========================================================================================
6969
Application Name: Oracle Backend Platform :: Command Line Interface
70-
Application Version: (1.1.1)
71-
:: Spring Boot (v3.2.1) ::
70+
Application Version: (1.3.0)
71+
:: Spring Boot (v3.3.3) ::
7272
Ask for help:
7373
- Slack: https://oracledevs.slack.com/archives/C03ALDSV272
7474
- email: obaas_ww@oracle.com
@@ -84,7 +84,7 @@ To run Cloud Bank you need OBaaS version 1.2.0 [Oracle Backend for Spring Boot a
8484
CloudBank can be deployed using the `--script` command in `oractl`. CloudBank will be deployed in the namespace `application`. You are going to be asked for passwords when the `bind` command executes.
8585
8686
```text
87-
oractl:>script --file deploy-cmds/deploy-cb.txt
87+
oractl:>script --file deploy-cmds/deploy-cb-java21.txt
8888
```
8989
9090
The output should look similar to this:

cloudbank-v4/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<parent>
99
<groupId>org.springframework.boot</groupId>
1010
<artifactId>spring-boot-starter-parent</artifactId>
11-
<version>3.3.2</version>
11+
<version>3.3.3</version>
1212
<relativePath/> <!-- lookup parent from repository -->
1313
</parent>
1414

docs-source/cloudbank/content/cleanup/uninstall-local.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ weight = 2
66

77
> **Note:** These steps apply only if you chose the option to install in a local container.
88
9-
10-
119
1. Stop the local container using this command:
1210

1311
```bash
@@ -21,4 +19,3 @@ weight = 2
2119
```bash
2220
docker rm obaas
2321
```
24-

docs-source/cloudbank/content/cleanup/uninstall-mp.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,3 @@ If the Terraform Destroy job fails, re-run the Destroy job again after a few min
3131
Even after the Destroy job has finished there will be one resource left in the tenancy/compartment and that is an OCI Vault. The Vault is on `PENDING DELETION` mode.
3232

3333
![OCI Vault](../images/vault.png " ")
34-
Binary file not shown.
Binary file not shown.
Binary file not shown.

docs-source/cloudbank/content/provision/install-free-trial.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ This option allows you to run Oracle Backend for Spring Boot and Microservices i
88

99
> **Note:** You only need to choose one of the three deployment options - local, OCI Free Tier or OCI Marketplace.
1010
11+
You can also use this approach in any regular commercial Oracle Cloud Tenancy - just skip the first step and start at step 2!
12+
1113
1. Get an Oracle Cloud Free Tier account
1214

1315
If you do not already have one, you can obtain an Oracle Cloud Free Tier account as follows:

docs-source/cloudbank/content/provision/install-local.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ weight = 2
77

88
This option allows you to run Oracle Backend for Spring Boot and Microservices in a containerized
99
environment on your local machine. This option is recommended if you do have enough
10-
free capacity on your local machine to run the environment, a minimum of 64GB RAM and 80GB free disk are recommneded.
11-
This option provides an environment with adequeate resources for development and testing, but
10+
free capacity on your local machine to run the environment, a minimum of 64GB RAM and 80GB free disk are recommended.
11+
This option provides an environment with adequate resources for development and testing, but
1212
is not suitable for a production-sized deployment or performance testing.
1313

1414
> **Note:** You only need to choose one of the three deployment options - local, OCI Free Tier or OCI Marketplace.
1515
1616
1. Prerequisites
1717

18-
The following prerequisites are required to run the local environment:
18+
The following prerequisites are required to run the local environment:
1919

2020
* A container runtime environment such as Docker Desktop, Rancher Desktop or Podman Desktop.
2121
* The ability to run a BASH script, or to read one and run equivalent commands in your environment.
@@ -38,12 +38,12 @@ is not suitable for a production-sized deployment or performance testing.
3838
1. Start the environment
3939

4040
* Run the provided script to start the environment, including a Kubernetes cluster in a container (using k3s), Oracle Backend
41-
for Spring Boot and Microservices and an Oracle Database instance inside that cluster.
41+
for Spring Boot and Microservices and an Oracle Database instance inside that cluster.
4242

4343
```bash
4444
./obaas.sh
4545
```
46-
46+
4747
* It will take approximately six to ten minutes (depending on the size of your machine) for all of the containers
4848
to reach ready/running state. You can watch the progress using this command:
4949

@@ -53,10 +53,9 @@ is not suitable for a production-sized deployment or performance testing.
5353

5454
> **Note:** You will need to provide the `KUBECONFIG` variable as shown, or export it in your shell, each time you wish to run a `kubectl` command to access the cluster.
5555

56-
When the environment is fully started, the output will appear similar to this:
57-
58-
![Completed startup](../images/install-free-tier-2.png " ")
56+
When the environment is fully started, the output will appear similar to this:
5957

58+
![Completed startup](../images/install-free-tier-2.png " ")
6059

6160
1. Verify access to web user interfaces
6261

@@ -71,4 +70,4 @@ is not suitable for a production-sized deployment or performance testing.
7170

7271
* The Spring Operations Center main dashboard will appear similar to this:
7372

74-
![Spring Operations Center](../images/install-free-tier-5.png " ")
73+
![Spring Operations Center](../images/install-free-tier-5.png " ")

docs-source/cloudbank/content/provision/install-mp.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ The Oracle Backend for Spring Boot and Microservices can be installed from OCI M
88

99
> **Note:** You only need to choose one of the three deployment options - local, OCI Free Tier or OCI Marketplace.
1010
11+
This option installs a "production-sized" environment which includes an Oracle Compute Engine for Kubernetes ("OKE")
12+
cluster and an Oracle Autonomous Database instance. If you want to use a smaller, development/test-sized environment
13+
that only requires a single OCI Compute Instance, please use the "Free Tier" option instead.
14+
1115
1. Access the Oracle Cloud Infrastructure Marketplace listing
1216

1317
Open the [OCI Marketplace listing](https://cloudmarketplace.oracle.com/marketplace/en_US/listing/138899911), as shown in the image below:

docs-source/cloudbank/content/provision/intro.md

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,29 +16,28 @@ This module provides three options for running the environment:
1616

1717
- **Locally in a container** - you will need a container platform like Docker Desktop, Rancher Desktop, Podman Desktop or similar.
1818
This option is recommended only if you have at least 64GB of RAM. With less memory this option will probably be too slow.
19-
- In a **compute instance in an Oracle Cloud Free Tier** account. You can sign up for an [Oracle Cloud Free Tier account here](https://signup.cloud.oracle.com/).
20-
This account will include enough free credits to run CloudBank.
21-
- In a commercial **Oracle Cloud tenancy**. If you have a commercial tenancy with sufficient capacity and
22-
privileges, you can run the full production-sized installation. This can be installed from the OCI Marketplace
23-
using the instructions in Module 1. Check the instructions for a more detailed list of requirements.
19+
- In a single compute instance in either an **Oracle Cloud Free Tier** account or any commercial OCI Cloud tenancy. You can sign up for an [Oracle Cloud Free Tier account here](https://signup.cloud.oracle.com/). This account will include enough free credits to run CloudBank. You can also use this option to run a lightweight, single compute instance environment in any Oracle Cloud tenancy.
20+
- The full production-sized installation from OCI Marketplace in a commercial **Oracle Cloud tenancy**. If you have a commercial
21+
tenancy with sufficient capacity and privileges, you can run the full production-sized installation. This can be installed from
22+
the OCI Marketplace using the instructions in Module 1. Check the instructions for a more detailed list of requirements.
2423

2524
Regardless of which option you choose, the remainder of the modules will be virtually identical.
2625

2726
### Objectives
2827

2928
In this lab, you will:
3029

31-
* Provision an instance of Oracle Backend for Spring Boot and Microservices, either locally or in the cloud.
30+
- Provision an instance of Oracle Backend for Spring Boot and Microservices, either locally or in the cloud.
3231

3332
### Prerequisites
3433

3534
This module assumes you have either:
3635

37-
* An Oracle Cloud account in a tenancy with sufficient quota and privileges to create:
38-
* An OCI Container Engine for Kubernetes cluster, plus a node pool with three worker nodes
39-
* A VCN with at least two public IP’s available
40-
* A public load balancer
41-
* An Oracle Autonomous Database - Shared instance
42-
* At least one free OCI Auth Token (note that the maximum is two per user), or
43-
* An Oracle Cloud Free Tier account, or
44-
* A local machine with enough memory (64GB recommneded) to run the environment locally.
36+
- An Oracle Cloud account in a tenancy with sufficient quota and privileges to create:
37+
- An OCI Container Engine for Kubernetes cluster, plus a node pool with three worker nodes
38+
- A VCN with at least two public IP’s available
39+
- A public load balancer
40+
- An Oracle Autonomous Database - Shared instance
41+
- At least one free OCI Auth Token (note that the maximum is two per user), or
42+
- An Oracle Cloud Free Tier account, or
43+
- A local machine with enough memory (64GB recommended) to run the environment locally.

docs-source/cloudbank/content/springai/_index.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,4 @@ title = "CloudBank AI Assistant"
44
weight = 6
55
+++
66

7-
This modules introduces [Spring AI](https://github.com/spring-projects/spring-ai)
8-
and explores how it can be used to build a CloudBank AI Assistant (chatbot) that will
9-
allow users to interact with CloudBank using a chat-based interface.
10-
In this module, you will learn about Retrieval Augmented Generation, Vector
11-
Database and AI Agents.
7+
This modules introduces [Spring AI](https://github.com/spring-projects/spring-ai) and explores how it can be used to build a CloudBank AI Assistant (chatbot) that will allow users to interact with CloudBank using a chat-based interface. In this module, you will learn about Retrieval Augmented Generation, Vector Database and AI Agents.

0 commit comments

Comments
 (0)