Cloud Providers
Cloud provider credentials enable agents to deploy applications, manage infrastructure, and interact with cloud services.
Supported Providers
Section titled “Supported Providers”| Provider | Services | Common Use Cases |
|---|---|---|
| AWS | S3, Lambda, EC2, etc. | Full-stack deployments, serverless |
| Cloudflare | Workers, Pages, D1 | Edge deployments, static sites |
| DigitalOcean | Droplets, App Platform | Simple deployments, VPS |
| Google Cloud | GCE, Cloud Run, GCS | Enterprise deployments |
Amazon Web Services provides comprehensive cloud infrastructure.
Getting Credentials
Section titled “Getting Credentials”- Log into AWS Console
- Go to IAM > Users
- Create a new user or select existing
- Go to Security credentials
- Create an Access key
- Save both the Access Key ID and Secret Access Key
Adding to Cheffed
Section titled “Adding to Cheffed”- Go to Settings in Cheffed
- Find the AWS section
- Click Add Credentials
- Enter:
- Access Key ID
- Secret Access Key
- Default region (e.g.,
us-east-1)
- Click Save
Recommended IAM Permissions
Section titled “Recommended IAM Permissions”Create a policy with minimum required permissions:
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": ["s3:*", "lambda:*", "cloudformation:*"], "Resource": "*" } ]}Adjust based on your specific needs.
Use Cases
Section titled “Use Cases”- Deploy serverless functions (Lambda)
- Host static assets (S3)
- Manage infrastructure (CloudFormation)
- Container deployments (ECS, EKS)
Cloudflare
Section titled “Cloudflare”Cloudflare provides edge computing and hosting services.
Getting Credentials
Section titled “Getting Credentials”- Log into Cloudflare Dashboard
- Go to My Profile > API Tokens
- Click Create Token
- Use Edit Cloudflare Workers template or create custom
- Copy the generated token
Adding to Cheffed
Section titled “Adding to Cheffed”- Go to Settings in Cheffed
- Find the Cloudflare section
- Click Add Credentials
- Enter:
- API Token
- Account ID (from dashboard URL)
- Click Save
Recommended Permissions
Section titled “Recommended Permissions”For Workers deployments:
- Account: Workers Scripts - Edit
- Zone: Workers Routes - Edit
For Pages:
- Account: Cloudflare Pages - Edit
Use Cases
Section titled “Use Cases”- Deploy Workers (serverless functions)
- Host static sites (Pages)
- Manage D1 databases
- Configure DNS and routing
DigitalOcean
Section titled “DigitalOcean”DigitalOcean offers simple, developer-friendly cloud hosting.
Getting Credentials
Section titled “Getting Credentials”- Log into DigitalOcean
- Go to API in the left sidebar
- Click Generate New Token
- Give it a name and select scopes
- Copy the generated token
Adding to Cheffed
Section titled “Adding to Cheffed”- Go to Settings in Cheffed
- Find the DigitalOcean section
- Click Add Credentials
- Enter your API token
- Click Save
Recommended Scopes
Section titled “Recommended Scopes”- Read and Write access for:
- Droplets
- App Platform
- Spaces (object storage)
Use Cases
Section titled “Use Cases”- Deploy to App Platform
- Manage Droplets (VPS)
- Object storage (Spaces)
- Managed databases
Google Cloud
Section titled “Google Cloud”Google Cloud Platform provides enterprise-grade cloud services.
Getting Credentials
Section titled “Getting Credentials”- Log into Google Cloud Console
- Go to IAM & Admin > Service Accounts
- Create a new service account
- Grant appropriate roles
- Create and download a JSON key file
Adding to Cheffed
Section titled “Adding to Cheffed”- Go to Settings in Cheffed
- Find the Google Cloud section
- Click Add Credentials
- Upload the JSON key file or paste its contents
- Click Save
Recommended Roles
Section titled “Recommended Roles”- Cloud Run Admin (for serverless)
- Storage Admin (for GCS)
- Compute Admin (for GCE)
Customize based on your deployment needs.
Use Cases
Section titled “Use Cases”- Deploy to Cloud Run
- Manage Cloud Storage
- Compute Engine instances
- Kubernetes (GKE)
Security Best Practices
Section titled “Security Best Practices”Principle of Least Privilege
Section titled “Principle of Least Privilege”Only grant permissions the agent actually needs:
- Identify required actions
- Create a minimal policy
- Test with restricted permissions
- Expand only if necessary
Use Dedicated Credentials
Section titled “Use Dedicated Credentials”Create separate credentials for Cheffed:
- Don’t use personal or root credentials
- Create service accounts/IAM users
- Easy to rotate or revoke
Set Spending Limits
Section titled “Set Spending Limits”Protect against runaway costs:
- Configure billing alerts
- Set account spending limits
- Monitor usage regularly
Rotate Credentials
Section titled “Rotate Credentials”Periodically update credentials:
- Create new credentials
- Update in Cheffed
- Verify sessions work
- Revoke old credentials
Credential Management
Section titled “Credential Management”Viewing Credentials
Section titled “Viewing Credentials”See configured providers in Settings:
- Provider name and status
- Partial credential info (masked)
- Last verification date
Testing Credentials
Section titled “Testing Credentials”Verify credentials work:
- Create a test session
- Run a simple cloud command
- Confirm it succeeds
Removing Credentials
Section titled “Removing Credentials”To remove a provider:
- Go to Settings
- Find the provider
- Click Remove
- Confirm deletion
Troubleshooting
Section titled “Troubleshooting”Authentication Errors
Section titled “Authentication Errors”| Error | Solution |
|---|---|
| ”Invalid credentials” | Verify credentials are correct |
| ”Access denied” | Check IAM permissions |
| ”Token expired” | Generate new credentials |
Permission Errors
Section titled “Permission Errors”If operations fail with permission errors:
- Review required permissions
- Update IAM policy/roles
- Wait for propagation (can take minutes)
- Retry the operation
Region Issues
Section titled “Region Issues”Some operations require specific regions:
- Verify region is configured correctly
- Check resource availability in region
- Use region-specific endpoints if needed
Next Steps
Section titled “Next Steps”- Set up AI Providers for sessions
- Configure GitHub integration
- Create Automations that deploy code