- 74
- 104 035
Saborni Bhattacharya
India
เข้าร่วมเมื่อ 5 ม.ค. 2016
SA@Amazon || Not a tech buff but I love to make tech content to help others
AWS Lambda: DynamoDB Streams
This video demonstrates how to use a DynamoDB Streams as a trigger for your function and the use-cases associated with this pattern.
[1] docs.aws.amazon.com/lambda/latest/dg/with-ddb.html
[2] docs.aws.amazon.com/amazondynamodb/latest/developerguide/Streams.html
NOTE - Not endorsed by AWS, all my opinions.
[1] docs.aws.amazon.com/lambda/latest/dg/with-ddb.html
[2] docs.aws.amazon.com/amazondynamodb/latest/developerguide/Streams.html
NOTE - Not endorsed by AWS, all my opinions.
มุมมอง: 249
วีดีโอ
Amazon Bedrock : Part 2 - Hands-on
มุมมอง 1099 หลายเดือนก่อน
In this video, I have shown how to create a Conversational Chatbot using Amazon API Gateway, Lambda functions and Bedrock APIs. First of all, you would need to request for the FMs by navigating through AWS console. Then you would need to follow the steps as specified below - 1. Create a deployment package for your Lambda function with python runtime - - mkdir chatbot - cd chatbot - Create two f...
Amazon Bedrock : Part 1 - Introduction
มุมมอง 1569 หลายเดือนก่อน
Generative AI is that field of AI that can create new content and ideas, including conversations, stories, images, videos, and music. AI technologies attempt to mimic human intelligence in nontraditional computing tasks like image recognition, natural language processing (NLP), and translation. Gen AI - aws.amazon.com/generative-ai/ Amazon Bedrock is a fully managed service that offers a choice...
API Gateway : Mock Integration
มุมมอง 9759 หลายเดือนก่อน
Amazon API Gateway supports mock integrations for API methods. This feature enables API developers to generate API responses from API Gateway directly, without the need for an integration back-end. As an API developer, you can use this feature to unblock dependent teams that need to work with an API before the project development is complete. You can also use this feature to provision a landing...
How to create an Event Bridge Scheduler to invoke your function once per minute?
มุมมอง 163ปีที่แล้ว
#shorts #aws #lambda #event #schedule #amazon #amazonwebservices Amazon EventBridge Scheduler is a serverless scheduler that allows you to create, run, and manage tasks from one central, managed service. Highly scalable, EventBridge Scheduler allows you to schedule millions of tasks that can invoke more than 270 AWS services and over 6,000 API operations. Without the need to provision and manag...
Lambda : Layers - How to add pymysql module as your function layer?
มุมมอง 3.5Kปีที่แล้ว
In this video, I have talked about Lambda Layers which are zip archive file comprising of a custom runtime or additional dependency modules or binaries required by your function code. Layers can be shared across multiple functions. If you want to know more, please refer to this public document - docs.aws.amazon.com/lambda/latest/dg/chapter-layers.html As a demonstration, I have used pymysql (py...
AWS Lambda - Deployment Package - zip archive file
มุมมอง 12Kปีที่แล้ว
A Lambda deployment package comprises of your Lambda handler code containing the business logic and other dependency modules and binaries. There are two supported ways to provide your deployment package - zip archive file or container images. In this video, I have demonstrated how to create a Lambda deployment package containing the latest boto3 version and uploaded it as a zip archive file for...
Lambda Event Source Mapping with Kinesis Data Streams
มุมมอง 706ปีที่แล้ว
In this video I have talked about how to use Kinesis Data Streams as a event source trigger to your Lambda function. [ ]aws.amazon.com/kinesis/data-streams/ [ ]docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html Serverlessland pattern to deploy a Lambda Kinesis Lambda usecase using - CDK - serverlessland.com/patterns/lambda-kinesis-lambda-cdk SAM - serverlessland.com/patterns/lambda-kinesis-...
Errors and retries - Lambda Event Source Mapping with SQS trigger
มุมมอง 2.7Kปีที่แล้ว
This video demonstrates how Lambda ESM behaves when the function returns an error. Get a complete understanding here - aws.amazon.com/blogs/compute/understanding-how-aws-lambda-scales-when-subscribed-to-amazon-sqs-queues/ Note: All my opinion, not endorsed by AWS.
AWS Lambda : Event Source Mapping with SQS trigger
มุมมอง 3.3Kปีที่แล้ว
This video talks about Lambda ESM setup with SQS trigger. An event source mapping is a Lambda resource that reads from an event source and invokes a Lambda function. You can use event source mappings to process items from a stream or queue in services that don't invoke Lambda functions directly. Lambda provides event source mappings for the following services. Services that Lambda reads events ...
API Gateway - Lambda Integration
มุมมอง 8492 ปีที่แล้ว
In this video, I have demonstrated how you can integrate your Lambda function to an API Gateway resource. There are two supported configuration - Custom integration and Proxy integration. Refer to this public doc to know more - docs.aws.amazon.com/apigateway/latest/developerguide/getting-started-with-lambda-integration.html P.S. : Not endorsed by AWS and all are my own opinion.
API Gateway - HTTP Integration
มุมมอง 12K2 ปีที่แล้ว
Learn how to build an API with HTTP integration Tutorial: Build a REST API with HTTP proxy integration - docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-create-api-as-simple-proxy-for-http.html Tutorial: Build a REST API with HTTP non-proxy integration - docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-create-api-step-by-step.html
Amazon API Gateway Introduction
มุมมอง 3552 ปีที่แล้ว
Amazon API Gateway is an AWS service for creating, publishing, maintaining, monitoring, and securing REST, HTTP, and WebSocket APIs at any scale. API developers can create APIs that access AWS or other web services, as well as data stored in the AWS Cloud. A very basic introduction about the service for the newcomers who wants clear their basics. aws.amazon.com/api-gateway/ docs.aws.amazon.com/...
SNS to SQS to Lambda trigger
มุมมอง 3.7K2 ปีที่แล้ว
In this tutorial, I have demonstrated a simple user case of Fan out notification where a Lambda function polls an SQS queue that is subscribed to an SNS topic. SQS - What is Amazon Simple Queue Service? - docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/welcome.html SNS - What is Amazon SNS? - docs.aws.amazon.com/sns/latest/dg/welcome.html Send Fanout Event Notifications with ...
AWS Lambda : Schedule Using Eventbridge Rule
มุมมอง 17K2 ปีที่แล้ว
Amazon EventBridge receives an event, an indicator of a change in environment, and applies a rule to route the event to a target. Here, an EventBridge Rule is configured to trigger a Lambda function. Know more about this here - Tutorial: Schedule AWS Lambda functions using EventBridge - docs.aws.amazon.com/eventbridge/latest/userguide/eb-run-lambda-schedule.html Cron Expressions - docs.aws.amaz...
AWS Lambda - In Depth - Part 3 - Concurrency, Logs, Metrics, States and Lambda Networking
มุมมอง 9022 ปีที่แล้ว
AWS Lambda - In Depth - Part 3 - Concurrency, Logs, Metrics, States and Lambda Networking
AWS Lambda - In Depth - Part 2 - Lambda invocation types, Event Source Mapping and Event Filtering
มุมมอง 1.5K2 ปีที่แล้ว
AWS Lambda - In Depth - Part 2 - Lambda invocation types, Event Source Mapping and Event Filtering
AWS Lambda - In Depth - Part 1 - Intro and Concepts
มุมมอง 2.4K2 ปีที่แล้ว
AWS Lambda - In Depth - Part 1 - Intro and Concepts
4.GCP : DEPLOY SPRING BOOT APP IMAGE IN CLOUD RUN
มุมมอง 2.7K3 ปีที่แล้ว
4.GCP : DEPLOY SPRING BOOT APP IMAGE IN CLOUD RUN
APACHE KAFKA : TOO MANY OPEN FILES I/O EXCEPTION
มุมมอง 1.9K3 ปีที่แล้ว
APACHE KAFKA : TOO MANY OPEN FILES I/O EXCEPTION
11. SPRING BOOT : PRODUCER CONSUMER WITH KAFKA
มุมมอง 7283 ปีที่แล้ว
11. SPRING BOOT : PRODUCER CONSUMER WITH KAFKA
Thanks for sharing this.. only one question I wanna ask, let's asume we configure batch size as 5 at event source and my parallelization factor 1 is then does event source pools 5 msg at once and send to single lambda invocation or there will be 5 different sequential invocation of lambdas ?
So in that case per sec, up to 5 msgs can be processed by a single execution environment.
@@learnandexplorewithsab Understood. Thank you for answering.
In my case, there is no bucket in my S3. what to be done ?
You would need to create one.
hi, may I know how the file was saved?? in the video of 5:32 - 5:34?? what is that wo??
You need to use ':wq!' to save a file in VI editor.
where is 755 permissions shown??
You can use - chmod -R 755 *
Very informative 😊
Thanks a lot, please feel free to share this with your connections.
I used pymssql but package is not imported. I follow your step.but won't work
What is the error that you are receiving?
I would like to bring attention of beginners towards the use of AtomicLong
Excellently illustrated
Thanks for the feedback!
Saborni, this video is amazing. Very useful for me. Many thanks!
Glad to hear that, if possible please share it across your connections..
It's very simple though deep information. Only suggestion: title of the video can be better
Thanks Shrisom, do you have any suggestive names?
Great explaination Saborni 👏
Thanks 💯
zip -r pymysql.zip python works for me
Thanks!
Welcome!
Thanks bro for making this video....😊
You're welcome! 🤗
Can you please put video for import kubernetes or kubectl to see pods status through aws Lambda
I doubt if kubectl can be executed in your function..Even if you are able to run, I am skeptical how from your function you will be connecting to your cluster.
Can you try to add the deployment package or layers of kubernetes
Great Video Saborni! Your channel is really informative! Liked and Subscribed! 👏
how did you get your endpoint url? Would be great when doing tutorials any information that is dependent on the thing you are teaching is shown how/where you got it or referenced at least in another video.
You will get that once you deploy your API to a stage...Select Stage from the left side pane...you will get the url - <api_id>.execute-api.<region>.amazonaws.com/<stage>/
Is there anyway I can zoom call you tomorrow and help me with something similar
If you could elaborate on your queries, I can try to assist you here.
Hello, love your channel. Can you also cover the likes of Step Functions aswell?
Hey, sure!
Perfect Tutorial ! This worked fine for me. I am making an API call on the trigger and sending necessary data to my another lambda function. Is there a way that could be replaced without API call to communicate with another lambda to pass necessary data ?
Could you elaborate your flow?
how can I schedule a job on a given specific time?
You will find it in the event bridge scheduler setup. You may take a look at this 1min demo - th-cam.com/video/guEQNEyx2wY/w-d-xo.html You would need to use the relevant cron expression in that case.
Can you explain how we can call api from api gateway?
Could you elaborate your query a bit?
i was stored my message in sqs after i triggered lambda function, now my message data stored in lambda function now i want to forword that message to my api , please guide me @@learnandexplorewithsab
Thanks bro!! It worked perfectly for me!!
You're welcome!
Youre back! we waited 2 months for this update.
I was a bit busy due to some personal work, but yes I will try to be more regular.
Hi Saborni , I am using AWS lambda and configure an SQS trigger on it with configuration of Batch size: 1000 and Batch window: 300sec so i was expecting that when i will send 1500 records i will have 2 Lambda invocation but when i check i had 9 invocations in the time frame of 5mins(300 sec), is there other parameters as well which are responsible for lambda invocations ?
When you use a Lambda ESM with an SQS trigger, initially 5 poller process starts reading the records from the queue so you are not supposed to get a batch of 2 that adds upto 1500 records but more than 2.
@@learnandexplorewithsab Is there any way to configure this, i understand that there is a limit to how long the lambdas could wait, but is there a way I can configure that it can poll maximum number of the records that fits in as per the batch size configured
@@akshitgoel1183 you would possibly need to tweak a bit using batch window...Again it depends upon the size of each record and duration of execution and runtime errors.
Could you please create a video for aws Glue like how to copy data from s3 to redshift using glue
Surely I will try!
Helpful 😊
I'm glad! :)
good video. Subbing for the next video where you cover lambda layers!!
Surely, will post that sooner.
Hi Saborni, Thanks for the video and i need to create a cross region sqs lambda trigger and when i give the appropriate role and i end up in "An error occurred when creating the trigger: Event source region must match Lambda region us-west-2" can you let me know how to add the event source here
Cross region event source mapping config is currently not supported.
@@learnandexplorewithsab how can we acheive cross region sqs lambda trigger ?
I came across this doc, hope it helps - docs.aws.amazon.com/lambda/latest/dg/with-sqs-cross-account-example.html
Thank you it was very helpful 😊
You're welcome!
Hi, cloud watch collects log for lambda function, when we are working on multiple aws service in real time using lambda function in case of any error or failure how do we check those errors in the logs events like where excatly it failed at which line its failing as it shows many no of log events where can we find our error...
Function error logs are logged in cloudwatch logs streams.
@@learnandexplorewithsab okay, btw I like all your videos Especially AWS, it's very useful for beginners... please don't stop this make more videos it will be helpful for all. Thank you 😊
Yeah it was good but whatever output code gives where to get it in AWS Please tell
Are you talking about the function logs?
Veeerrry veerry noisy...
Acknowledge that, trying to improve upon.
eh sempre um indiano random do yt pra salvar nois
🤗
very nice sir
Thanks! Feel free to share.
Thanks Man !!!
hi bro, what's the policy in your ROLE of IAM, pls?
IAM role means execution role of the Lambda function?
can we pass headers from API gateway "HTTP" api to SQS ?
Yes we can
@@learnandexplorewithsab could you tell please help me in the steps
Amazing Video thank you so much!
You are welcome! Feel free to like and share the contents.
still shows that it is not https you are still using http.
Are you talking about the demonstration or in your replication?
@@learnandexplorewithsab bro you are still using http not https. This video is not true, i mean.
Observe @ 6:25, it says Your connection is not private...This indeed denotes I am using HTTPS.
Also see at 6:40 the https will be marked as stricked off. This means that I am using HTTPS but the certificate is self-signed.
@@learnandexplorewithsab it should be private
Thank you so much, after going through too much articles and advices, this solved the issue I am facing.
My pleasure! Feel free to share the video.
when we put reserved concurrency configured, does that mean execution environment never dies
Reserved concurrency is kind of limit that you put, if RC is set as 10, you function concurrency can be from upto 10...You are possibly confusing it with Provisioned Concurrency. If PC is set to 10, then Lambda ensures 10 instances always up and active for you ( service hourly cleans up those instances)
hello bro can we use a group email address as a sender in the rule?
Where do you want to set your email address?
Underrated content.
Thanks a lot! Please feel free to share 😃
Nice Thank you
You're welcome!
i want to set an cron expression for my lamda function to start my instance daily at 8 am and stop the instance at 8 pm daily , which cron expression should i write ????? thanks in advance
So for your case better to use two separate functions with two separate eb crons..one to start and the other to stop.
Also refer to this link for cron expression - docs.aws.amazon.com/eventbridge/latest/userguide/eb-create-rule-schedule.html#eb-cron-expressions