-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
How to run a task against ECS
- CodePipeline (DEV stacks only)
- Event Bridge --> CodePipeline (DEV stacks only)
- Event Bridge --> ECS Run Task
- Admin Tool --> ECS Run Task
What does Run Task do?
- Runs a container in a VPC
- Can override the entrypoing
- Container performs a finite task and terminates
- Logs to CloudWatch or OpenSearch
- Does NOT have an awareness of ServiceDiscovery
Calling Run Task
- must specify VPC
- must specify subnets
- must specify security group
- Tasks are built with an Execution Role/Task Role just like our services
What image should we use
- current thinking our merrittdev container
Tasks Needed
Scheduled
- Run consistency checks (multiple Admin API calls)
- Start DEV stack
- Shutdown DEV stack
- Clean Access Queue
- Clean Ingest Queue?
- Clean ingest folders
- Cycle containers - to pull in the latest builds
- Backup LDAP
- Backup ZK
On Demand
- Run Admin Tool unit tests (multiple Admin API calls)
- Scale up service
- Scale down service
Metadata
Metadata
Assignees
Labels
No labels