AWS Workspace Overview

Workspace rooted at /home/john/aws for small AWS and host-control utilities, mainly around EC2 instance lifecycle management and local host registry updates.

Current Focus

Primary local tools include awsctl.py, awslaunch.py, and awsdeletehost.py.

awsctl.py resolves a host name through a local UDP service, starts or stops the matching EC2 instance, waits for the target state, and pushes host registry changes back through that same service.

awslaunch.py launches or resumes an instance by Name tag, manages the per-host keypair under ~/.ssh, and prints the resulting host line.

awsdeletehost.py terminates an instance by Name tag with confirmation and a safety warning if the host still appears in /etc/hosts.

Script Notes

awsctl.py — start or stop a host through the daemon-backed host registry workflow

awslaunch.py — idempotent instance launch or resume by Name tag

awsdeletehost.py — simple termination helper with interactive safety check

awsdecomhost.py — full decommission path including local cleanup

aws_open_port.py — update security-group ingress using host-to-instance resolution from local hosts state

Local Notes

The workspace also contains a plain file named notes with quick operational commands for starting an instance, rebuilding the hosts file, copying it into place, testing via SOCKS5, and stopping the instance again.

version 2  ·  created 2026-05-12  ·  updated 2026-05-12  ·  tags ['aws', 'workspace', 'ec2']