Tagging

Introduction

In ZEDEDA Cloud, tagging is one of the fundamental mechanisms you can use to assign descriptive metadata labels to your resources. These labels are typically in a key-value pair format, such as location:factory-A. Tags help you organize, filter, and apply policies across your edge nodes and applications. And by effectively using tags, you can simplify the management of your infrastructure and enhance the efficiency of your edge deployments.

Understanding Tags

Tags provide a flexible way to add your own custom attributes to ZEDEDA resources. Think of them as customizable labels that you can attach to edge nodes (devices), projects, applications, and other entities within the ZEDEDA platform. This approach enables you to create a customized classification system for your specific needs, helping you move beyond the platform's predefined categories.

Consistent use of tags allows you to:

  • Organize resources: Group similar devices or applications for easier management.
  • Improve searchability: Quickly find specific resources based on their tags.
  • Automate deployments: Target specific sets of devices for application deployments or configuration updates.
  • Implement granular policies: Control resource access and behavior based on tag assignments.

Key Applications of Tagging in ZEDEDA

Tagging is not a monolithic feature but rather a versatile tool that can be applied across various aspects of the ZEDEDA Cloud platform. Here’s how you can use tagging in different settings:

Edge Node Tagging

You can assign tags directly to your edge nodes. This is invaluable for categorizing nodes based on criteria such as:

  • Geography: region:emea, city:london
  • Hardware attributes: model:imx8, has_gpu:true
  • Functional roles: role:pos-terminal, function:cctv-gateway
  • Development stage: status:production, env:testing
  • Two-node HA: tie-breaker:true

These node tags are then used by other ZEDEDA services to make decisions. For example, you can use tags to ensure that an application that requires specific hardware only gets deployed to the nodes that have been tagged appropriately.

Project Tagging and Resource Isolation

Projects serve as the main organizational containers. While projects themselves can have descriptive tags for your reference, a central use of tagging in this context is the deployment tags associated with a particular project.

  • Project Tags: You assign edge nodes to projects during onboarding. The project tag identifies the purpose of the project (for example., department:retail and store_type:mall). This approach can be helpful if you have multiple departments that must be kept separate from one another. Within the project configuration there are other tags, such as the policy tag and deployment tag. These additional tags determine which initial configuration the node receives for its networking and volume settings, and which edge apps are deployed to the node.

Application Deployment Control

Tags control where your edge applications get deployed. When you define an application deployment in ZEDEDA Cloud:

  • Targeting with Tags: You specify "deployment tags" that edge nodes must have for an application to be installed on those nodes. This allows you to precisely target your edge app deployments. For instance, you could deploy a video analytics edge application only for the edge nodes that have been tagged with camera_connected:true and compute_tier:high.
  • Creating a foundation with Tags: Before you can deploy apps to your edge node, you can use tags for more advanced use cases, such as building and managing Kubernetes clusters at the edge. Once the Kubernetes clusters exist, you can deploy apps to the nodes in those clusters. For details about using tags in clustering, see Kubernetes Infrastructure Orchestration - Operations

Network Configuration and Segmentation

You can use tags to manage network configurations for your edge nodes. When setting up a network instance, like a local network for your applications or a connection to a cloud service:

  • Tag-Based Network Association: You can configure network instances to automatically attach to edge nodes that have specific tags. This enables dynamic network provisioning and segmentation based on roles or locations (in other words, all nodes tagged machine_type:cnc will get access to a specific operational technology network).

Tagging Use Cases at a Glance

The following table summarizes common ways tagging is used within the ZEDEDA platform.

Use case How it’s used Help Center article
Node Tags Assigning key-value labels to edge nodes for identification, grouping, two-node HA, and as targets for deployments or policies. This facilitates the ability to do filtering and bulk operations.  Node Tagging
Project Deployment Tags Defining a set of tags to ensure nodes in that project receive the appropriate policies (for example, network or volume instance config, edge apps, Edge View, and so on). Project Tags
Application Deployment Tags Specifying tags that edge nodes must match for an application to be deployed to them, thus ensuring applications run on the chosen edge nodes. Deploy an Edge App: Configure the Edge App Instance ID
Network Instance Assignment Using tags on edge nodes to determine which network instances (switch networks, or local networks) should be provisioned and made available to those nodes, and the apps on them. Network Instance Tags
Offline Profile Server Scope & App Instance Retrieval An Offline Profile Server, deployed within a project, serves application profiles for app instances intended for edge nodes within that same project. When a node requests profiles, its identity (linked to its project via tags) helps the server provide relevant app instance information for offline operation. Manage App Instances with the Offline Profile Server
Onboarding & Zero-Touch Deployment When onboarding a device, you assign the edge node to a project, and that project's deployment policy tags determine which initial configuration the edge node receives, as well as network settings, and app deployments that are assigned to the edge node. In the case of ZTD, much of this process happens without manual intervention. Zero-Touch Deployments Overview
Edge Kubernetes Clusters When creating an Edge Kubernetes Cluster, you can assign a tag to help you group and identify clusters based on specific criteria. By using the same tag when you create your clusters, you can then select that tag to group multiple clusters together and manage them as a single entity when you manage Installed Applications or create a Cluster Grouping.

 

Was this article helpful?
0 out of 0 found this helpful