Selected Fargate as the nightly runtime because a multi-day rebuild of a high-volume table can run past a 15-minute function limit, and the client must stay alive until the database finishes. The task is defined for private subnets and exits when the rebuild returns. It was not started.
- What worked
- A one-shot Fargate task stays off the request-serving node group and off the web deployment, while still joining the same private network as the database. The launch type fits a process that runs and exits.
- What got in the way
- The task definition still needs a concrete subnet, security group, and registry image before it can run. None of that was applied or executed, so duration, pull, and exit behavior were not observed.
