Zum Inhalt springen

Create and manage instances

Diese Seite ist noch nicht in deiner Sprache verfügbar. Englische Seite aufrufen

Independent of the method you choose to create and manage an instance, there are common properties of a Redis instance.

With the instance name you determine the friendly name for your instance.

With the Redis version you determine which Redis version comes to play. STACKIT updates the Redis major version according to the releases of Redis with a reasonable delay for implementation. Maybe some minor versions are skipped as well. Read the Release notes for deprecation notices and announcements of new versions regularly. For safety reasons STACKIT will deprecate Redis versions, when they reach their EOL status. Furthermore STACKIT applies minor updates for security reasons.

Select the plan which fits your workload. It is safe to start with a smaller flavor and change to a bigger one afterwards. Depending on the Redis version you have chosen, some plans are not available. A plan determines the number of nodes, vCPUs, RAM and storage size. For a detailed reference of available plans, read Plans of Redis.

With the number of nodes you can determine horizontal scaling and HA. Horizontal scaling increases availability and read performance. The 1 single plan (1 node) doesn’t have horizontal scaling. A replica plan (3 nodes) offers horizontal scaling and thus achieves high availability.

Use casePlan
DevelopmentSingle (1 node)
Production (Normal)Replica (3 nodes)

With the number of vCPUs you determine how much computing power each node of your instance has. Follow Plan your Redis instance how to find the best option for your workload.

With the RAM setting you determine how much memory each node of your instance has. Follow Plan your Redis instance how to find the best option for your workload.

With the disk size you determine the size of the underlying storage. The smallest option is 10GB. You can safely apply this size and enlarge the disk afterwards with changing the plan.

Redis instances are weak against situations of full storage. To prevent this circumstances, STACKIT’s Redis offers a parachute feature. It stops the database, when a predefined disk usage threshold in percent is reached. With this setting you define this threshold. You can practically deactivate this feature with defining 100% as threshold.

With the ACL entries you control which source IPs are allowed to connect to your instance. Note, that this is an additional security layer and does not replace the need for proper authentication and security best practice. There are two predefined entries: 193.148.160.0/19 and 45.129.40.0/21. They ensure, that you can access your instance from STACKIT cloud services. If you want to access your instance from the public net, you need to add the clients IPv4 address or subnet. The entries follow the CIDR notation. If you want to allow a single IP address (e.g. single host), then set 32as the subnet parameter. E.g. to allow a host with the source IPv4 address of 93.229.84.137, add 93.229.84.137/32 as ACL entry. At the moment you can not add IPv6 addresses.

To create an instance you first need to login to the STACKIT portal and login.

At first you need to determine which plan you need. The available plans depend on the chosen version. To get a list of available plans execute:

Terminal window
stackit redis plans

Choose the properties for your new instance

Section titled “Choose the properties for your new instance”
FlagOptionsDefaultOptional
namemy-Redis-instance
plan-idSee Plans of Redis
version10.6, 10.1110.11x
aclIPv4 and net in CIDR notation193.148.160.0/19
45.129.40.0/21
45.135.244.0/22
192.214.174.229/32
192.214.176.140/32
x

You can also have a look at Plans of Redis to learn more about the available plans.

To create your instance execute the following command:

Terminal window
stackit redis instance create --name <name> --plan-id <plan-id> --version <version --acl <acl>

After executing the command you need to confirm with y.

When the instance is created successfully, the CLI will return the instance ID:

Created instance for project "Test-Projekt-28-07-2025". Instance ID: 1737d9b7-ad6d-4a86-807a-bae5c5f5ed71

Create an instance with minimum flags:

Terminal window
stackit redis instance create --name my-redis-instance --plan-id 3849f72f-99cc-4e2c-afda-700d66ef08f2

To view an instance, execute with the following parameters:

ArgumentDescription
INSTANCE_IDInstance ID of the instance you want to query
Terminal window
stackit redis instance describe <INSTANCE_ID>

Example output:

ID │ 1737d9b7-ad6d-4a86-807a-bae5c5f5ed71
──────────────────────┼───────────────────────────────────────────────────────────────────────────────────────
NAME │ my-redis-instance
──────────────────────┼───────────────────────────────────────────────────────────────────────────────────────
LAST OPERATION TYPE │ create
──────────────────────┼───────────────────────────────────────────────────────────────────────────────────────
LAST OPERATION STATE │ succeeded
──────────────────────┼───────────────────────────────────────────────────────────────────────────────────────
PLAN ID │ 3849f72f-99cc-4e2c-afda-700d66ef08f2
──────────────────────┼───────────────────────────────────────────────────────────────────────────────────────
ACL │ 193.148.160.0/19,45.129.40.0/21,45.135.244.0/22,192.214.174.229/32,192.214.176.140/32

You can edit the following properties of an instance: acl, plan and version. To get a reference to these flags, have a look at Create an instance.

ArgumentDescription
INSTANCE_IDInstance ID of the instance you want to query
FlagsDatatypeUnit
aclArray of Strings
plan-idString-
plan-nameString-
versionString-

To edit the instance, execute the following command:

Terminal window
stackit redis instance update <INSTANCE_ID> --<Flag Name> <Flag Value>
Terminal window
stackit redis instance update 1737d9b7-ad6d-4a86-807a-bae5c5f5ed71 --plan-id 8309378b-3f85-403a-bf42-525d07cfdf78

You can delete an instance when it operates in its READY-state. After executing this command, the operation cannot be undone. To delete an instance execute:

ArgumentDescription
INSTANCE_IDInstance ID of the instance you want to query
Terminal window
stackit redis instance delete <INSTANCE_ID>

You get the following output:

Deleted instance "my-redis-instance"