How did you teach yourself lambda functions and documentsdb

0

Hey, I'm an intern trying to help my company get their Software ready for AWS.

My task is to write Lambda functions that do queries/insert/etc in a DocumentDB.

I have the DocumentDB running, also created a few test Databases via mongoshell.

But I can't get a single function to fetch anything from this database. I just can't get these lambda functions to run.

Do you have any tips what I should read ? How did you approach this? What should I study?

For any tip, I would be grateful! Greetings

MW
asked a year ago277 views
2 Answers
0

I would recommend taking the free AWS provided lambda course it will walk you through many of the basics. There also many How To Guides Although not identical there is Example Project of using Lambda to connect DynamoDB

Although covered in training I like to make sure I have a machine configured correctly for development before I start.
There are MANY tools for .NET Development with AWS Note some of this is covered in the above training.

I install the following:

Although .NET 7 is the latest I find it easier to use .NET 6 initially, as it is a built in already supported runtime. Once you have execution with .NET 6 you can look at a custom runtime image to do .NET 7.

I typically test my lambdas locally before moving to AWS. To do that I use the Mock Lambda Test Tool found in the tool bar of Visual Studio. It will launch a browser window where you can send whatever you want to your lambda function and be able to step through it.

There is much more, I would encourage you to spend some time exploring the .NET on AWS Site to become familiar with the resources available.

profile picture
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions