Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Computing AWS - Create a Lambda function with origin in SNS Topic and destination in SQS

Solution

  1. Enter SQS Dashboard and click "Create queue" 1
  2. Fill the queue name and leave every thing else as default 2
  3. Click "Create queue" 3
  4. Go to SNS Dashboard and click on "Topics" 4
  5. Click on "Create topic" 5
  6. Select standard and fill the topic name, leave every thing else as default 6
  7. Click on "Create topic" 7
  8. Go to S3 dashboard and click on "Create bucket" 8
  9. Fill the bucket name and leave every thing else as default 9
  10. Click on "Create bucket" 10
  11. Enter the created bucket and upload the code 11
  12. Go to Lambda dashboard and click on "Create function" 12
  13. Fill the function name and leave every thing else as default, in this case python 3.9 is selected for code 13
  14. Click on "Create function" 14
  15. Click on "Upload from" and select the "Amazon S3 location" option 15
  16. Fill with the S3 URi of your function code 16
  17. Click on "Add trigger" and fill with the SNS topic 17
  18. Click on "Add destination" and fill "On success" and "Asynchronous invocation" with the SQS queue 18