Create a CodePipeline with CloudFormation


In this article we’ll take a look at AWS CodePipeline, a continuos deployment and integration platform, to deploy updates to an existing Lambda function. We will use CloudFormation to create each step of our CodePipeline, source, build, and deploy. For our source stage, we will use a zip file in S3. Our build stage will use AWS CodeBuild, another managed service of AWS to allow us to build code in the cloud, and finally an existing CloudFormation to deploy our code updates.

Continue reading

Prepare a NodeJS Lambda Function for CodePipeline


With AWS CodePipeline we can create an continuos integration and deployment using AWS managed services to build, test, and deploy code to our Lambda functions. This article will outline the steps we need to take to prepare our NodeJS Lambda functions to be able to be built using CodeBuild and deployed using CodePipeline.

Continue reading

Create an IAM Role for CloudFormation


When using CloudFormation to manage resources in AWS, CloudFormation must use an IAM role that has permission to modify each resource defined in the CloudFormation stack. This can either be the user’s role in AWS, or a specified role created for the stack. In this article we’ll see how to easily create a specific role for CloudFormation using AWS CLI.

Continue reading

Create an IAM Role to use with CodePipeline


When creating a new CodePipeline, an IAM role is required, but AWS does not have a managed role to easily select from when creating new pipelines, specifically from CloudForamtion. To generate a new role the web console is needed to create a new pipeline and generate a new role. This article describes how to use the generated role to easily create a new IAM role to use with CodePipeline.

Continue reading
Social Media