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
preguntada hace 10 meses276 visualizaciones
1 Respuesta
1
Respuesta aceptada

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
EXPERTO
respondido hace 10 meses
profile pictureAWS
EXPERTO
revisado hace 9 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas