Sam app yog dab tsi?
Sam app yog dab tsi?

Video: Sam app yog dab tsi?

Video: Sam app yog dab tsi?
Video: Keeb Puam: Xyov Yog Dab Tsi (15/03/66) 2024, Kaum ib hlis
Anonim

AWS Serverless Daim ntawv thov Qauv ( SAM ) yog qhov qhib-qhov txheej txheem rau kev tsim serverless daim ntawv thov . Nws muab luv luv syntax los nthuav qhia cov haujlwm, APIs, databases, thiab cov xwm txheej qhov chaw ua haujlwm. Koj tseem tuaj yeem siv lub SAM CLI los siv koj li daim ntawv thov to AWS.

Ntawm no, Sam pob ua dab tsi?

sam pob . Pob ntawv a AWS SAM daim ntawv thov. Nws tsim ib cov ntaub ntawv ZIP ntawm koj cov cai thiab kev vam khom, thiab uploads rau Amazon S3. Tom qab ntawd nws rov qab luam koj cov AWS SAM template, hloov cov ntawv xa mus rau cov khoom qub hauv zos nrog Amazon S3 qhov chaw uas cov lus txib muab cov khoom cuav.

Ib sab saum toj no, SAM template yog dab tsi? SAM Template Qhov no tus qauv qhia txog Lambda daim ntawv thov uas muaj ib qho kev pab. Cov peev txheej no yog Lambda muaj nuj nqi (hu ua HelloWorldFunction) uas siv Node. js 8.10 runtime, thiab cov cai rau Lambda muaj nuj nqi no yog nyob rau hauv cov ntaub ntawv Performance index.

Kuj Paub, Sam yog dab tsi hauv AWS?

Cov AWS Serverless Application Model ( AWS SAM ) yog qhov qhib-qhov txheej txheem uas tso cai rau koj los tsim cov ntawv thov serverless rau AWS . Nws muab cov qauv qhia rau koj los txhais koj daim ntawv thov serverless, thiab cov cuab yeej hais kom ua kab interface (CLI). Tus tsim tawm Guide.

Sam CLI yog dab tsi?

AWS Serverless Application Model ( SAM ) CLI muab cov neeg tsim khoom nrog cov cuab yeej hauv zos rau kev tswj cov ntawv thov serverless ntawm AWS. Cov kab hais kom ua cov cuab yeej tso cai rau cov neeg tsim khoom pib thiab teeb tsa cov ntawv thov, kho qhov teeb meem hauv zos siv IDEs zoo li Visual Studio Code lossis JetBrains WebStorm, thiab xa mus rau AWS Cloud.

Pom zoo: