Dynamically creating a instance on user input

0

I am trying to create a service on aws that dynamically starts an instance on user input, processes data and returns the results to the user and terminates itself. This might sound alot like what lambda does, but the problem is that this "processing of data" needs a beefy GPU. I packaged my code into a container and tried using an ECS cluster, but it's my first time ever touching ECS, and I'm not sure that this is the simplest way to go. What services do you recommend I use, and can you provide some resources I could look into?

Andy
posta 10 mesi fa276 visualizzazioni
1 Risposta
1
Risposta accettata

ECS has two launch type.
One is serverless Fargate.
However, this one is currently not available for GPU use, so it cannot be used at this time.
https://docs.aws.amazon.com/AmazonECS/latest/userguide/what-is-fargate.html

The other is the EC2 launch type.
This is a startup type where containers managed by ECS run on EC2.
So you can use the instance type you want to use, so you can use the G series instance type that includes a GPU.
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html#launch-type-ec2

Now, as for what service to use, if you are familiar with container operations, you should have no problem using ECS.

profile picture
ESPERTO
con risposta 10 mesi fa
profile pictureAWS
ESPERTO
verificato 9 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande