Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DROTH-3827 downgrade cache to smaller version #2908

Merged
merged 1 commit into from
Feb 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions aws/cloud-formation/cache/cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ Resources:
- Key: Project
Value: !Ref Project

CacheCluster:
CacheClusterV2:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Onkos tää välttämätöntä uudelleen nimetä?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AWS ohjeistaa vaihtamaan koko instanssi. Varmaan saman efektin sais muullakin tavalla. Nyt vedin näin. Uudelleen nimeämisen avulla AWS kuvittelee, että instantsi poistetaan ja luodaan uudestaan.

Type: 'AWS::ElastiCache::CacheCluster'
Properties:
ClusterName: !Sub "${Environment}roadLinkcache"
AutoMinorVersionUpgrade: true
AZMode: single-az
CacheNodeType: cache.r6g.large
CacheNodeType: cache.t4g.medium
CacheParameterGroupName: !Ref CacheParameterGroupInreasedItemSize
CacheSubnetGroupName: !Ref CacheSubnetGroupName
Engine: memcached
Expand All @@ -88,7 +88,7 @@ Resources:
Outputs:
CacheURL:
Description: Port of cache url
Value: !GetAtt CacheCluster.ConfigurationEndpoint.Address
Value: !GetAtt CacheClusterV2.ConfigurationEndpoint.Address
CachePort:
Description: Port of cache service
Value: !GetAtt CacheCluster.ConfigurationEndpoint.Port
Value: !GetAtt CacheClusterV2.ConfigurationEndpoint.Port