1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
You can scale on memory metric(s). Please check out this other answer: https://repost.aws/questions/QUtRfHUviYSly1N12qyx0KkA/amazon-ec-2-auto-scaling-based-on-memory-utilization
If you wish to scale on Tomcat memory usage specifically you'll need to extract that metric specifically and send it to CloudWatch metric.s
Contenus pertinents
- demandé il y a un mois
- demandé il y a un an
- demandé il y a 6 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 3 mois
how do we extract tomcat memory usage metric and send it to cloudwatch?
You'll need to look at the Tomcat documentation to figure out how to extract the appropriate metric. Once you've done that you can create a custom CloudWatch metric: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html