1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
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.
beantwortet vor 4 Jahren
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 7 Monaten
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren