![]() For instructions, see Launch template support. Create a new custom launch template that resizes (adds "VolumeSize" larger than current) the Docker data volume ( /dev/xvda on default ECS optimized AL2 image) on your AWS Batch compute resources. Increase the size of Amazon EBS volumes in AWS Batchġ. If there is enough disk space, then see the (For Amazon Linux 1 only) To increase the default Docker storage limit section of this article. If there isn't enough disk space, then see the To increase the size of Amazon EBS volumes in AWS Batch section of this article. Verify whether your Docker volume hosted on Amazon EBS has enough disk space or notįollow the instructions in the To determine the available storage for Docker section or AMI storage configuration. You can also use AWS CloudShell to run the following commands. Note: If you receive errors when running AWS Command Line Interface (AWS CLI) commands, make sure that you’re using the most recent AWS CLI version. If you see the "No space left on device" error for jobs running on an Amazon EC2 instance launched using ECS Optimized Amazon Linux 2 AMI, then increase the size of the root volume (/dev/xvda) to make more storage space available for the container.AWS Batch then uses the latest available ECS Optimized Amazon Linux 2 AMI at the time of creation. If you have an AWS Batch ComputeEnvironment that's using ECS Optimized Amazon Linux 1 AMIs to launch Amazon Elastic Compute Cloud (Amazon EC2) instances, it's a best practice to create a new ComputeEnvironment.This article references Amazon Linux 1 for backward compatibility only. For more information, see AMI storage configuration. ![]() The Amazon ECS optimized Amazon Linux 2 AMI is the default image used when you create a managed compute environment in AWS Batch. Note: The Amazon Elastic Container Service (Amazon ECS) optimized Amazon Linux Amazon Machine Image (AMI) 1 is deprecated. You can't add a new custom launch template to an existing compute environment in AWS Batch. If there is enough disk space, then increase the default Docker storage limit.īoth solutions require creating a new custom launch template and a new compute environment. If there's not enough disk space, then increase the size of your Amazon EBS volume. To resolve the error, first verify that your Docker volume hosted on Amazon EBS has enough disk space. (For Amazon Linux 1 only) You've reached the default Docker storage limit of 10 GiB.There's not enough disk space on your Docker volume hosted on Amazon Elastic Block Store (Amazon EBS).AWS Batch can return a "No space left on device" error for two reasons: ![]()
0 Comments
Leave a Reply. |