- Newest
- Most votes
- Most comments
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.
Relevant content
- asked 2 years ago
- asked 3 years ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
@Donov, that was the issue. I had an old Amazon Linux 1. Updated it to Amazon Linux 2023 AMI and it deploys. Thanks!