Puas lambda pheej yig dua ec2?

Cov txheej txheem:

Puas lambda pheej yig dua ec2?
Puas lambda pheej yig dua ec2?
Anonim

Zaj. Khaws ob lub ntsiab lus hauv siab: Rau feem ntau lub sij hawm lossis lub teeb ua haujlwm, Lambda yog qhov tsis tshua kim tshaj txawm tias qhov tsawg tshaj plaws EC2 zaus. Tsom ntsoov rau lub cim xeeb thiab lub sijhawm ua tiav uas qhov kev hloov pauv hauv koj lub app yuav xav tau los txheeb xyuas qhov piv txwv loj rau tus nqi Lambda tawg.

Qhov twg pheej yig dua Lambda lossis EC2?

Yog li, qhov no, EC2yog cov tshuaj pheej yig dua li Lambda vim qhov xav tau ntau ntawm kev nco / thov / sijhawm ua tiav. 3. Tam sim no, ua piv txwv qhov twg ntau qhov EC2 yuav tsum tau ua los daws cov kev thov. Nyob rau hauv tas li ntawd, EC2 yuav costlier rau ob yog vim li cas.

Is AWS Lambda kim dua?

Nyob hauv peb qhov kev suav yooj yim, AWS Lambda yog: 2.4 npaug tus nqi ntawm Fargate . 7.1 npaug tus nqi ntawm EC2. 7.5 npaug ntawm tus nqi ntawm Fargate Spot.

Kuv yuav tsum siv Lambda lossis EC2?

Yog tias koj xav tau khiav cov ntawv thov uas xav tau ntau dua 900 vib nas this kom ua tiav lossis cov ntawv thov uas muaj lub sijhawm ua tiav, xav txog kev siv AWS EC2. Lwm qhov txwv rau kev khiav haujlwm Lambda yog qhov siab tshaj plaws ntawm lub cim xeeb uas sib npaug rau 3008 MB.

Is AWS Lambda cheap?

Tam sim no, txawm tias txiav txim siab tus nqi raws li cov khoom siv suav nrog ib qho kev thov, AWS Lambda tseem tab tom nrhiav pheej yig heev, thiab 1 lab invocations nrog lub sijhawm nruab nrab ntawm 500ms thiab 128 MB ntawm lub cim xeeb muaj tsuas yog tus nqi xwbkwv yees $1.25.

Pom zoo: