First Session with boundary dev
Start Boundary Community Edition 0.21.3 in dev mode against host PostgreSQL-16, authenticate with the CLI, and complete a first TCP session with the connect ssh helper.
Lab Overview
This is the hands-on lab for Section 4 of the Boundary 101 course. Setup already installed pinned Boundary Community Edition 0.21.3 and PostgreSQL-16 on one Ubuntu VM. You start boundary dev, authenticate, and complete a first session. This is not a production cluster.
You will:
- Confirm the 0.21.3 pin and start boundary dev with -database-url against
host PostgreSQL-16 (an empty URL starts Docker Postgres, and this lab does not install Docker)
- Authenticate with the generated password method using -keyring-type=none,
then inspect default scopes, auth methods (ampw, amoidc, amldap), and the generated TCP targets (ttcp_*)
- Connect to the generated TCP target on 127.0.0.1 port 22 with
boundary connect ssh and the VM-local ed25519 key, then list and cancel the session
- Confirm the client cache daemon with boundary cache status after a CLI
command has started it
boundary connect ssh is a helper on a TCP target. Do not run boundary targets create ssh. The Admin Console on HTTP port 9200 exists in dev mode and is not scored.
What You'll Learn
Start boundary dev against host PostgreSQL-16 with -database-url and confirm the 0.21.3 binary
Authenticate the Linux CLI with -keyring-type=none and export BOUNDARY_TOKEN
List generated scopes, password plus OIDC plus LDAP auth methods, and TCP targets (ttcp_*)
Connect to the generated TCP target with the connect ssh helper and a VM-local key
List and cancel a session, then confirm the client cache with boundary cache status
Prerequisites
Completion of the Boundary 101 Section 4 (First Session: CLI, Dev Mode, and Connect) lessons
Basic Linux command line (bash, ssh, curl)
Technologies Covered
Choose your plan
Simple, Transparent Pricing
Unlock full access to TeKanAid courses, labs, and bootcamps
Just exploring? Start free below. Want the full experience? Try Premium free for 7 days (card required, $0 today).
Pro
All courses, with lab scripts to run on your own machine
Renews automatically. Cancel anytime.
Final price verified at checkout.
- Full access to all courses
- Lab scripts to download and run on your own machine (hosted labs not included)
- Progress tracking
- Certificate of completion
- Community access
- Self-paced bootcamps
- Premium puzzle library not included (5 free puzzles available)
- New content access
Premium
Full access, including unlimited hosted labs
Renews automatically. Cancel anytime.
Final price verified at checkout.
- Everything in Pro
- Unlimited hands-on labs, fully hosted on TeKanAid Academy (nothing to set up)
- Full access to the puzzle library
- Lab AI Assistant
- Priority support
Prefer a single course?
Purchase individual courses for a one-time fee of $79. Full access to course content, quizzes, certificates, and community features, lab access is not included.
Browse CoursesJust exploring? Start free, no account needed
Three free ways to start. All bridge into the paid Premium catalog when you're ready.
Not ready to commit? The crash course is email-only. No academy account required.
Ready to Get Started?
Start this hands-on lab and build real-world Platform Engineering skills
Get Access Now