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

aws

The rumi cloud aws commands provision and manage Rumi private clouds in Amazon Web Services (AWS).

Overview

AWS commands provide complete lifecycle management for Rumi private clouds:

  • Network Infrastructure - Create and manage VPCs, subnets, security groups, and the subnet topology (single public subnet, or public + private + NAT)

  • Access Posture - Choose how operators reach instances (SSH via the bastion, or AWS Systems Manager / SSM)

  • DNS Management - Set up hosted zones for private cloud domains

  • Platform Services - Deploy Bastion, Admin, Monitor, and messaging services

  • Bastion Access & Security - Open service ports and SSH to specific CIDRs, and enable HTTPS with a Let's Encrypt wildcard certificate

  • Observability - Ship instance logs to CloudWatch and enable VPC Flow Logs

  • Application Deployment - Deploy and manage your Rumi applications

  • Lifecycle Management - Provision, start, stop, resize, and deprovision entire clouds

Prerequisites

Before using AWS commands, you must:

  1. Install the AWS CLI - Version 2.x required

  2. Configure AWS credentials - See AWS Setup for detailed instructions

  3. Have appropriate IAM permissions - EC2 and Route53 access required

Commands

Network Management

Command
Description

Create a new Rumi network (VPC)

List all Rumi networks

Delete a Rumi network

DNS Management

Command
Description

Create a hosted zone

List hosted zones

Bastion

The bastion fronts the network's nginx reverse proxies and is the SSH/SSM entry point to the fleet. A network is single-bastion (one unnamed bastion) or multi-bastion (create-network -B; every bastion is named and every proxying instance names the bastion that fronts it).

Command
Description

Provision and start a bastion

Start a bastion

Stop a bastion

Remove a bastion

Add an nginx proxy entry on a bastion

Bastion Access & Security

A launch records a service's public proxy port but opens nothing. Opening is a separate, deliberate step scoped to specific source CIDRs (the my-ip token resolves to your own public IP).

Command
Description

Open an instance's recorded proxy port(s) on its bastion for given CIDRs

Revoke an instance's proxy port(s) for given CIDRs

Open a bastion's SSH (TCP 22) for given CIDRs (ssh access method only)

Revoke a bastion's SSH for given CIDRs

Issue a Let's Encrypt wildcard certificate and terminate TLS on a bastion

Admin Service

Command
Description

Provision and start Admin service

Start Admin service

Stop Admin service

Remove Admin service

Execute an admin script

Monitor Service

Command
Description

Provision and start Monitor service

Start Monitor service

Stop Monitor service

Remove Monitor service

Message Brokers

Command
Description

Provision and start Solace

Start Solace

Stop Solace

Remove Solace

Provision and start Kafka

Start Kafka

Stop Kafka

Remove Kafka

Provision and start ActiveMQ

Start ActiveMQ

Stop ActiveMQ

Remove ActiveMQ

Platform

Command
Description

Provision and start platform

Start platform

Stop platform

Remove platform

Instance Management

Command
Description

Launch an EC2 instance

Start an instance

Stop an instance

Terminate an instance

Change a running instance's EC2 instance type

Grow a running instance's root or data (/home/rumi) volume

List all instances

Attach an EBS volume

Execute a command on an instance

High-Level Lifecycle

Command
Description

Provision a complete private cloud

Deploy an application

Configure an application

Start all services

Stop all services

Remove a private cloud

Common Options

Most AWS commands support these common options:

Option
Description

-p, --profile

AWS profile to use (required)

-r, --region

AWS region (default: us-east-1)

-n, --name

Name of the resource or private cloud

Typical Workflow

Last updated