- CloudFormation
- Terraform
Use CloudFormation to set up AWS Batch infrastructure for bioinformatics and
HPC pipelines.
1. Connect AWS Integration
Open the following link to connect your AWS account automatically to OpenSRE. This will allow OpenSRE to monitor your AWS Batch jobs.→ Connect AWS2. Locate the EC2 LaunchTemplate UserData
In your CloudFormation template, find theUserData field within the Launch Template used by your AWS Batch compute environment.Reference example: CloudFormation Template3. Append OpenSRE install in EC2 Launch Template UserData
Add these commands to theruncmd: section in your UserData:Go to our onboarding
to get your own personal token
4. Validate, apply change set, then verify instance
5. Configure Nextflow batch.config with Trace ID
In your Nextflowbatch.config file, you need to:- Add a
paramssection to generate a UUID that will be shared across all jobs in the workflow - Add
containerOptionsin theprocesssection to pass the trace ID as an environment variable to each container
Monitor and Optimize Your Pipeline

Watch your pipeline run in the OpenSRE dashboard
View real-time metrics, resource usage, and performance insights for your pipeline runs.
