1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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.
répondu il y a 4 ans
Contenus pertinents
- demandé il y a un an
- demandé il y a 7 mois
- demandé il y a 2 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 2 ans