1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
0
I figured out the answer to this question. Keeping this thread alive just in case someone finds this helpful in the future.
- I launched an ECS-optimized AMI instance by attaching the EBS volume to it from the snapshot.
- Then I created a directory to mount the volume to.
- Then I edited /etc/fstab to automount the volume to the desired directory on boot.
- Then I shutdown the ecs process.
- Then I created a custom AMI from this instance.
- I use this custom AMI and specify this in the compute environment.
- Then in the job-definition, I set volume and mount point fields as follows:
volume -> name = storage_name, source path = /storage
mount_point -> container_path = /desired_path, source_path=storage_name (same as given in the volume field)
This makes it ready to have a larger volume ready with the job.
respondido há 4 anos
Conteúdo relevante
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há 7 meses
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há 2 meses