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

  1. Go to AWS IAM Console
  2. Click Users → Create user
  3. Select Programmatic access
  4. Attach policies: AmazonEC2FullAccess, AmazonS3FullAccess, AmazonRDSFullAccess, AmazonVPCFullAccess
  5. Save the Access Key ID and Secret Access Key

2. Connect to Docka

  1. Navigate to Providers in Docka
  2. Click Connect Provider → Amazon Web Services
  3. Enter Access Key ID, Secret Access Key, and Default Region
  4. Click Connect

EC2 Instance Types

TypevCPUsMemoryUse Case
t3.micro21 GBDevelopment
t3.small22 GBLight production
t3.medium24 GBGeneral purpose
m5.large28 GBProduction
m5.xlarge416 GBHigh 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"
  }'