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
Update the launch template userdata scripts in the manual AWS Batch
compute environment documentation to match the current Batch Forge
implementation.
Changes include:
- Add logging redirection for troubleshooting
- Update CloudWatch agent download from wget to curl
- Update CloudWatch config from custom-v0.1.json to config-v0.4.json
- Add 5 new ECS settings (Spot draining, container timeouts)
- Update miniconda tarball URL to versioned package
- Update sed placeholder from custom-id to $FORGE_ID
- Add section comments for better readability
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>
@@ -176,7 +188,7 @@ Create a launch template to configure the EC2 instances deployed by Batch jobs:
176
188
--//--
177
189
```
178
190
179
-
1. To prepend a custom identifier to the CloudWatch log streams for AWS resources created by your manual compute environment, uncomment the `| sed 's/custom-id/<your custom ID>/g' \` line and replace `<your custom ID>` with your custom ID. If ommitted, this defaults to `custom-id`.
191
+
1. To prepend a custom identifier to the CloudWatch log streams for AWS resources created by your manual compute environment, uncomment the `| sed 's/$FORGE_ID/<your custom ID>/g' \` line and replace `<your custom ID>` with your custom identifier. If omitted, `$FORGE_ID` remains as-is in the config.
180
192
1. Save the template with the name `seqera-launchtemplate`.
181
193
182
194
</TabItem>
@@ -199,30 +211,41 @@ Create a launch template to configure the EC2 instances deployed by Batch jobs:
@@ -232,7 +255,7 @@ Create a launch template to configure the EC2 instances deployed by Batch jobs:
232
255
--//--
233
256
```
234
257
235
-
1. To prepend a custom identifier to the CloudWatch log streams for AWS resources created by your manual compute environment, uncomment the `| sed 's/custom-id/<your custom ID>/g' \` line and replace `<your custom ID>` with your custom ID. If ommitted, this defaults to `custom-id`.
258
+
1. To prepend a custom identifier to the CloudWatch log streams for AWS resources created by your manual compute environment, uncomment the `| sed 's/$FORGE_ID/<your custom ID>/g' \` line and replace `<your custom ID>` with your custom identifier. If omitted, `$FORGE_ID` remains as-is in the config.
236
259
1. Save the template with the name `seqera-launchtemplate`.
@@ -212,7 +224,7 @@ Create a launch template to configure the EC2 instances deployed by Batch jobs:
212
224
--//--
213
225
```
214
226
215
-
1. To prepend a custom identifier to the CloudWatch log streams for AWS resources created by your manual compute environment, uncomment the `| sed 's/custom-id/<your custom ID>/g' \` line and replace `<your custom ID>` with your custom ID. If ommitted, this defaults to `custom-id`.
227
+
1. To prepend a custom identifier to the CloudWatch log streams for AWS resources created by your manual compute environment, uncomment the `| sed 's/$FORGE_ID/<your custom ID>/g' \` line and replace `<your custom ID>` with your custom identifier. If omitted, `$FORGE_ID` remains as-is in the config.
216
228
1. Save the template with the name `seqera-launchtemplate`.
217
229
218
230
</TabItem>
@@ -235,30 +247,41 @@ Create a launch template to configure the EC2 instances deployed by Batch jobs:
@@ -268,15 +291,15 @@ Create a launch template to configure the EC2 instances deployed by Batch jobs:
268
291
--//--
269
292
```
270
293
271
-
1. To prepend a custom identifier to the CloudWatch log streams for AWS resources created by your manual compute environment, uncomment the `| sed 's/custom-id/<your custom ID>/g' \` line and replace `<your custom ID>` with your custom ID. If ommitted, this defaults to `custom-id`.
294
+
1. To prepend a custom identifier to the CloudWatch log streams for AWS resources created by your manual compute environment, uncomment the `| sed 's/$FORGE_ID/<your custom ID>/g' \` line and replace `<your custom ID>` with your custom identifier. If omitted, `$FORGE_ID` remains as-is in the config.
272
295
1. Save the template with the name `seqera-launchtemplate`.
273
296
274
297
</TabItem>
275
298
</Tabs>
276
299
277
300
### Create the Batch compute environments
278
301
279
-
:::caution
302
+
:::caution
280
303
AWS Graviton instances (ARM64 CPU architecture) are not supported in manual compute environments. To use Graviton instances, create your AWS Batch compute environment with [Batch Forge](../../compute-envs/aws-batch#automatic-configuration-of-batch-resources).
281
304
:::
282
305
@@ -310,7 +333,7 @@ The head queue requires an on-demand compute environment. Do not select **Use Sp
310
333
:::
311
334
1. Expand **Additional configuration** and select the `seqera-launchtemplate` from the Launch template dropdown.
312
335
1. Configure VPCs, subnets, and security groups on the next page as needed.
313
-
1. Review your configuration and select **Create compute environment**.
336
+
1. Review your configuration and select **Create compute environment**.
314
337
315
338
</TabItem>
316
339
<TabItemvalue="Compute queue with Spot instances"label="Compute queue with Spot instances"default>
@@ -320,11 +343,11 @@ Create this compute environment to use Spot instances for your workflow compute
320
343
1. In the [Batch Console](https://eu-west-1.console.aws.amazon.com/batch/home), select **Create** on the Compute environments page.
321
344
1. Select **Amazon EC2** as the compute environment configuration.
322
345
1. Enter a name of your choice, and apply the `seqera-servicerole` and `seqera-instancerole`.
323
-
1. Select **Enable using Spot instances** to use Spot instances and save computing costs.
346
+
1. Select **Enable using Spot instances** to use Spot instances and save computing costs.
324
347
1. Select the `seqera-fleetrole` and enter vCPU limits and instance types, if needed.
325
348
1. Expand **Additional configuration** and select the `seqera-launchtemplate` from the Launch template dropdown.
326
349
1. Configure VPCs, subnets, and security groups on the next page as needed.
327
-
1. Review your configuration and select **Create compute environment**.
350
+
1. Review your configuration and select **Create compute environment**.
0 commit comments