Skip to main content

Installing Teleport on Amazon EC2

Report an Issue

We provide pre-built amd64 and arm64 Amazon Linux 2023 based EC2 AMIs with Teleport pre-installed.

These images are primarily intended for deploying a Teleport cluster using our reference Terraform code.

See the AWS Single-Instance Deployment and the Running Teleport Enterprise in High Availability mode on AWS using Terraform guides for detailed usage examples.

warning

Pre-built Teleport AMIs are only configured to run the Auth Service, Proxy Service, and SSH Service, and are not intended to run as Teleport Agents.

In order to use these AMIs outside of the reference Terraform, you can configure the Teleport installation by setting configuration variables in the /etc/teleport.d/conf file on the EC2 instance. See the Starter Cluster Configuration Template for a list of the available configuration options.

The team at Teleport automatically builds and publishes Teleport Community Edition, Enterprise, and Enterprise FIPS AMIs when we release a new version of the software. The AMI names follow the format: teleport-<type>-<version>-<arch>-<timestamp>, where:

  • <type> is either oss (Teleport Community Edition) or ent (Teleport Enterprise).
  • <version> is the version of Teleport, e.g. 19.0.0-dev.
  • <arch> is either x86-64 or arm64. The x86 architecture is spelled with a hyphen, not an underscore.
  • <timestamp> is the time the image was built, e.g. 20250101-120000UTC.

FIPS 140 compatible AMIs (which deploy Teleport in FIPS mode by default) have the -fips suffix after <arch>, e.g. teleport-ent-19.0.0-dev-x86-64-fips-20250101-120000UTC.

Choose an AMI name pattern

Because every AMI name ends with a build timestamp, a name without a wildcard (*) does not match any AMI. When you need to supply an AMI name, such as the ami_name variable in our reference Terraform modules, use one of the following patterns:

EditionArchitectureFIPS supportAMI name pattern
Community Editionx86-64 (amd64)Noteleport-oss-19.0.0-dev-x86-64-2*
Community Editionarm64Noteleport-oss-19.0.0-dev-arm64-2*
Enterprisex86-64 (amd64)Noteleport-ent-19.0.0-dev-x86-64-2*
Enterprisearm64Noteleport-ent-19.0.0-dev-arm64-2*
Enterprisex86-64 (amd64)Yesteleport-ent-19.0.0-dev-x86-64-fips-2*
Enterprisearm64Yesteleport-ent-19.0.0-dev-arm64-fips-2*

Keep the following in mind when you use a pattern:

  • The 2* ending matches the build timestamp, which begins with the year. It also keeps a non-FIPS pattern from matching FIPS images, since -fips comes directly after the architecture in a FIPS image name.
  • Put the pattern in quotes when you use it in a shell command or environment variable. Otherwise, your shell may expand the *.
  • An arm64 AMI only runs on an arm64 instance type, such as t4g.micro.

List the available AMIs

The AWS account ID that publishes these AMIs is 146628656107. To check which AMIs are available in your region, or to confirm that a pattern matches, run one of the awscli commands below. Each command prints the names of the matching AMIs in JSON format. Remove the --query flag to see the full details of each AMI, including its ID.

List Teleport AMIs

Community Edition AMIs

aws --region us-west-2 ec2 describe-images --owners 146628656107 --filters 'Name=name,Values=teleport-oss-19.0.0-dev-*' --query 'Images[*].Name'

Enterprise AMIs

aws --region us-west-2 ec2 describe-images --owners 146628656107 --filters 'Name=name,Values=teleport-ent-19.0.0-dev-x86-64-2*,teleport-ent-19.0.0-dev-arm64-2*' --query 'Images[*].Name'

Enterprise FIPS AMIs

aws --region us-west-2 ec2 describe-images --owners 146628656107 --filters 'Name=name,Values=teleport-ent-19.0.0-dev-*-fips-*' --query 'Images[*].Name'

If a command returns an empty list ([]), no AMI matches in that region. Check the following:

  • The Teleport version in the filter is a released version.
  • The --region flag is set to the region you plan to deploy to. AMI IDs are different in each region.
  • The architecture is spelled x86-64 or arm64.

Search for AMIs by name, not by tag. AWS only shows an AMI's tags to the account that owns the AMI, so tag filters return no results for Teleport AMIs.

All images are based on Amazon Linux 2023 and have been hardened using the Amazon EC2 ImageBuilder STIG hardening component. Teleport AMIs are automatically published to all non-opt-in AWS regions.