ECS & Containers
Manage your ECS services without leaving KeelPilot: environment variables, Parameter Store references, forced deployments and rollback to a previous revision. Browse your ECR images and move ECS services to EKS with the migration assistant.
Before you start
- An AWS connection with the “Operations” level if you are going to change services (it is on by default).
- In your access profile, the sections ECS Services and ECR Images. They need no specific plan.
- ECS→EKS Migration needs the Pro or Enterprise plan (the trial includes it). See Plans & limits.
- Changing variables, deploying, rolling back and migrating need an admin or editor role and write permission on the connection. Otherwise the service shows “Solo lectura” (shown in Spanish).
1. ECS Services
Most texts of this screen are shown in Spanish, also with the interface in English.
- 1Go to Applications → ECS Services and choose the Cluster ECS. Each service shows Running and Desired.

- 2Click a service. The header shows the task definition, its revision and
Running x/y, with the Deployar button: it asks to confirm Forzar deployment and starts a new deployment with the same revision.
- 3In Variables de Entorno, edit a variable, delete it or add one with Agregar. You can also pick a group in Fusionar grupo de variables and click Aplicar grupo y guardar.

- 4In Referencias a Parameter Store, add a variable whose value is read from SSM at runtime: the name of the variable and the parameter name, without the ARN. If the parameter does not exist, create it as a SecureString with Crear en SSM.

- 5In Historial de revisiones you see the last 3 revisions of the task definition. On one that is not active, click Rollback a rev N and confirm.

Variable groups are created in Settings → AWS connections → Variable groups and can be reused in several services.
2. ECR Images
- 1Go to AWS → ECR Images and choose a repository (you can search it by name).
- 2The table shows Tags, Digest, Pushed (push date) and Size of each image.

- 3Copy the URI of an image, or click Deploy: it opens ECS Services with the URI at the top so you can copy it into your task definition or pipeline. It does not change any service by itself.

3. ECS→EKS Migration
- 1Go to Applications → ECS→EKS Migration. The assistant has three steps: Seleccionar, Revisar Manifests and Resultado.
- 2Select one or more ECS services and click Analizar (n).

- 3Review the generated manifests: Deployment, Service, ServiceAccount, ConfigMap with the variables, Secret with the secrets, and volumes when the task uses them. Read the Advertencias and Problemas de validación.
- 4In Destino EKS choose the Cluster EKS, the Namespace and the Estrategia: Cutover (apaga ECS) or Blue-Green (ambos vivos). Then click Migrar.

- KeelPilot applies the manifests and waits up to 3 minutes for the Deployment to be ready. If it is not, the migration fails and ECS is left as it was.
- With Cutover, it scales the ECS service to 0 tasks and, if you configured it, updates the Route 53 record. With Blue-Green, ECS keeps running and you switch traffic yourself.
- In Historial de Migraciones, Rollback restores the ECS task count and deletes the resources created in Kubernetes. The Route 53 record from the cutover is not reverted: point it back to ECS by hand.
With Google Cloud: Cloud Run and Artifact Registry
- With a Google Cloud connection, ECS Services becomes Cloud Run: choose the region instead of a cluster and you see services, revisions, environment variables, references to Secret Manager and jobs (listed only). Module: Cloud Run (
roles/run.viewer). - With the Deployments module (operations level) you can edit variables or references (it creates a new revision), redeploy with the same image, send 100% of the traffic to a previous revision, and change the service’s minimum and maximum instances (without a new revision). Editing does not move traffic: if it was pinned to a revision, the new one gets no traffic and the response says so.
- Google also requires
roles/iam.serviceAccountUseron the service account each service runs as. If it is missing, the error shows the command with that account. - Where AWS shows “Crear en SSM”, Google Cloud shows Create secret and New version in Secret Manager. KeelPilot never reads the value of a referenced secret.
- ECR Images becomes Artifact Registry (read only, Images module): Docker repositories and their images, with the URI to use in Cloud Run or your pipeline. The ECS→EKS migration is AWS only.
See Connect Google Cloud for the modules.
How to verify
- After saving variables, the message “New revision N deployed” appears and Historial de revisiones shows that revision as active.
- After a forced deployment, Running returns to the Desired count.
- After a migration, the Deployment appears in the K8s Explorer in the namespace you chose.
Troubleshooting
The service shows “Solo lectura” and there is no Deployar button.
Cause: Your role cannot change resources.
Fix: Ask an owner or admin for an admin or editor role and write permission on the connection.
“Target task definition family mismatch” when rolling back.
Cause: The revision belongs to another task definition family than the one the service uses.
Fix: Roll back only to revisions listed in Historial de revisiones of that service.
The migration ends with “Deployment not ready. Migration failed. Use rollback to restore ECS.”
Cause: The pods did not become ready within 3 minutes (image, permissions, probes or resources).
Fix: Look at the pods in the K8s Explorer, fix the cause and use Rollback before trying again.