|
1 | 1 | # Creating Custom Compute Resources |
2 | 2 |
|
3 | 3 | Genomics is a data-heavy workload and requires some modification to the defaults |
4 | | -used for batch job processing. In particular, we need to be able to scale the |
5 | | -storage used by the instances Tasks/Jobs run on to meet unpredictable runtime |
6 | | -demands. |
| 4 | +used for batch job processing. In particular, instances running the Tasks/Jobs need scalable storage to meet unpredictable runtime demands. |
7 | 5 |
|
8 | 6 | By default, AWS Batch relies upon the [Amazon ECS-Optimized AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html) |
9 | | -as the image used to for instances it launches to run jobs. What this image |
10 | | -provides is sufficient in most cases. Specialized needs, such as the large |
| 7 | +to launch container instances for running jobs. This is sufficient in most cases, but specialized needs, such as the large |
11 | 8 | storage requirements noted above, require customization of the base AMI. |
12 | 9 |
|
13 | 10 | This section provides two methods for customizing the base ECS-Optimized AMI |
14 | | -that adds an expandable working directory that the Jobs will use to write data. |
15 | | -That directory will be monitored by a process that inspects the free space |
16 | | -available and adds more EBS volumes and expands the filesystem on the fly, like so: |
| 11 | +that adds an expandable working directory for jobs to write data. |
| 12 | +A process will monitor the directory and add more EBS volumes on the fly to expand the free space |
| 13 | +based on the capacity threshold, like so: |
17 | 14 |
|
18 | 15 |  |
19 | 16 |
|
@@ -92,4 +89,4 @@ Once your AMI is created, you will need to jot down its unique AMI Id. You will |
92 | 89 | need this when creating compute resources in AWS Batch. |
93 | 90 |
|
94 | 91 | !!! note |
95 | | - This is considered advanced use. All documentation and CloudFormation templates hereon assumes use of EC2 Launch Templates. |
| 92 | + This is considered advanced use. All documentation and CloudFormation templates hereon assumes use of EC2 Launch Templates. |
0 commit comments