Deploy na AWS: ECS (Docker), Lambda (serverless), S3 (static), multi-region (EU + US).
env_file—.env.dev,.env.staging,.env.prod-eu,.env.prod-usenvironment_defaults— sharedcontainer_runtime: dockerenvironment_groups—all-prod(canary EU→US),global(rolling)dir— Lambda tasks run inlambda/directorycondition— CDN invalidation only ifCF_DISTRIBUTION_IDis setsilent: true— health check suppresses command echopipeline— stages withwhen: manualfor prod deploystagefield — tasks auto-infer pipeline stages
# Dev
taskfile --env dev run build
taskfile --env dev run ecs-deploy --var TAG=v1.0.0
# Staging (auto on main branch via CI)
taskfile --env staging run ecs-deploy lambda-deploy s3-sync
# Prod — canary (EU first, then US)
taskfile -G all-prod run ecs-deploy --var TAG=v1.0.0
# Lambda
taskfile --env prod-eu run lambda-deploy
taskfile --env prod-eu run lambda-invoke
# Monitoring
taskfile --env prod-eu run ecs-status
taskfile --env prod-eu run ecs-logs
taskfile --env prod-eu run health
# CI pipeline
taskfile ci generate --target github
taskfile ci run