mittwald icon

mittwald

Interact with mittwald mStudio API

Actions409

Overview

This node operation allows users to create a new Redis database within a specified project. It is useful in scenarios where you want to programmatically provision Redis databases with custom configurations, such as setting memory limits and eviction policies, directly from an n8n workflow. For example, a DevOps engineer could automate the creation of Redis instances for different environments (development, staging, production) with specific versions and resource constraints.

Properties

Name Meaning
Project Id The unique identifier of the project under which the Redis database will be created.
Configuration JSON object defining the Redis database configuration, including memory limits and policies. Options include: additionalFlags (array), maxMemory (e.g., "64Mi"), and maxMemoryPolicy (e.g., "allkeys-lru").
Description A textual description providing details about the database being created.
Version The version of Redis that the new database should use.

Output

The node outputs JSON data representing the response from the API after creating the Redis database. This typically includes details about the newly created database such as its ID, status, configuration, and metadata. There is no indication that binary data is output by this node.

Dependencies

  • Requires an API key credential for authenticating requests to the mittwald mStudio API.
  • The node uses the mittwald mStudio API endpoint at https://api.mittwald.de.
  • Proper network access and permissions to create resources within the specified project are necessary.

Troubleshooting

  • Common issues:

    • Invalid or missing Project Id can cause the creation request to fail.
    • Malformed JSON in the Configuration property may lead to parsing errors.
    • Specifying an unsupported Redis version might result in an error from the API.
    • Insufficient permissions or invalid API credentials will prevent successful creation.
  • Error messages:

    • "Unauthorized" or "Authentication failed": Check that the API key credential is correctly configured and valid.
    • "Invalid project ID": Verify that the provided Project Id exists and is accessible.
    • "Malformed configuration JSON": Ensure the Configuration field contains valid JSON matching expected schema.
    • "Version not supported": Confirm the Redis version string is correct and supported by the API.

Links and References

Discussion