In Meshery, two key concepts play a pivotal role in managing infrastructure and deployments: Meshery Models and Meshery Designs. Understanding their difference and their similarities will greatly increase your benefit from these two powerful, systems management paradigms.
Meshery Models
Meshery Designs
On the other hand, Meshery Designs are the practical implementations based on Meshery Models. They represent declarations of your infrastructure deployments, customized according to specific use cases, environments, and requirements. Meshery Designs allow you to create, manage, and deploy complex architectures seamlessly, leveraging the power and flexibility of Meshery Models as their foundation.
![](/static/five-legos-94699efabf99f5f9208a161510500a42.png)
Meshery Models (similar to Lego bricks)
Meshery Models are standardized packages that bundle components and characterize their relationships. Components are often representative of infrastructure, but can, in fact, represent anything (see semantically meaningful vs non-semantically meaingful components). Models uniformly wrap each component with a layer of metadata therein standardizing all entities (infrasturcture or otherwise) under a common interface much in the same way that the Industrial Revolution offered consistency of parts and interchangability of machinery, Meshery Components become fundamental building blocks. Components are like standard Lego bricks, window pieces, wheels that all snap together - or don't - depending upon way in which they relate to one another.
As versioned and portable pacakges, Models provide a structured, reusable, and extensible way to represent infrastructure components and their relationships, going beyond just code. This enables a more flexible and adaptable approach to modeling complex systems. are powerful Relationships and policies. contain Components cannot be directly used to build something complete on their own, but are standardized and reused across different Lego sets (instructions).
- Definition: Building blocks for infrastructure definition.
- Focus: Describe how to manage specific infrastructure types and their interactions.
- Content: Define properties, capabilities, and relationships for infrastructure components.
- Usability: Not directly deployable, but used as building blocks within Designs.
- Sharing: Can be packaged and shared for others to use in their Designs.
Meshery Models are like the individual Lego bricks - they define the building blocks for infrastructure with specific characteristics.
Meshery Designs (similar to Lego instructions)
Meshery Designs provide a collaborative blueprint for building a specific model using Lego bricks (Meshery Models). Designs define the structure and placement of the bricks to achieve the desired outcome. Desan be shared, versioned, and used as reference for building the same model.
In essence:![](/static/five-instructions-f61829b7e0796144ba049dc458f6ea20.png)
- Definition: Collaborative documents for infrastructure and application deployment.
- Focus: Describe the desired state of infrastructure for a specific deployment.
- Content: Use components (based on Models) and relationships to define your infrastructure.
- Usability: Designs are the deployable unit in Meshery.
- Sharing: Can be exported, versioned, shared, and published for reuse by others.
Meshery Designs are like the Lego instructions - they use Models (like bricks) to lay out the specific infrastructure deployment plan.
Analogy: Think of Models as Lego bricks (defining types of pieces) and Designs as Lego instructions (defining how to build something specific).
In summary, Meshery Models serve as the theoretical frameworks, while Meshery Designs translate these frameworks into tangible deployments, enabling you to design, deploy, and manage your infrastructure efficiently within the cloud and cloud native ecosystem.