Skip to content

Commit da12b6b

Browse files
kraman-awsmhuguesaws
authored andcommitted
Updated Lab4 with minor edits
1 parent efea9f0 commit da12b6b

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

content/06-batch-automation/06-run-job.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ If the job does not run, double-check that the job queue name and job definition
2121
Once your job is submitted successfully, note the **Job Id** because you can use it to show the status of a job:
2222

2323
```bash
24-
aws batch describe-jobs --jobs <your-job-id>
24+
aws batch describe-jobs --jobs <your-job-id> --region $AWS_REGION
2525
```
2626

2727
A *JSON* displays and describes the status of you job.

content/06-batch-automation/08-cleanup.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,18 @@ aws cloudformation delete-stack --stack-name nextflow-batch-ce-jq --region $AWS_
2222
aws cloudformation delete-stack --stack-name nextflow-batch-jd --region $AWS_REGION
2323
```
2424

25+
Note, it will take a few mins for the stacks to be deleted.
26+
2527
2. Navigate to the [AWS CloudFormation](https://console.aws.amazon.com/cloudformation/home) Dashboard of the AWS Management Console and confirm that the stacks are deleted.
2628

2729

30+
3. Navigate to [Amazon S3](https://s3.console.aws.amazon.com/s3/home) Dashboard of the AWS Management Console and delete the S3 bucket you created in Lab 4. Or, run the following CLI command on Cloud9.
31+
32+
```bash
33+
source s3_vars
34+
aws s3 rb s3://${BUCKET_NAME_RESULTS} --force
35+
```
36+
2837
3. Navigate to the [ECR](https://console.aws.amazon.com/ecr/repositories) service in the AWS Management Console and delete the repository you created earlier. Or, run the following CLI command on Cloud9.
2938
```bash
3039
REPO_NAME=sc21-container
@@ -64,4 +73,3 @@ aws codepipeline delete-pipeline --name $CODEPIPELINE_NAME --region $AWS_REGION
6473

6574

6675

67-

0 commit comments

Comments
 (0)