Resource Context

The resource context in MechCloud will be equivalent to a Kubernetes namespace, serving as a logical container for a group of resources that should be managed as a single unit. It will allow you to:

  • Group Related Resources: Resources within the same resource context (e.g., app1-prod) will be treated as a cohesive set, isolating them from other resources in the same AWS account.

  • Simplify Multi-Environment Management: Define separate contexts for different environments of an application. For example, for an application named app1, you might use:

    • app1-prod for the production environment.

    • app1-dev for the development environment.

    • app1-stage for the staging environment.

When using MechCloud SaaS, you will select the resource context from a dropdown, and only resources within that context will be included in the actual state and plan. This will ensure focused and organized infrastructure management across multiple environments.

Creating a resource context

Follow these steps to create a resource context in MechCloud -

  • Log on to MechCloud and navigate to Infrastructure -> Resource Contexts.

  • Select a team.

  • Click on New Resource Context button.

  • Enter a name for the resource context.

  • Click on Save button to create the resource context.

Last updated

Was this helpful?