1import * as GCP from "alchemy/GCP";
2
3/**
4 * The counter store: a BASIC-tier (single node, no replica) 1 GiB
5 * Memorystore for Redis instance on the project's `default` network.
6 *
7 * `authEnabled` turns on Redis AUTH, so a client on the network still
8 * needs the instance's AUTH string. Alchemy reads that string at deploy
9 * time and hands it to the service with the private IP; nobody copies
10 * it around by hand.
11 *
12 * Creating or deleting the instance takes several minutes.
13 */
14export const Counters = GCP.Redis.Instance("Counters", {
15 tier: "BASIC",
16 memorySizeGb: 1,
17 authEnabled: true,
18});