My overly ambitious task: to run the hello-world container from Docker hub inside of Fargate. How hard could it be?
Oh and I'm using the web console.
The task definition name of 'first-run-task-definition' is at least 80th percentile as far as @awscloud naming goes.
I can't wait to see how @awscloud manages to shove sixteen Managed NAT Gateways into this somehow.
A cursory exploration of the console shows no obvious way to say "run once. When it exits 0, stop it."
If you were to do this, you would click to the support tab and fill out a form. It would get escalated after a bit, and you'll get a response. The @awssupport folks are incredible, but I hate process.
Here's what I do instead.
The difference is that while you open a ticket and wait for escalation, I annoy the VP and get a delegation instead. Obnoxious, but faster.
First, I freely admit to having read no docs. That makes me a bad Quinnypig, but an incredibly typical customer. You can hate me, but I'm everywhere.
I really, really like this.
The problem that brought me to this thread tonight is "I have a task in a container that needs to run once a day. For various reasons Lambda isn't suited to it."
Maybe my issue isn't what Fargate has in mind?
Same primitives, streamlined onramp for the use case.
* Pass parameters to a task from Parameter Store to invoke the Docker container with different arguments
* Task retry logic. "Run this thing three times, then DLQ it for me."