Skip to content

Commit

Permalink
Merge 24e3665 into 913efc9
Browse files Browse the repository at this point in the history
  • Loading branch information
wleepang committed Nov 10, 2018
2 parents 913efc9 + 24e3665 commit ed3013e
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions docs/tutorials/AwsBatch101.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,11 @@ Copy over the sample `aws.conf` file utilizing
<a href="https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/credentials.html" target="_blank">the default credential provider chain</a>
to the same directory that contains your sample WDL, inputs and Cromwell jar.

Replace `<s3-bucket-name>`in the configuration file with the appropriate bucket name.
Replace in the configuration file:

* `<your-region` with the region where your resources are launched (e.g. "us-east-1")
* `<s3-bucket-name>` with the appropriate bucket name
* `<your queue arn here>` with either your default or high priority queue ARN

***aws.conf***
```
Expand All @@ -91,8 +95,7 @@ aws {
}
]
region = "default" // uses region from ~/.aws/config set by aws configure command,
// or us-east-1 by default
region = "<your-region>"
}
engine {
Expand All @@ -109,6 +112,10 @@ backend {
AWSBATCH {
actor-factory = "cromwell.backend.impl.aws.AwsBatchBackendLifecycleActorFactory"
config {
numSubmitAttempts = 6
numCreateDefinitionAttempts = 6
// Base bucket for workflow executions
root = "s3://<s3-bucket-name>/cromwell-execution"
Expand All @@ -134,7 +141,7 @@ backend {

**Run Workflow**

`java -Dconfig.file=aws.conf -jar cromwell-29.jar run hello.wdl -i hello.inputs`
`java -Dconfig.file=aws.conf -jar cromwell-36.jar run hello.wdl -i hello.inputs`

**Outputs**

Expand Down

0 comments on commit ed3013e

Please sign in to comment.