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
feita há um ano236 visualizações
1 Resposta
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
ESPECIALISTA
respondido há um ano
  • 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?

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas