AWS Serverless Application Model: AWS SAM Tutorial | NodeJS & Python Lambda | API | S3 | AWS SNS

AWS Serverless Application Model or AWS SAM is an open-source framework for building serverless applications. A typical serverless application consists of one or more AWS Lambda functions triggered by events. Such as object uploads to Amazon S3, Amazon SNS notifications, or API actions. A serverless application is defined in a CloudFormation template and deployed as a CloudFormation stack. An AWS SAM template is an extension of AWS CloudFormation. It also includes AWS SAM Cli that provides a Lambda-like execution environment that lets you locally build, test, and debug applications defined by SAM templates. In this video, we’re going to create 3 lambda functions from scratch. The first one will consist of the nodejs lambda function package as a Zip archive and triggered by AWS API Gateway. The second nodejs lambda function is triggered by the uploaded file in S3 Buket. The third one will be a Python function packaged as a Docker image and subscribed to the Amazon Simple Notification Service – SNS.

🔴 Add me on LinkedIn: https://www.linkedin.com/in/anton-putra

Lambda NodeJS context properties: https://docs.aws.amazon.com/lambda/latest/dg/nodejs-context.html
AWS SAM Resource Types: https://github.com/aws/serverless-application-model/blob/develop/versions/2016-10-31.md#resource-types
AWS SAM Event Source Types: https://github.com/aws/serverless-application-model/blob/develop/versions/2016-10-31.md#event-source-types
AWS::Serverless::Api: https://github.com/aws/serverless-application-model/blob/develop/versions/2016-10-31.md#awsserverlessapi
S3 Event Source Type: https://github.com/aws/serverless-application-model/blob/develop/versions/2016-10-31.md#s3
Using Existing S3: https://github.com/aws/serverless-application-model/issues/124

=========
► REMEMBER:
✔ I like = value
✔ Comment = improve
✔ Subscribe = more videos

Did I help you out?
☕ Buy Me a Coffe: https://www.buymeacoffee.com/antonputra
🔴 Add me on LinkedIn: https://www.linkedin.com/in/anton-putra

=========
⏱️TIMESTAMPS⏱️
0:00 Intro
01:00 Install AWS SAM CLI
01:44 Setting up AWS credentials
03:51 Create AWS Lambda API Gateway Node JS
07:21 Test Lambda Locally SAM
09:18 Test Lambda from Console
09:42 Create AWS Lambda S3 File Upload NodeJS
13:43 Create AWS Lambda SNS Python Example

=========
Source Code
🖥️ – GitHub: https://github.com/antonputra/tutorials/tree/main/lessons/075

=========
SOCIAL
🎙 – Twitter: https://twitter.com/antonvputra
📨 – Email: me@antonputra.com

#Lambda #AWS #DevOps

source by Anton Putra

nodejs

Mourad ELGORMA

Fondateur de summarynetworks, passionné des nouvelles technologies et des métiers de Réseautique , Master en réseaux et système de télécommunications. ,j’ai affaire à Pascal, Delphi, Java, MATLAB, php …Connaissance du protocole TCP / IP, des applications Ethernet, des WLAN …Planification, installation et dépannage de problèmes de réseau informatique……Installez, configurez et dépannez les périphériques Cisco IOS. Surveillez les performances du réseau et isolez les défaillances du réseau. VLANs, protocoles de routage (RIPv2, EIGRP, OSPF.)…..Manipuler des systèmes embarqués (matériel et logiciel ex: Beaglebone Black)…Linux (Ubuntu, kali, serveur Mandriva Fedora, …). Microsoft (Windows, Windows Server 2003). ……Paquet tracer, GNS3, VMware Workstation, Virtual Box, Filezilla (client / serveur), EasyPhp, serveur Wamp,Le système de gestion WORDPRESS………Installation des caméras de surveillance ( technologie hikvision DVR………..). ,

2 réflexions sur “AWS Serverless Application Model: AWS SAM Tutorial | NodeJS & Python Lambda | API | S3 | AWS SNS

Laisser un commentaire