Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
207 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 Reply

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/


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...