Integrations
AWS
Cloud infrastructure management for EC2, S3, and CloudWatch
The AWS connector provides 40 actions for managing Amazon Web Services infrastructure including compute, storage, and monitoring.
Setup
Connect via IAM Credentials
- Go to Settings → Integrations → AWS
- Click Connect
- Enter your AWS Access Key ID
- Enter your AWS Secret Access Key
- Select your default region
- Click Save
IAM Policy Requirements
Create an IAM user with the following policy:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"ec2:Describe*",
"ec2:StartInstances",
"ec2:StopInstances",
"ec2:RebootInstances",
"s3:GetObject",
"s3:PutObject",
"s3:ListBucket",
"cloudwatch:GetMetricData",
"cloudwatch:DescribeAlarms"
],
"Resource": "*"
}
]
}Available Actions (40)
EC2 (Compute)
| Action | Description |
|---|---|
| List instances | Get all EC2 instances |
| Get instance | Instance details and status |
| Start instance | Start a stopped instance |
| Stop instance | Stop a running instance |
| Reboot instance | Restart an instance |
| Get instance metrics | CPU, memory, network stats |
S3 (Storage)
| Action | Description |
|---|---|
| List buckets | Get all S3 buckets |
| List objects | Files in a bucket |
| Get object | Download file content |
| Put object | Upload a file |
| Delete object | Remove a file |
| Get bucket size | Storage usage stats |
CloudWatch (Monitoring)
| Action | Description |
|---|---|
| List alarms | Get all CloudWatch alarms |
| Get alarm | Alarm details and history |
| Get metrics | Query metric data |
| Describe log groups | List log groups |
| Get log events | Retrieve log entries |
Use Cases
Server Down
Customer: "Our production server seems unresponsive"
AI:
1. Calls get_instance(i-abc123)
2. Checks status: running but high CPU
3. Retrieves CloudWatch metrics
4. Reports: "CPU at 98% for 15 min"
5. Offers to reboot if authorizedStorage Alert
Customer: "Getting storage full errors"
AI:
1. Calls get_bucket_size(prod-assets)
2. Finds bucket at 95% capacity
3. Lists largest objects
4. Provides cleanup recommendationsConfiguration
- Region: Default AWS region for operations
- Instance access: Which EC2 instances AI can manage
- Write permissions: Enable/disable start/stop actions
- S3 buckets: Whitelist of accessible buckets