- 最新
- 最多得票
- 最多評論
I assume that you got a recent AMI for your EC2 with all updates. To be sure, you can restart all EC2 in your ECS Cluster or restart all ECS agents in each EC2 instance.
Also, the ECS agent must be updated, if it's not the case. According to the documentation, the version of ECS agent must be 1.74.1. https://github.com/aws/amazon-ecs-agent/blob/master/CHANGELOG.md
Hi,
Are you sure about your spelling ? It's **LINUX ** instead of Linux And you have to define separately
"runtimePlatform": {
"operatingSystemFamily": "LINUX",
"cpuArchitecture": "X86_64"
},
@Donov. I only edit the JSON to remove the whole runtimePlatform object option when creating a new revision. Because now the new updated UI adds it automatically as a default option under Operating system/Architecture. So no editing or spelling errors from my side. It is when I remove the whole object that you posted, that the deployment works.
相關內容
- 已提問 1 年前
- AWS 官方已更新 2 年前
@Donov, that was the issue. I had an old Amazon Linux 1. Updated it to Amazon Linux 2023 AMI and it deploys. Thanks!