Manage Environments

Manage existing environments (collections) in Bluebricks. The bricks collection commands operate on collectionsarrow-up-right -- the platform's logical unit for organizing cloud infrastructure.

Prerequisites

  • Bluebricks CLI installed

  • Authenticated with Bluebricks (bricks login)

  • Existing environments (collections)

Environment Commands

Listing Environments

# List active environments
bricks collection ls

# List all environments (including inactive)
bricks collection ls --all

Environment Information

The bricks collection ls command displays:

  • GUID: Environment unique identifier

  • NAME: Environment display name

  • CLOUD PROVIDER: Connected cloud provider (AWS, GCP, Azure)

  • CLOUD ACCOUNT: Connected cloud account name

  • SLUG: Environment slug for commands

  • STATUS: Environment status and latest deployment

Enabling Environments

Disabling Environments

Deleting Environments

Environment Status

Status Indicators

  • DEFAULT: Environment is set as default

  • INACTIVE: Environment is disabled

  • Latest Deployment: Shows most recent deployment name and stage

Collection States

State
Description
Action Required

Active

Collection is enabled

Ready for deployments

Inactive

Collection is disabled

Enable before use

Default

Collection is the default target

Used when no --collection is specified

Environment Management

Setting Default Environment

Environment Organization

Environment Cleanup

Environment Examples

Development Workflow

Production Management

Environment Maintenance

Best Practices

Regular Maintenance

  • Review the environment list regularly

  • Disable unused collections

  • Delete collections when no longer needed

Collection Organization

  • Use descriptive names

  • Keep production collections separate

  • Use the default environment for development

Access Control

  • Monitor collection access via RBAC

  • Use appropriate permissions

  • Review collection status regularly

See also

Last updated

Was this helpful?