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
已提问 1 年前283 查看次数
2 回答
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
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则