Software Developers, in this video let's set up a simple NodeJS AWS Lambda function that uses aWS DocumentDb! See code here: github.com/kob... #aws #nodejs
Thank you for the video! keep up the good work! Can you explain how to set up outbound internet access to the lambda? because setting it in the VPC (with the DocumentDB) might restrict it from accessing the internet.
I would recommend using AWS APIGateway or AWS ELB for simplicity, security, logging etc. I have videos for that… Exposing the https endpoint when the VPC is private seems not possible without black magic 😊
Hey! I wanted to know where would we put creating indexes for the DocumentDB in the lambda function? Where would it make the most sense to instantiate the DB with indexes?
Take a look at the nodejs library migrate-mongo for a scripted approach to avoid doing it manually… You might have a pipeline that handles this or a separate lambda function. I like the scripted idea where you can keep track of changes in source control.
Great video, thanks!
Thank you for the video! keep up the good work!
Can you explain how to set up outbound internet access to the lambda? because setting it in the VPC (with the DocumentDB) might restrict it from accessing the internet.
I would recommend using AWS APIGateway or AWS ELB for simplicity, security, logging etc.
I have videos for that…
Exposing the https endpoint when the VPC is private seems not possible without black magic 😊
Hey! I wanted to know where would we put creating indexes for the DocumentDB in the lambda function? Where would it make the most sense to instantiate the DB with indexes?
Take a look at the nodejs library migrate-mongo for a scripted approach to avoid doing it manually…
You might have a pipeline that handles this or a separate lambda function.
I like the scripted idea where you can keep track of changes in source control.