UPDATE: It's important to note that as of now, DLQ's are ONLY supported in the us-east-2 (Ohio) region. While this command doesn't return any errors in other regions, it also doesn't make any changes.
One of the cooler announcements from re:Invent that you can start using right now is Dead Letter Queues (DLQ) for AWS Lambda functions. This has the advantage of allowing you to re-try, and alert, on events that fail even after being re-tried by AWS Lambda automatically.
You can find out more information on DLQ for Lambda by reading the official documentation, however in order to get quickly started with it, you should create a new SQS queue and configure a lambda function to send to it. This should be able to be done through the AWS Console, but it doesn't appear to be there yet, so here's how to get started with the CLI.
First, upgrade to the latest version:
sudo pip install -U awscli
Then, update your function:
One of the cooler announcements from re:Invent that you can start using right now is Dead Letter Queues (DLQ) for AWS Lambda functions. This has the advantage of allowing you to re-try, and alert, on events that fail even after being re-tried by AWS Lambda automatically.
You can find out more information on DLQ for Lambda by reading the official documentation, however in order to get quickly started with it, you should create a new SQS queue and configure a lambda function to send to it. This should be able to be done through the AWS Console, but it doesn't appear to be there yet, so here's how to get started with the CLI.
First, upgrade to the latest version:
sudo pip install -U awscli
Then, update your function:
aws lambda update-function-configuration --function-name LambdaFunctionName --dead-letter-config TargetArn=sqs or sns arn
That's it, you should start seeing DLQ events coming in on the SQS queue you configured anytime there is a complete failure, after Lambda's re-tries have all failed.
From here, you can set up alerts using SES, you could set this up to notify you via SNS, or have another Lambda function read the queue every few minutes to pick up and try re-processing the events at a later date.
Comments
Python Training in Velachery
Python Training in T.Nagar
Python Training in Tambaram
Python Training in Adyar
Python Training in Anna Nagar
Python Training in OMR
Python Training in Porur
python training in vadapalani
python training in Thiruvanmiyur
Cloud Migration services
Aws Cloud Migration services
Azure Cloud Migration services
Cloud Migration services
Best Cloud Migration Tool
We at Antino Labs believe in redefining and refining our model to suit the industry's requirements. Antino Labs' several years of experience in the market has let us register our global presence. Antino Labs' has the vision to become the world's most trusted partner for digital transformation and we aim to become a brand that defines innovation and the latest technology. We offer clients a one-stop solution for all their interests. Click the below links if you're looking for Web Development Company in Gurgaon, Website Designing Company in Gurgaon, Technology Consultant Services, Ecommerce Account Management Services, Mobile App Development Company in Gurgaon and UI UX Design Services.
buy bulk instagram accounts
Visit: https://www.sevenmentor.com/amazon-web-services-training-institute-in-pune.php
Visit: AWS Classes in Pune
Visit: AWS Courses in Pune
AWS Training in Pune
AWS Training In Pune
SAP MDG Classes in Pune
SAP ABAP Classes in Pune
AWS certifications come in a variety of forms. Choose it with your long-term goals in mind. If you don't have a technical background, start with a beginner's course. A cloud practitioner's foundational course, for example, is an entry-level course. for more info visit: AWS Training In Pune
software testing courses .php
clinicalresearchcourses
clinicalresearchcourses
AWS classes in Pune
best java classes in pune