Amazon Web Services (AWS)
Deploy and manage EC2 instances, S3 buckets, RDS databases, and VPC networking on AWS.
Supported Services
EC2 Compute, S3 Storage, RDS Databases, VPC Networking
Prerequisites
- AWS account with billing enabled
- IAM user with required permissions
- Access Key ID and Secret Access Key
1. Create IAM User
- Go to AWS IAM Console
- Click Users → Create user
- Select Programmatic access
- Attach policies: AmazonEC2FullAccess, AmazonS3FullAccess, AmazonRDSFullAccess, AmazonVPCFullAccess
- Save the Access Key ID and Secret Access Key
2. Connect to Docka
- Navigate to Providers in Docka
- Click Connect Provider → Amazon Web Services
- Enter Access Key ID, Secret Access Key, and Default Region
- Click Connect
EC2 Instance Types
| Type | vCPUs | Memory | Use Case |
|---|---|---|---|
| t3.micro | 2 | 1 GB | Development |
| t3.small | 2 | 2 GB | Light production |
| t3.medium | 2 | 4 GB | General purpose |
| m5.large | 2 | 8 GB | Production |
| m5.xlarge | 4 | 16 GB | High performance |
S3 Storage
- Storage Classes: Standard, Intelligent-Tiering, Glacier
- Versioning: Enable to keep multiple versions of objects
- Lifecycle Rules: Auto-transition to cheaper storage
RDS Databases
- Engines: PostgreSQL, MySQL, MariaDB, SQL Server
- Multi-AZ: Automatic failover for high availability
- Backups: Automated daily backups with point-in-time recovery
API Example
curl -X POST https://api.docka.dev/v1/servers \
-H "Authorization: Bearer $TOKEN" \
-d '{
"name": "web-server",
"provider_id": "aws-provider-id",
"region": "us-east-1",
"instance_type": "t3.small"
}'