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개 답변
1
수락된 답변

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
전문가
답변함 10달 전
profile pictureAWS
전문가
검토됨 9달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠