- Newest
- Most votes
- Most comments
One best practice pattern is to use Elastic File System (EFS) as the shared storage location. It can be mounted by both EC2 instances and ECS managed containers/tasks running on either EC2/Fargate fleet type.
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html
Retain push to S3 bucket for version archival, and the daily published AI model can be stored in EFS file system instead. It is recommended to create Availability Zone (AZ) specific mount targets for the file system to minimize cross-AZ data transfer latency and cost.
https://docs.aws.amazon.com/efs/latest/ug/accessing-fs.html
Existing EC2 can be used to retrieve older versions of the model from S3 persistent storage as needed. Use the right-sized EFS volume as working data location.
Relevant content
asked 3 years ago
asked 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago

Have you considered using SageMaker? Please check this notebook for a few hints: https://github.com/aws/amazon-sagemaker-examples/blob/main/sagemaker-triton/nlp_bert/triton_nlp_bert.ipynb