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
gefragt vor einem Jahr236 Aufrufe
1 Antwort
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
EXPERTE
beantwortet vor einem Jahr
  • 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?

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen