---
title: "Create a cloud action - AWS"
slug: "create-a-cloud-action-aws"
description: "Create an AWS cloud action to discover assets across your AWS environment and inventory cloud infrastructure such as EC2 instances, RDS, and S3 buckets."
updated: 2026-07-30T12:48:53Z
published: 2026-06-19T18:13:27Z
canonical: "docs.lansweeper.com/create-a-cloud-action-aws"
stale: true
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lansweeper.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a cloud action - AWS

Create an AWS cloud action to discover assets across your AWS environment. This lets Lansweeper inventory your cloud infrastructure (such as EC2 instances, RDS databases, and S3 buckets), so you can track resources, improve visibility, and maintain accurate asset data across hybrid environments.

## Prerequisites

- You have completed the steps in [Prepare AWS for Cloud Discovery](/v1/docs/prepare-aws-for-cloud-discovery)
- Your **Main account role ARN** and **Reading roles name**

## Create an AWS cloud action

1. In your Lansweeper Site, go to **Discovery > Actions**.
2. Select **Create action**.
3. Select **Cloud** as the action type, and **Amazon Web Services (AWS)** as the cloud source.
4. Select **Create**.
5. Enter your **Main account role ARN** and **Reading roles name**.
6. Select either **Standalone account** or **Organization**.
7. Select **List accounts**.
8. Choose the AWS accounts you want to add to the discovery action.
9. Under **Asset types**, select which workloads to scan.
10. Under **Regions**, select the regions to include in the scan.
11. Optionally, select **Add tag** **filter** to include or exclude resources with specific tags.
12. Select **Create trigger**.
13. Select **Instant** to run at a scheduled time on select days. Enter the name, time, and days you prefer.
14. Finally, select **Save and finish**.
