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

2回答
0
profile pictureAWS
エキスパート
kentrad
回答済み 1年前
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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ