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?

1 Answer
1
Accepted Answer

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
EXPERT
answered 9 months ago
profile pictureAWS
EXPERT
reviewed 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions