Hanzo

AWS EC2

Launch and manage AWS EC2 instances from the Hanzo Platform dashboard.

Hanzo Platform integrates directly with the AWS EC2 API, letting you provision instances, manage security groups, and monitor resources without touching the AWS console.

Prerequisites

  • An AWS account with an IAM user or role
  • Permissions: ec2:*, iam:PassRole (scoped to your deployment)
  • API credentials added in Settings > Cloud Providers > AWS

Connecting Your AWS Account

Create an IAM Policy

Create a policy with the minimum required permissions:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "ec2:RunInstances",
        "ec2:TerminateInstances",
        "ec2:DescribeInstances",
        "ec2:DescribeImages",
        "ec2:DescribeSecurityGroups",
        "ec2:CreateSecurityGroup",
        "ec2:AuthorizeSecurityGroupIngress",
        "ec2:CreateVolume",
        "ec2:AttachVolume",
        "ec2:DetachVolume",
        "ec2:DeleteVolume",
        "ec2:DescribeVolumes",
        "ec2:CreateTags"
      ],
      "Resource": "*"
    }
  ]
}

Create Access Keys

Generate an access key pair for the IAM user and add them in Settings > Cloud Providers > AWS.

Verify Connection

The dashboard will list available regions and instance types once credentials are validated.

Supported Instance Types

TypevCPUsMemoryUse Case
t3.micro21 GBDev/test
t3.medium24 GBSmall apps
m6i.large28 GBProduction workloads
m6i.xlarge416 GBDatabases, APIs
m6i.2xlarge832 GBHeavy workloads
TypevCPUsMemoryUse Case
c6i.large24 GBBatch processing
c6i.xlarge48 GBCI/CD runners
c6i.2xlarge816 GBML inference
c6i.4xlarge1632 GBHigh-throughput
TypevCPUsMemoryUse Case
r6i.large216 GBIn-memory caches
r6i.xlarge432 GBRedis, Memcached
r6i.2xlarge864 GBLarge databases

Regions

Hanzo Platform supports all standard AWS regions. The most common:

RegionCodeLocation
US East (N. Virginia)us-east-1Virginia, US
US West (Oregon)us-west-2Oregon, US
EU (Frankfurt)eu-central-1Frankfurt, DE
EU (Ireland)eu-west-1Dublin, IE
Asia Pacific (Tokyo)ap-northeast-1Tokyo, JP
Asia Pacific (Singapore)ap-southeast-1Singapore

AMIs

When launching an instance, select from curated OS images:

  • Ubuntu 24.04 LTS -- Default, recommended for most workloads
  • Ubuntu 22.04 LTS -- Long-term support
  • Debian 12 -- Minimal and stable
  • Amazon Linux 2023 -- AWS-optimized kernel

Custom AMIs are supported. Enter the AMI ID directly when creating a VM.

Networking and Security Groups

Each VM is launched into your default VPC or a VPC you specify. Hanzo Platform creates a security group per VM with the following defaults:

RulePortSourcePurpose
SSH22Your IPRemote access
HTTP800.0.0.0/0Web traffic
HTTPS4430.0.0.0/0Secure web traffic

You can edit security group rules from VM Details > Networking.

Avoid opening port 22 to 0.0.0.0/0. Use the browser terminal or restrict SSH access to known IPs.

Launching an Instance

Select Provider

Go to Virtual Machines > New and choose AWS.

Configure

Pick your region, instance type, AMI, and SSH key. Optionally set a VPC and subnet.

Review and Create

Confirm the configuration and estimated cost. Click Create to launch.

Monitor

The VM appears in your dashboard within 30-60 seconds. View logs, metrics, and connection details from the detail page.

How is this guide?

Last updated on

On this page