You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+74-10Lines changed: 74 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,26 +39,25 @@ Ensure that you are familiar with the "Important Deployment Considerations" loca
39
39
40
40

41
41
42
-
* Select "Create new" and input IBM Cloud Project details.
43
-
- Name and description. eg: "Retrieval Augmented Generation Pattern"
44
-
- Region and resource group for the project. Note that this is the region and resource group where the runtime (IBM Cloud Schematics) executiong the automationcode is located. You can still deploy the resources to any region, any resource group, and any account.
45
-
- Configuration name - for example: "dev" or "prod".
42
+
* Select **Create new** and enter the following details:
43
+
- Name and Description (e.g., "Retrieval Augmented Generation Pattern")
44
+
- Region and Resource Group for the project (central hub for IaC automation, where code is run, with separate deployment options for provisioned infrastructure later)
45
+
- Configuration Name (name of the automation in the project, e.g., "dev" or "prod", ideally matching the deployment target, but this can be any name)
46
46
47
47

48
48
49
-
* Click "Add" to complete.
49
+
* Click the **Add** button (or **Create** if this is the first project in the account) at the bottom right of the modal popup to complete.
50
50
51
51
## 3. Set the Input Configuration for the Stack
52
52
53
53
After completing `Step 2 - Deploy the Stack in a New Project from Catalog`, you are directed to a page allowing you to enter the configuration for you deployment:
54
54
* Under Security -> Authentication, enter the API Key from the prereqs in the `api_key` field.
55
-
* Under Required, input the signing key
56
-
* Under Optional, input `signing_key` field. This is recommended by not necessary to be able to deploy the Cloud resources. It is necessary to enable the building and deployment of the sample app however.
55
+

56
+
* Under Required, input a prefix. This prefix will be appended to the name of most resources created by automation, ensuring uniqueness and avoiding clashes when provisioning names in the same account.
57
+
* Under Optional, input the signing_key field. While not necessary for deploying Cloud resources, it is recommended and required to enable the building and deployment of the sample app.
57
58
58
59
You may explore the other available inputs, such as the region and resource group name (under optional tab), leave them as is, or modify them as needed.
59
60
60
-

61
-
62
61
Once ready, click the "Save" button at the top of the screen.
63
62
64
63
## 4. Deploy the Architecture
@@ -144,4 +143,69 @@ After approving the configuration, you may encounter an error message stating "U
144
143
145
144
### Using the ./deploy-many.sh Script
146
145
147
-
The provided ./deploy-many.sh script is designed to deploy the stack of configurations as provided out of the box. If you make any changes to the stack definition in your project, besides specifying inputs, you should deploy your version through the Project UI instead of using the script.
146
+
The provided `deploy-many.sh` script is designed to deploy the stack of configurations as provided out of the box, and when following the instructions in this page. However, if you:
147
+
- Modify the stack definition in your project (beyond specifying inputs at the stack level)
148
+
- Or, deploy the stack in an existing project
149
+
150
+
Use the **Project UI** to deploy; do not use the script.
151
+
152
+
### Notification of New Configuration Versions ("Needs Attention")
153
+
154
+
You may see notifications in IBM Cloud Project indicating that one or more configurations in the stack have new versions available. You can safely ignore these messages at this point, as they will not prevent you from deploying the stack. No specific action is required from you.
155
+
156
+

157
+
158
+
Please note that these notifications are expected, as we are rapidly iterating on the development of the underlying components. As new stack versions become available, the versions of the underlying components will also be updated accordingly.
159
+
160
+
161
+
# Customization options
162
+
163
+
There are numerous customization possibilities available out of the box. This section explores some common scenarios, but is not exhaustive.
164
+
165
+
## Editing Individual Configurations
166
+
167
+
Each configuration in the deployed stack surfaces a large number of input parameters. You can directly edit each parameter to tailor your deployment by selecting the **Edit** option in the menu for the corresponding configuration on the right-hand side.
168
+
169
+

170
+
171
+
This approach enables you to:
172
+
- Fine-tune account settings
173
+
- Deploying additional Watson components, such as Watsonx Governance
174
+
- Deploy to an existing resource group
175
+
- Reuse existing key protect keys
176
+
- Tuning the parameter of the provisioned code engine project
177
+
- ...
178
+
179
+
## Removing Configurations from the Stack
180
+
181
+
You can remove any configuration from the stack, provided there is no direct dependency in later configurations, by selecting the **Remove from Stack** option in the right-hand side menu for the corresponding configuration.
182
+
183
+
This applies to the following configurations:
184
+
- Observability
185
+
- Security and Control Center
186
+
187
+

188
+
189
+
## Managing Stack-Level Inputs and Outputs
190
+
191
+
You can add or remove inputs and outputs surfaced at the stack level by following these steps:
192
+
1. Select the stack configuration
193
+
194
+

195
+
1. You are presented with a screen allowing you to promote any of the configuration inputs or outputs at the stack level
196
+
197
+

198
+
199
+
200
+
## Sharing Modified Stacks through a Private IBM Cloud Catalog
201
+
202
+
Once you have made modifications to your stack in Project, you can share it with others through a private IBM Cloud Catalog. To do so, follow these steps:
203
+
1. Deploy the stack at least once: You need to deploy the stack first to allow importing the stack definition to a private catalog.
204
+
2. Select the "Add to private catalog" option in the menu located on the stack configuration.
205
+
206
+
This will allow you to share your modified stack with others through a private IBM Cloud Catalog.
207
+
208
+
209
+
## Customizing for Your Application
210
+
211
+
As you deploy your own application, you may want to remove the last configuration (Sample RAG app configuration), which is specific to the sample app provided out of the box. You can use the code of this sample automation as a guide to implement your own, depending on your application needs. The code is available at [https://github.com/terraform-ibm-modules/terraform-ibm-rag-sample-da](https://github.com/terraform-ibm-modules/terraform-ibm-rag-sample-da).
0 commit comments