Simple AWS Lambda Function using AWS DocumentDb 🐑 🚀

Поделиться
HTML-код
  • Опубликовано: 21 сен 2024
  • 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
  • НаукаНаука

Комментарии • 5

  • @MarianaRdz01
    @MarianaRdz01 4 месяца назад +1

    Great video, thanks!

  • @lav_alex
    @lav_alex 2 месяца назад

    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.

    • @codemadesimple1043
      @codemadesimple1043  2 месяца назад +1

      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 😊

  • @mustache10ful
    @mustache10ful Месяц назад

    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?

    • @codemadesimple1043
      @codemadesimple1043  Месяц назад

      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.