今日を知り、明日を変えるシステム運用メディア

Amazon ECS は ECS タスクの CPU 制限を 192 vCPU に増加しました

Amazon ECS は ECS タスクの CPU 制限を 192 vCPU に増加しました

本記事は、2025 年 2 月 19 日にAWS公式サイトの What’s New with AWS? に掲載された英語記事を自動翻訳したものです。

ニュース内容

Amazon Elastic Container Service (Amazon ECS) は、Amazon Elastic Compute Cloud (Amazon EC2) インスタンスにデプロイされた ECS タスクに対して、最大 192 vCPU の CPU 制限をサポートするようになりました。これは、以前の 10 vCPU 制限から増加したものです。この機能強化により、お客様は、より大きな Amazon EC2 インスタンスでのリソース割り当てをより効果的に管理できます。

Amazon ECS のお客様は、コンテナ レベルで CPU とメモリ リソースのソフト制限とハード制限を定義でき、タスク レベルでハード制限を定義できます。ソフト制限は、コンテナ用に Amazon EC2 インスタンスのリソースを予約し、ハード制限は最大使用量を強制します。CPU については、コンテナ レベルのハード制限が上限として機能し、Linux CpuShares を使用して複数のコンテナがリソースを競合しているときにリソースの競合を防ぐのに役立ちます。タスク レベルの CPU 制限は、タスクの予約として機能するとともに、競合中に単一のタスクが過剰なリソースを消費するのを防ぎます。お客様は、ECS タスクの CPU 制限として、以前の 10 vCPU から増加した最大 192 vCPU を指定できるようになりました。これにより、より大きなサイズの EC2 インスタンスで複数のタスク間でより効果的なリソース共有が可能になります。たとえば、192 個の vCPU を備えた c7i.48xl インスタンスでは、ECS タスクごとに 32 個の vCPU 制限を定義すると、ノイジーネイバーからのリソース競合なしで最大 6 個のタスクを実行できます。

AWS マネジメントコンソール、SDK、CLI、CloudFormation、または CDK を使用して、Amazon ECS タスク定義の CPU 制限を定義できます。新しい制限は、すべてのリージョンで有効になりました。詳細については、ドキュメントを参照してください。

原文

Amazon Elastic Container Service (Amazon ECS) now supports CPU limits of up to 192 vCPU for ECS tasks deployed on Amazon Elastic Compute Cloud (Amazon EC2) instances, an increase from the previous 10 vCPU limit. This enhancement allows customers to more effectively manage resource allocation on larger Amazon EC2 instances.

Amazon ECS customers can define soft and hard limits for CPU and memory resources at the container level, and hard limits at the task level. Soft limits reserve resources on an Amazon EC2 instance for a container, while hard limits enforce maximum usage. For CPU specifically, the container-level hard limit acts as a ceiling and helps prevent resource contention when multiple containers are competing for resources using Linux CpuShares. The task-level CPU limit acts both as the reservation for the task and prevents any single task from consuming excessive resources during contentions. Customers can now specify up to 192 vCPU as the CPU limit for an ECS task, increased from the previous 10 vCPU, enabling more effective resource sharing across multiple tasks on larger sized EC2 instances. For example, on a c7i.48xl instance with 192 vCPUs, defining a 32 vCPU limit per ECS task allows running up to 6 tasks without resource contention from noisy neighbors.

You can use AWS management console, SDK, CLI, CloudFormation, or CDK to define the CPU limit for your Amazon ECS task definition. The new limit is now effective in all regions. To learn more, see documentation.

引用元:Amazon ECS increases the CPU limit for ECS tasks to 192 vCPUs

人気の記事

最新情報をお届けします!

最新のITトレンドやセキュリティ対策の情報を、メルマガでいち早く受け取りませんか?ぜひご登録ください

メルマガ登録