For the complete documentation index, see llms.txt. This page is also available as Markdown.

AWS Infrastructure Setup and AWS CLI Configuration

Set up your EC2 instance and configure the AWS CLI to authenticate with Hivel's container registry.

Provision EC2 Instance

  1. In AWS Console, launch a new EC2 instance.

  2. Choose Ubuntu 22.04 LTS or later.

  3. Instance type: t3.xlarge (4 vCPU, 16GB RAM).

  4. Storage: 50GB gp3 EBS volume.

  5. Security group: Allow inbound on ports 22, 80, 443, 3000, 4317 (required only if integrating Claude Code) and 5432.

  6. Note the instance's public/private IP address.

  7. SSH into the instance to confirm access.

Install Required Software

SSH into your instance and run:

Verify Software Installation

After logging back in, each --version command should print a version string with no errors. If docker commands still ask for sudo after logging back in, run newgrp docker or reboot the instance.

Configure AWS CLI

  1. Run aws configure on the VM.

  2. Enter the values when prompted:

    • AWS Access Key ID: [Hivel-provided access key]

    • AWS Secret Access Key: [Hivel-provided secret key]

    • Default region name: ap-south-1

    • Default output format: json

Verify AWS CLI Configuration

This should return a JSON object with your AWS account details (Account, UserId, Arn). If it fails with "Unable to locate credentials," re-run aws configure and verify with cat ~/.aws/credentials.

Last updated