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
posta un anno fa236 visualizzazioni
1 Risposta
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
ESPERTO
con risposta un anno fa
  • 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?

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande