2 Respostas
- Mais recentes
- Mais votos
- Mais comentários
0
Hello.
Although it is in Japanese, there was someone who was conducting a verification to check the number of CPU cores on ECS Fargate.
I think the following information will be helpful.
https://gist.github.com/nabeken/97a54cc98ae6892910df4b4b265b4fdd
0
Hi, thanks for reaching out. You can check the number of cores by running the below Python code on your task:
import os
print(os.cpu_count())
Or you can check it with the aws cli:
aws ecs describe-task-definition --task-definition my-task-def --query taskDefinition.cpu --output text
The number of cpu cores will vary depending on cpu size. I hope this helps.
respondido há 6 meses
Conteúdo relevante
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há 10 meses
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há 3 anos