Cache Services
Stackmate offers infrastructure deployment for major managed cache services (like AWS Elasticache for example)
What you get when introducing this service to your configuration
A managed cache instance with sane defaults
Required attributes
type
- string - It should be eitherredis
ormemcached
Optional attributes
size
- string - The instance size. Should be one of the instances the provider has availableversion
- string - The cache version to use. These are dictated by the cloud provider (eg. AWS) and it's one of the versions they currently support.storage
- number - The size of the storage space in Gigabytesport
- number - The port to use. By default,6379
is assigned toredis
and11211
is assigned tomemcached
monitoring
- object - Any monitoring options available for the service. Example configuration is shown below
The typical Common Service Options apply here too.
Example configuration
# ... the rest of the configuration ...
environments:
production:
# ... more services ...
my-cache:
type: redis
provider: aws # optional when your provider's set to aws
region: eu-central-1 # optional if you have a region set for the project
size: cache.t3.micro
storage: 30
version: 7.0
monitoring:
urls:
- https://a-webhook-to-get-alerted-by.com
emails:
- [email protected]
Last updated
Was this helpful?