Will setting docker --storage-opt be deprecated?

0

My batch jobs depend on increasing the disk space available to docker by setting --storage-opt in the launch template. According to https://aws.amazon.com/premiumsupport/knowledge-center/increase-default-ecs-docker-limit this setting actually only applies to Amazon Linux 1 AMIs, which will soon be deprecated:

Important: This article is applicable if you're using Amazon Linux 1 AMIs to launch container instances in your ECS cluster. Amazon Linux 2 AMIs use the Docker overlay2 storage driver, which gives you a base storage size of the space left on your disk. Amazon Linux 1 will no longer be supported after December 31, 2020.

I guess this means I am using a v1 AMI; how then do I select a v2 AMI? I have never manually selected an AMI, I always use the defaults; in which case I am surprised that a soon-to-be-deprecated AMI is still the default.

4TufZB
質問済み 3年前372ビュー
2回答
0

It seems the reason this is occurring is because M4 instances use an Amazon Linux 1 AMI by default. It is possible to set the AMI to a v2 AMI in the Batch compute environment setup -- you need to look up the specific AMI for your region though.

It seems some instance types automatically pick a v2 AMI by default; hopefully this will be the case for M4 instances in the future as well.

4TufZB
回答済み 3年前
0

note that with the recent support for AL2, you don't need to look it up anymore - just specify AL2

AWS
回答済み 3年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ