CCSS (Common Configuration Scoring System) is a set of measures used to determine the severity of the rule.
Each rule is associated with a high-level category. For example IAM, Container, Monitoring, Logging, Network, etc.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsHaving no limit on memory usage can lead to issues where one container can easily make the whole system unstable and as a result unusable.
Set the memory
attribute in the task definition or container_definitions
.
resource "aws_ecs_task_definition" "valid_memory_limit_ec2" {
family = "valid_memory_limit_ec2"
container_definitions = <<EOF
[
{
"name": "valid_memory_limit_ec2",
"image": "hello-world",
"memoryReservation": 128,
"memory": 256
}
]
EOF
memory = 256
requires_compatibilities = ["EC2"]
}