Skip to content

Amazon ECS ​

Run containers the way they run on ECS: register task definitions, run one-off tasks or keep services running on Fargate, and read each container's logs, all as Docker containers in Floci.

Features ​

Clusters ​

  • List clusters with service, running task and pending task counts; find by name
  • Create cluster, Delete one or several clusters
  • Cluster page with Services and Tasks tabs and a Run task button
  • Connect card with Node.js and Python samples that run a task on the cluster and read its status
  • Stack: X link to CloudFormation when the cluster was created by a stack

Services ​

  • Services tab: status, desired and running counts, task definition
  • Create a Fargate service: name, desired tasks, task definition and revision, subnets, security groups
  • Update desired tasks (0 stops every task and keeps the service) or the task definition revision
  • Delete one or several services
  • Service page: Tasks, Events and Configuration tabs (ARN, task definition, launch type, subnets, security groups, deployments with rollout state and running / desired counts)

Tasks ​

  • Run task: cluster, task definition and revision, number of tasks (1–10), subnets and security groups, and per-container command and environment variable overrides for this run only
  • Tasks tab filtered by desired status (running or stopped), with last status, task definition, started by, start time and exit code
  • Stop one or several tasks
  • Task page: status, stop code, stopped reason, timestamps and links to the cluster and task definition
  • Containers tab: last status, exit code, reason, image and overrides of each container
  • Logs tab: the container's CloudWatch Logs events, with a container picker, Auto refresh and a link to open the stream in CloudWatch Logs

Task definitions ​

  • List families, filtered by Active or Inactive status; find by family
  • Create new task definition from JSON (the input of RegisterTaskDefinition), starting from a template that runs on Floci as is (Fargate, a small public image, logs to CloudWatch Logs)
  • Revisions page, newest first: Create new revision (prefilled from the revision), Deregister, Delete
  • Revision page: overview (roles, network mode, CPU, memory), Containers tab (image, port mappings, command, environment variables, secrets, log settings) and JSON tab; Run task from the revision
  • Container secrets link to the Secrets Manager secret or Parameter Store parameter they read

Typical workflow ​

  1. On Task definitions, choose Create new task definition, edit the template's image and command, and choose Create.
  2. On Clusters, choose Create cluster, then open it and choose Run task.
  3. Pick the task definition, keep the default subnet and choose Run task.
  4. Open the task from the Tasks tab and read its output on the Logs tab.
  5. To keep it running, go back to the cluster's Services tab and choose Create.

Works with ​

Limitations ​

  • Tasks are real Docker containers; an image is pulled the first time a task uses it, and the task waits for the pull.
  • Floci forgets running standalone tasks and every stopped task when it restarts; clusters, task definitions and services stay, and services start new tasks.
  • Deleting a service doesn't stop its running tasks: scale it to 0 first, or stop them in the cluster's Tasks tab. A cluster can't be deleted while it still has services or tasks.
  • On update, Floci starts new tasks before stopping old ones; the running count settles after a few seconds.
  • Floci keeps deleted revisions as Delete in progress.
  • Floci creates a missing awslogs-group log group itself (AWS fails the task).
  • Fargate task ports aren't published to your machine.

Released under the MIT License. Runs next to Floci. Not affiliated with Amazon Web Services.