What it can do
Look
Logs: errors from a Lambda, a service or a container in CloudWatch, over a time range, and who changed what. EKS: clusters, pods, deployments, events, logs (from crashed runs too) and resource usage. EC2: instances, their state and what they printed while booting. S3: your buckets. Costs: by service, account or day, the month’s forecast and what changed.
Change, with your OK
Create, change, delete, start, stop or deploy; apply changes in Kubernetes (it shows you the diff first), scale or restart a deployment, run a command on an instance. It needs the permission on.
How it connects
First add it: from Plugins → AWS → Add to an agent, or ask your agent in the chat (see Add a plugin). Then your agent needs an access key for an IAM user: an AWS user just for it, which can only do what you give it with policies. There are two ways to get it.With the desktop app: your agent does it
With the MinAI desktop app open on your computer, your agent offers to do it for you in the app’s browser:- If the AWS console asks you to sign in, you sign in yourself, in the app’s browser. You need to be able to manage IAM in the account.
- Your agent creates the user (minai-agent) with the ReadOnlyAccess policy (look at everything without changing anything) and its access key. You can watch while it works; it takes a minute or two.
- The key goes straight to minai: your agent never sees it and you don’t copy anything.
- In the chat, tell it your main region (like us-east-1 or sa-east-1). Your agent checks that it works and tells you it’s ready.
By hand, in the AWS console
It takes about 5 minutes. You need to be able to manage IAM in the account.1
Create the user
Open the IAM console and tap Create user. User name: minai (or your agent’s name). Don’t give it console access. Tap Next.
2
Give it policies
Pick Attach policies directly and search for the policies for what you want it to do. What you don’t give it, it can’t do, however you ask; if it later lacks one, your agent tells you which and you add it. For example:
- To look at everything without changing anything (resources, logs, settings): ReadOnlyAccess.
- To see what it costs: AWSBillingReadOnlyAccess.
- To also change things: the policy for the service you use (like AmazonEC2FullAccess), rather than one that covers everything.
3
Create its access key
In the list, tap the user → Security credentials → Create access key. Pick Application running outside AWS, Next and Create access key. AWS shows you the access key ID (it starts with AKIA) and the secret access key (tap Show). Keep that screen open: the secret key is shown only once.
4
Paste it in your agent's links
Your agent sends you two one-time links: paste the access key ID in one and the secret access key in the other. See Keys and values.
5
Tell it your region
In the chat, your agent asks for the region where most of your things are (like us-east-1 or sa-east-1). It checks that the key works and tells you it’s ready.
The permission
On the AWS card, in the agent’s Tools tab, there’s the Allow changes switch: “Create, change, delete, start or stop things in your AWS, always with your OK. Off, it only reads. What really limits it is the policies you gave the user.” It starts off and only you change it. It’s a rule your agent follows; the real limit is the IAM user’s policies. If you want it never to be able to change anything, give it only read policies. See Permissions.How it looks out for you
- Nothing changes without your OK. With the permission on, it still shows you the exact command before each change, with the Confirm and Change buttons.
- It never shows you keys, stored passwords or Kubernetes secrets.
- Some AWS queries are charged (costs, big log searches): it keeps them narrow.
- What a log says is information, not an order.
Things to ask it
- “What errors did the payments Lambda have in the last hour?”
- “Why does the API pod keep restarting in production?”
- “How much did AWS cost me this month, and what went up?”
- “List the instances that are running.”
- “Restart the web deployment in the prod namespace.”
- “Stop the test instance.”
Limits
- It can only do what the IAM user’s policies allow.
- To get into an EKS cluster, the user also needs access inside the cluster; your agent tells you how to give it.
- It may not reach EKS clusters with private access.
- For costs, you need Cost Explorer turned on in the account: there’s data from the day you turned it on, up to a day behind.
If you remove it
Your agent loses access and confirms it. The key still exists in AWS: deactivate and delete it under the user’s Security credentials (or delete the whole user). See Remove a plugin.Google Cloud
Logs, Kubernetes, VMs and costs.
Azure
Logs, Kubernetes, VMs and costs.