Skip to main content

Amazon Web Services (AWS)

This section explains how to create and test a AWS datasource in DataDios.


Steps to Create and Test AWS Datasource​

  1. Navigate to Data Explorer from the left navigation menu.

  2. Click + Add connection in the top-right corner. The Create data source dialog opens.

  3. Under Identity, enter a Name and select AWS_service from the searchable Type dropdown. It is listed under the Infrastructure category.

    Create data source dialog

  4. In the Connection Parameters section, fill in:

    • AWS Access Key ID: the access key DataDios signs in with
    • AWS Secret Access Key: the secret key that goes with it
    • Region Name: the AWS region to read, for example us-west-2

    If your deployment has a secret store set up (AWS Secrets Manager or Azure Key Vault), a Select Secret Source field also appears. Choose Direct Input to type the secret key, or From Secret Store to use a stored one.

  5. Click Test Connection, then Create. The new connection appears in the Sources list.

Only need files in S3?

To browse the files in S3 buckets, use the Amazon S3 type instead. It is listed under Folder. See S3 Bucket.

View Metadata about Datasource Items​

Click the connection's name to list its resources, such as EC2 instances and RDS databases. Open one to see its Metadata and Queries tabs. A History tab is also there, but it shows no data yet.

RDS Parameter Groups and Instance Configuration​

Under each region's <region> - RDS row, next to the databases, a connection can also list two kinds of items: parameter groups (named like mydb-params (parameter group)) and instance configuration (named like mydb (configuration)). Open one to see the Configuration and History tabs. DataDios reads them on each metadata sync, so run a sync first.

ItemWhat the Configuration tab shows
Parameter groupThe parameters you have set in the group, with value and apply type. A static parameter shows Restart needed, because it takes effect only after a reboot. A default group has no parameters of yours, so it is empty.
Instance configurationThe settings of the database instance, one row per setting. What the instance reports about its own state (status, pending changes, latest restorable time) is shown but never counted as a change.

Values that can hold a secret, such as a password, are never stored. Settings about password rules (for example password_encryption) are stored.

The tab works as described for PostgreSQL server settings: search by name, Changed badges, and a Unlisted filter. It is read-only.

Permission needed

Reading a parameter group needs rds:DescribeDBParameters. Without it, that group cannot be read and the sync says it was unable to read the parameter group, with the AWS error code. The other items still sync.

note

If AWS refuses the RDS listing for a region, the sync says "RDS access denied: removed objects were not checked." DataDios keeps the RDS items it already has for that region instead of treating them as removed.

The first metadata sync after the upgrade that adds this tab has no earlier settings to compare with, so each AWS source raises one drift alert for them. It does not repeat. A sync that cannot read an item says how many objects could not be compared, instead of reporting no change.

Turning on/off AWS Services using DataDios​

An EC2 instance or RDS database row has a Start instance action when it is stopped, and Stop instance when it is running. Starting and stopping happen in the background. Use Refresh instance to load its current status.

Accounts and owners​

Alongside its resources, an AWS source lists its IAM accounts in the catalog:

  • Users, roles and groups from IAM. Each user also shows the groups it belongs to.
  • An EC2 instance gets an owner when its Owner tag matches a listed IAM user name exactly (case-insensitive). No fuzzy or email matching is done, and no owner is taken from an S3 bucket ACL — every bucket reports the same AWS account root, so it is not a meaningful owner.

A resource with no matching Owner tag simply has no owner link. Accounts carry the same metadata view as any other item; there is no separate drill-in for them.

Required IAM permissions​

To list accounts, the access key needs these read-only IAM permissions, in addition to whatever it already needs to list resources:

  • iam:ListUsers
  • iam:ListGroups
  • iam:GetGroup
  • iam:ListRoles

No other consent is required.

If the key lacks these permissions, the resource listing still succeeds — only the accounts are skipped. Accounts listed by an earlier successful sync are kept, not removed, so a temporary permission or throttling problem does not wipe them from the catalog.