Skip to content

Commit

Permalink
[QOLDEV-833] shorten instance warm-up times
Browse files Browse the repository at this point in the history
- Custom images allow much faster starts
  • Loading branch information
ThrawnCA committed Dec 2, 2024
1 parent 4211e8e commit c113c92
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions templates/Datashades-OpsWorks-CKAN-Instances.cfn.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -200,13 +200,8 @@ Resources:
LaunchTemplate:
LaunchTemplateId: !Ref {{ layer }}LaunchTemplate
Version: !GetAtt {{ layer }}LaunchTemplate.LatestVersionNumber
{% if layer == 'Solr' %}
DefaultInstanceWarmup: 600
HealthCheckGracePeriod: 600
{% else %}
DefaultInstanceWarmup: 1200
HealthCheckGracePeriod: 1200
{% endif %}
DefaultInstanceWarmup: 120
HealthCheckGracePeriod: 240
{% if layer == 'Web' %}
TargetGroupARNs:
- Fn::ImportValue: !Sub "${Environment}${ApplicationName}{{ layer }}AlbTargetGroup"
Expand Down

0 comments on commit c113c92

Please sign in to comment.