Creating Collections

Create collections from the Bluebricks app or CLI to organize infrastructure by team, project, or lifecycle stage

Overview

Collections organize infrastructure into clear units that match how teams actually work. You can create separate collections for projects, teams, or lifecycle stages such as development, staging, and production. Each collection provides the foundation for environments by holding shared settings and rules.

Example of creating a collection with AWS

How to create a collection via the Bluebricks app

  1. Click Create Collection

  2. Enter a name for the collection

  3. Select the cloud provider(s) to connect

    1. Haven't connected your cloud accounts yet? Learn how to connect your cloud

  4. Configure any required settings, permissions, and secrets

  5. Click Create to finalize the setup

How to create a collection via the CLI

You can create a new collection using the Bricks CLI (refer to Bricks CLI Installation Guide if you haven't installed it yet):

A successful creation displays a confirmation message with the new collection ID:

To set the new collection as the default target for commands that don't specify --collection:

Naming conventions

  • Use clear, descriptive names: production, staging, development

  • Include team or project context when needed: team-alpha-production

  • Follow a consistent pattern across your organization: {project}-{stage}

circle-info

After creating a collection, connect a cloud account before deploying. See Connect your Cloud. To manage existing collections (list, enable, disable, delete), see Managing Collections.

Last updated

Was this helpful?