# AWS

Discover AWS resources with Teleport and access them from a beam.

## How it works

The Teleport Discovery Service uses AWS IAM permissions to find supported resources, such as EC2 instances, RDS databases, and EKS clusters. It matches resources in the regions and with the tags you configure. Enrollment then makes those resources available in Teleport.

A beam uses its delegated Teleport roles to connect to enrolled resources through the relevant Teleport service. The beam doesn't need the AWS IAM permissions used for discovery.

<!-- illustration
id: beam-aws-discovery
style: docs-isometric
type: static
title: From AWS discovery to beam access
description: Teleport discovers matching resources separately from the connections a beam makes.

Show two labelled flows. In Discovery, matching AWS resources flow from AWS APIs through the Teleport Discovery Service into the Teleport resource catalog. In Access, the Beams runtime uses delegated roles and connects through a Teleport access service to an enrolled AWS resource. Both flows run in reading order. Do not draw a beam querying the cloud APIs or sending traffic through the Discovery Service.
-->

## Set up discovery

See [Teleport Auto-Discovery](https://goteleport.com/docs/enroll-resources/auto-discovery/) for IAM, agent setup, and enrollment instructions for each AWS resource type.
