@@ -48,6 +48,14 @@ Parameters:
4848 AllowedValues: [true, false]
4949 Description: If alerts should be silenced on this instance
5050 Default: false
51+ HighConcurrentExecutionsTopic:
52+ Type: String
53+ Description: The name of the SNS topic to publish to for a high concurrent executions alarm.
54+ Default: CDO-Urgent
55+ HighConcurrentExecutionsAlarmThreshold:
56+ Type: Number
57+ Description: The threshold for the high concurrent executions alarm.
58+ Default: 400
5159<%
5260JAVALAB_APP_TYPES = %w(
5361 Theater
@@ -857,18 +865,19 @@ Resources:
857865 Properties:
858866 AlarmName: !Sub "${SubdomainName}_<%= name . downcase%> _high_concurrent_executions"
859867 AlarmDescription: !Sub |
860- Alarm if javabuilder usage exceeds 400 concurrent
861- executions for 10 minutes. Occasional spikes are expected, but
862- long-running high usage is an indication of an attack. Page the student learning
863- team for further investigation. See this doc for investigation steps
868+ Alarm if javabuilder usage has high concurrent executions for 10 minutes.
869+ Occasional spikes are expected, but long-running high usage is an indication
870+ of an attack. If this is occuring on the demo environment, this is a non-urgent
871+ issue as we expect occasional periods of high usage. If it is on production,
872+ page the student learning team for further investigation. See this doc for investigation steps
864873 https://docs.google.com/document/d/1bHvV6pvUcwxgZpw0YWBmxFggQL5KqYx9zwolwkZhjU8/edit#bookmark=id.xs1gcuxrw6ze
865874 ActionsEnabled: true
866875 AlarmActions:
867- - !If [SilenceAlertsCondition, !Ref AWS::NoValue, !Sub "arn:aws:sns:${AWS::Region}:${AWS::AccountId}:CDO-Urgent "]
876+ - !If [SilenceAlertsCondition, !Ref AWS::NoValue, !Sub "arn:aws:sns:${AWS::Region}:${AWS::AccountId}:${HighConcurrentExecutionsTopic} "]
868877 EvaluationPeriods: 10
869878 DatapointsToAlarm: 10
870879 Period: 60
871- Threshold: 400
880+ Threshold: !Ref HighConcurrentExecutionsAlarmThreshold
872881 ComparisonOperator: GreaterThanThreshold
873882 TreatMissingData: notBreaching
874883 MetricName: ConcurrentExecutions
0 commit comments