Available regions
Your plan determines which AWS regions can run your beams.
- Pro: us-west-2, eu-central-1, ap-southeast-1
- Enterprise: us-west-2, us-east-1, eu-central-1, ap-south-1, ap-southeast-1, sa-east-1
Choose a region
For workloads that frequently access a database or service, choose a supported region close to that resource to reduce network latency. Pass its AWS region ID to --region.
Install the client tools and sign in
Beams is a Teleport project and uses official Teleport client tools.
The client tools include tsh to sign in and run commands, and tctl to administer your cluster if you have permission.
Cluster: example.beams.run. Edit this example to use your cluster name.
Install version 18.11.10 of the client:
Download and open the macOS installer, then follow its instructions.
curl -O https://cdn.teleport.dev/teleport-tools-18.11.10.pkg
open teleport-tools-18.11.10.pkgFor Linux x86-64, download and install the client tools:
curl -O https://cdn.teleport.dev/teleport-v18.11.10-linux-amd64-bin.tar.gz
tar -xzf teleport-v18.11.10-linux-amd64-bin.tar.gz
sudo ./teleport/installFor Windows x86-64, run these commands in PowerShell. Add the extraction directory ($env:LOCALAPPDATA\Teleport) to your user PATH to use tsh in future terminals; the last command adds it to this terminal's PATH.
Invoke-WebRequest -Uri https://cdn.teleport.dev/teleport-v18.11.10-windows-amd64-bin.zip -OutFile teleport.zip
Expand-Archive -Path teleport.zip -DestinationPath "$env:LOCALAPPDATA\Teleport" -Force
$env:Path += ";$env:LOCALAPPDATA\Teleport"Follow the official client tools install guide for other versions and architectures.
Check that you’re running v18.11.10 of the client with tsh version.
tsh versionI sign in without a password (e.g. a passkey).
tsh login --proxy='example.beams.run' --auth=passwordlessI have a password & MFA set up for my account:
Replace you@example.com with your Teleport username.
tsh login --proxy='example.beams.run' --user=you@example.comI sign in with SSO (e.g. Okta, GitHub, SAML).
tsh login --proxy='example.beams.run'Create a beam in a region
To start a beam in Frankfurt:
tsh beams add --region=eu-central-1Without --region, tsh beams add selects the closest region.
Build a phase in a region
To create a phase and start its build beam in Frankfurt:
tsh phase add workspace --region=eu-central-1If you define your phases in phase.yaml, pass the same flag when applying the configuration:
tsh phase apply -f phase.yaml --region=eu-central-1For tsh phase apply, --region sets the region for new phases. It does not move existing images.
When starting a beam from a saved phase, use the region where the phase image was built. Snapshots are region-locked:
tsh beams add --phase=workspace --region=eu-central-1