Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
211 views
in Technique[技术] by (71.8m points)

amazon web services - CPU Spec for AWS Lambda?

I hope to evaluate AWS Lambda's suitability for long running computing intensive batch jobs, vs EC2 instances. To do that, I need to find out a 24h cost of Lambda vs EC2 for similar computing power. (In the 24h I'll run many small jobs, each a few seconds)

From Configuring Lambda function memory I can see "At 1,769 MB, a function has the equivalent of one vCPU (one vCPU-second of credits per second)". But there is no description of how powerful this CPU will be.

For EC2 nodes, I can find out the CPU specs of T2 or C5 so I know what to expect, but not the case for Lambda. Anyone has an idea? Thanks.

question from:https://stackoverflow.com/questions/65933141/cpu-spec-for-aws-lambda

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Lambda can run for 15Min only. AWS doesn't expose lambda compute details. We cannot get the compute details on which lambda is running.

If you have 24 hour task , better to go with EC2 Instances. If you still want to use lambda which are you may explore stepFunctions. https://aws.amazon.com/step-functions/


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...