Files
threshold/website/content/docs/getting-started/dev-mode/index.mdx
T
Dan HeathandRobin Beck 5ce6515156 docs: IA reorganization (#5838)
* docs: IA reorganization

* docs: Updates

* docs: Updates

* docs: Fix links

* docs: Updates

* docs: Fix a typo

* docs: Fix client agent topic

* docs: Update Client Agent nav

* docs: Fix conflict

* docs: Fix a typo in Client Agent docs (#5853)

* docs: Fix client agent topic

* docs: Updates

* docs: Updates

* docs: Updates

* docs: Updates

* docs: Fixes get started and operations links

* docs: Update nav

* docs: Partials

* docs: Unix partials

* docs: Worker partials

* docs: Updates

* docs: Update workers and targets

* docs: Updates

* docs: Updates

* docs: Fixes link

* docs: Updates after sync review

* docs: Updates from review feedback

* docs: Move worker filter examples

* docs: Fix links

* docs: Updates for filters based on working session

* docs: Fixes broken links

* docs: Add links to other filter topics

* docs: Update list intro

* docs: Adds link

* docs: Fixes redirects

* docs: Fixes redirects

* docs: Deleted mysql page from TOC

* docs: Add versioned redirect

* docs: Adds versioned redirects

* docs: Adds versioned redirects

* docs: Update redirects

* docs: Update redirects

* docs: Redirect fixes

* docs: Update redirect format

* docs: Fix a typo

* docs: Fixes redirects

* docs: Fixes redirect

* docs: Adds links out to client agent troubleshooting

* uses /etc/boundary.d/ as recommended installation directory (#6003)

* docs: Updates legacy io links

* docs: Fixes redirects

* docs: Fix redirect

* docs: Restoring deleted file

---------

Co-authored-by: Robin Beck <stellarsquall@users.noreply.github.com>
2025-09-03 15:45:38 -04:00

71 lines
3.3 KiB
Plaintext

---
layout: docs
page_title: What is dev mode?
description: >-
Learn about Boundary's dev mode and how it enables you to quickly deploy a temporary, pre-configured Boundary environment for testing and learning purposes.
---
# What is dev mode?
Dev mode is a method for getting started with Boundary quickly for testing and
learning purposes. As the name implies, dev mode is not a production
installation method, and provides a way to get Boundary running with a Postgres
database easily.
Do not use dev mode in a production environment, refer to the following sections for production-ready deployment methods:
- [Deploy Boundary in a self-managed environment](/boundary/docs/deploy/self-managed)
- [Deploy HCP Boundary](/boundary/docs/hcp/get-started/deploy-and-login)
- [Terraform patterns for Boundary](/boundary/docs/deploy/terraform-patterns)
Dev mode brings up a fully-functioning instance of Boundary, including:
- A controller server
- A worker server
- A Postgres database
These components should all be considered ephemeral - no data persistence occurs
across dev mode restarts. Along with these external components, dev mode also
creates several resources within Boundary to make it easier and faster to
connect to your first target:
1. An org [scope](/boundary/docs/domain-model/scopes) and a project scope with a
default ID of `o_1234567890` and `p_1234567890` respectively.
1. A password [auth method](/boundary/docs/domain-model/auth-methods) with a
default auth method ID of `ampw_1234567890`.
1. An OIDC [auth method](/boundary/docs/domain-model/auth-methods) with a
default auth method ID of `amoidc_1234567890`.
1. An admin user with login name `admin` and password `password`.
1. An unprivileged user with login name `user` and password `password`.
1. A static [host catalog](/boundary/docs/domain-model/host-catalogs) with a
default ID of `hcst_1234567890`.
1. A static [host](/boundary/docs/domain-model/hosts) and [host
set](/boundary/docs/domain-model/host-sets) with default ID's of
`hst_1234567890` and `hsst_1234567890` respectively.
1. A TCP [target](/boundary/docs/domain-model/targets) with a default ID of
`ttcp_1234567890`, directly set-up with an address and port.
1. A TCP [target](/boundary/docs/domain-model/targets) with a default ID of
`ttcp_0987654321` using the previously mentioned static host set.
The default ID suffixes can be overwritten or randomly generated, and there are
many other dev mode controls. To see a complete list of these override flags,
consult `boundary dev -h`.
If you plan on provisioning a large number of resources in dev mode, it's
strongly recommended that users leverage our [Terraform Provider for
Boundary](https://github.com/hashicorp/terraform-provider-boundary) for managing
configuration of Boundary. This will simplify starting up and shutting down your
Boundary dev instance.
## Requirements
There are a few requirements for running dev mode:
- [Docker](https://docs.docker.com/get-docker/) is installed
- A route to download the [Postgres Docker
image](https://hub.docker.com/_/postgres) is available or a local image cache
is available
- A [Boundary binary](/boundary/downloads) in your `$PATH`
- _Optionally_, an [installation of Boundary
Desktop](/boundary/tutorials/oss-getting-started/oss-getting-started-desktop-app)
if you want to use the desktop examples