How to automatize NET 6 Lambda deployment?

0

I am developing NET 6 Lambda->RDS . Is there any way to deploy Lambda from GitHub -> AWS including AWS Gateway settings etc?

i.e. when not advanced user can click a button and Lambda will be built and deployed, Gateway settings added if not exists and so on

Oleg
已提問 1 年前檢視次數 236 次
1 個回答
1

Hi

for Lambda you should look into AWS SAM: https://aws.amazon.com/serverless/sam/, which should fix the part about how to deploy Lambda functions.

Here is a guide about how to set it up with Github actions, as an example: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/deploying-using-github.html

In regards about the part about the rest of the infrastructure (RDS/api gw, etc..) you should look into an Infrastructure as Code tool such as CDK, Terrraform or others.

Hope it helps and if it does I d appreciate the answer to be accepted so that community can benefit for clarity, thanks ;)

profile picture
專家
已回答 1 年前
  • What I need to do:

    1. I have Github account, create a repository for my Lambda NET 6 project and upload it to the repository. Ok, should this repository be private or public? Should it have any special permissions?
    2. How and where in AWS to add reference to this project? how to build it and deploy?
    3. How and where can I add AWS Gateway settings in this deployment?
    4. Can end user use it after deployment?

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南