Skip to main content

Components, Instances & Deployments

Components​

A component is a bundle added to a project's blueprint for one use case. Components were previously called manifests.

A project can use one bundle for several components. For example, the aws-elasticache-redis bundle can be one component for user-sessions and another for caching.

Below, an SNS Topic is added to a project to track created orders in an e-commerce application.

Instances​

An instance is a component in one environment, such as production or US West. It is the intersection of an environment and a component. Instances were previously called packages.

The instance ID is <project>-<environment>-<component>, for example ecomm-prod-db. Massdriver also gives each instance a name prefix for the cloud resources it creates, from the organization's naming convention. The instance ID is on the instance's Overview tab under Identifiers → Instance ID.

Instance details panel

Click a component on the canvas to open its instance. The instance panel has these tabs: Overview, Config, History, Signals, Secrets (when the bundle declares secrets), Monitor, Guide, Dependencies, and Resources.

Alarms​

The Monitor tab lists the instance's alarms. See Monitoring & Alarms for how bundles declare them.

Resources​

The Resources tab lists the resources the instance produced and the instances that consume each one. Expand a resource with Show resource data to see its payload, with sensitive fields masked. Each resource's menu has Copy resource ID and Download as JSON/YAML….

Deployments​

A deployment is the record of one attempt to provision, plan, or decommission an instance. Massdriver keeps every deployment. See Deployments for statuses, the queue, and approvals.

Deployment comparison​

On an instance's History tab, click Compare deployments and pick two. Massdriver shows the params and bundle version side by side. Toggle Hide identical or search by path. mass deployment compare does the same from the CLI.

Lifecycle​

BUNDLEPostgreSQLversioned IaC packageCOMPONENTuser-dba bundle on aproject's blueprintINSTANCEuser-db in proda component in oneenvironmentDEPLOYMENTprovision #42one provision, plan,or decommission
  1. Bundle: a reusable infrastructure template, such as "PostgreSQL Database"
  2. Component: a bundle added to a project for one purpose, such as "User Database"
  3. Instance: a component in one environment, such as "User Database in Production"
  4. Deployment: one provision, plan, or decommission of that instance