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
已提问 10 个月前276 查看次数
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 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则