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
demandé il y a un an236 vues
1 réponse
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
EXPERT
répondu il y a un an
  • 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?

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions