AWS Batch — 12
Dec 28, 2023
Next, in 📜 notebooks and scripts, at the gallery, automation,
@batch source - vanwatch/ingest-and-analyze - count=5
what is the client? this.
import boto3
client = boto3.client('batch')
response = client.submit_job(
jobDefinition='sleep60',
jobName='example',
jobQueue='HighPriority',
)
print(response)
parse the output,
{
'jobId': '876da822-4198-45f2-a252-6cea32512ea8',
'jobName': 'example',
'ResponseMetadata': {
'...': '...',
},
}
@batch source - vanwatch/ingest-and-analyze - count=5
@batch source - vanwatch/ingest-and-analyze - count=10
@batch list
@select 2023-12-27-15-14-38-61851; @download; open .
⚠️ redudancy.
from:
@batch source - vanwatch/ingest-and-analyze - count=10
to
vanwatch batch ingest - count=10
🪄 too soon, too deep.
git mv,
@docker build push
@batch source - vanwatch/ingest - count=2
@batch source - vanwatch/ingest - count=3
Next: general refactors.