Skip to main content
Desktop

AWS SSM & ECS/Fargate

Connect to managed instances or a specific running container with your authorized AWS Vault credential.

Before you start

  • Use ShellMate 3.3.0 and select the intended account or workspace.
  • Confirm the host/provider access and permissions required by this guide.
STEP BY STEP

Let’s walk through it.

  1. 01

    Choose an AWS credential

    In Add Host, select AWS SSM / ECS and choose an AWS Vault credential and region. Configure temporary credentials or AssumeRole when your account requires it.

  2. 02

    Select the target type

    For a managed instance, use the SSM target picker. For a container, choose ECS / Fargate, select the cluster, running task and container, then choose a shell installed in that container.

  3. 03

    Save the host

    Check the selected account, region and target before saving. ECS targets identify a particular task and container.

  4. 04

    Connect

    Use the normal host Connect action. ShellMate checks target readiness and uses its packaged Session Manager helper where required.

What success looks like

Complete the walkthrough, then verify the result in the selected host or account view. Read any failure or partial-result message before repeating an action.

THE IMPORTANT DETAILS

Good to know.

Prerequisites

SSM needs a managed node, appropriate IAM permissions and AWS endpoint connectivity. ECS needs Exec enabled, a running ExecuteCommandAgent, task-role permissions and an available container shell. ShellMate does not enable Exec or redeploy tasks for you.

No separate helper installation

The v3.3.0 desktop packaging includes the Session Manager helper for ECS Exec and SSM forwarding. The AWS CLI is not required for these app workflows.

Standard SSM discovery

Automatic discovery uses inventory-read permission and AWS-StartInteractiveCommand. It does not inherit custom shell profile or Run As settings from the default SSM shell document. Custom documents keep their own commands and do not claim OS discovery.

After an ECS deployment

When a deployment replaces a task, edit the saved host and select a current task. ShellMate does not silently switch an approved host to another container.

Access and audit boundaries

AWS IAM remains authoritative. ShellMate permission grants do not restrict use of AWS credentials outside ShellMate. AWS recording depends on your cluster/service configuration.

AWS credential checklist

Select the correct access key, secret key and session token when using temporary credentials. Temporary credentials expire. If using AssumeRole, check the source credential, destination role ARN and required trust relationship. Confirm the region before searching because targets are regional.

SSM permission checklist

Your IAM policy and managed node must permit discovery and starting a session. Automatic system discovery additionally reads SSM inventory and starts AWS-StartInteractiveCommand. Existing permissions that only allow the default shell document may need an administrator-reviewed update.

ECS permission checklist

Discovery uses cluster/task listing and task description. Opening a container requires ECS ExecuteCommand and the relevant task-role messaging permissions. The Exec agent, network access and selected shell must all be ready. KMS-encrypted configurations can require additional permissions. A successful STS identity check does not prove all of these permissions.

Example target selection

Choose your production AWS credential, select the correct region, choose ECS / Fargate, then a cluster such as checkout-prod. Pick the currently running task and its application container. Select a shell that exists in the image, such as /bin/sh. Save a descriptive name containing environment and service. Those names are examples, not discoverable resources.

After deployment or credential expiry

If the saved ECS task was replaced, edit the host and choose the new task. If credentials expired, update the supported credential flow and reconnect. Do not keep retrying a stale task ID or assume ShellMate will silently retarget the session.

WHEN SOMETHING DOESN’T WORK

A few common questions.

My cluster or task is missing

Check region, discovery permissions, pagination warnings, task state and whether Exec is enabled. Changing credentials or region requires selecting the target again.

The container will not open

Confirm the Exec agent is running, endpoint access is available and the chosen shell exists. Check additional KMS permissions if your environment uses a customer-managed key.

NEXT GUIDESentry application errors

Need a hand?

Find connection checks and what to include in a support request.

Troubleshooting

Manual updated October 20, 2026 · Covers v3.3.0 · Illustrations use example data.