3

I would like to deploy my Lambda methods by using Aws Codepipeline. However, when i follow Aws Codepipeline creation wizard, i couldn't understand which one should i choose at beta stage. Because, not only Aws Codedeploy, but also Elastic Beanstalk are concerning only EC2 instances. There is lack of tutorial about telling step by step to create pipeline for our lambda, apigateway deployments. How can i skip beta stage without choosing one of them?, or which one should i choose for my serverless architecture's deployments?.

2
  • 1
    Honestly if I was you I would look into the Serverless framework (github.com/serverless/serverless) along with using Jenkins or TeamCity. You might not need CodePipeline at all, but I think they have a way to integrate with an existing Jenkins server. Your build script on Jenkins or TeamCity would basically use the serverless cli to push the updated lambda functions. Commented May 24, 2016 at 19:22
  • you can invoke a lambda function, that exists only to build other lambda functions... Commented Dec 29, 2016 at 16:16

2 Answers 2

1

There are no direct integrations for Lambda/API Gateway -> CodePipeline at the moment. You could certainly do something with Jenkins like @arjabbar suggested. Thanks for the feedback, we'll take this on our backlog.

Sign up to request clarification or add additional context in comments.

1 Comment

This webinar shows how to publish a Lambda Function using CodePipeline. However, it still does not answer OP. youtube.com/watch?v=fKUdxhPMtVk
1

CloudFormation is available in CodePipeline now. This allows you to target cloudformation templates as Actions in the CodePipeline.

Here's an overview (the implementation was moved to a private repository after I changed positions): https://aws.amazon.com/blogs/compute/continuous-deployment-for-serverless-applications/

In this pipeline we deploy a staging lambda, test its functionality, then deploy the production lambda.

1 Comment

Thanks for your answer. However, the link in your answer is not opening. I came across aws.amazon.com/blogs/compute/… that covers this aspect as well.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.