Best CI/CD for AWS services?

Which CI/CD is best for git based solutions for AWS thats turn key?
Support for all their compute, data, storage infra solutions.
For application deployment using blue green / canary / and other deployment models.

If all you care about is coupling to AWS, I’ve found AWS CodeBuild/CodeDeploy to work well enough, and since it’s in the AWS ecosystem it doesn’t get much closer to all their other solutions.

CDK + Codepipeline is a good place to start

We use bitbucket and codedeploy. The pipelines in bitbucket are very easy to use with custom images hosted in ECR. CodeDeploy is also very simple to configure and setup, by using a pipeline pipe you can trigger deployments after zipping the artifacts that need deploying

AWS Code*, or maybe terraform, although that’s not exactly turn-key.

We use github / Codebuild / Codedeploy / Codepipeline

I wouldn’t use AWS devops stack, it’s a bit simplistic and the overall design isn’t so nice to work with. I think you’re better off using Github Actions, Gitlab pipeline or even Azure Devops who all have a yaml infra as code workflow developers like.

Also you can run AWS cli commands in pipelines, meaning you do have full control and access to everything programatically, which is the way to go imo

Other than cli commands you can use Terraform, CDK or cloudformation templates in pipelines too. (Terraform also uses AWS cli under the hood)

Azure DevOps also works great with AWS, I like the interface better than CodeDeploy.

We use all of AWS CodeSuite to build and deploy solutions. Zero non-AWS services (other than Sonarqube like services which is hosted internally using Fargate)

I like using Github and integrating with AWS via the aws-actions. Here’s an article on how to setup integration between the two:

https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services

You can use CodeDeploy easily with this setup or you could push container images to ECR then trigger a deployment using aws ecs update-service. The ECS route has blue/green built into it, and it’s pretty easy to setup.

UPDATE: here’s the link to the aws-actions repos: https://github.com/aws-actions

HINT: if you setup the configure-aws-credentials action, you can simply use the AWS CLI via a bash action to do almost anything you want. The AWS CLI is already install on the ubuntu-latest runner.

There isn’t one because everything that can run arbitrary code can also talk to AWS…

The thing that will be of a much more relevant impact in application deployments would be your application infrastructure configuration abstraction and that’s not going to care much about which CI or CD solution you are using.

We use GitHub actions and self host the runners on eks to save money.

This question has no single answer

You may want to look at Amazon CodeCatalyst that ties VCS, CI/CD, Dev environments together really nicely.

Intrigued by this, I’ve just used their runners. Are you noticing a massive difference in cost?

We use GitHub (code) → CodePipeline (CodeBuild+CodeDeploy) and all our infrastructure stacks are in AWS CDK - works like a charm. Besides collaboration, one of the main reasons we use GitHub vs CodeCommit is to keep our source code separately, so regardless of the situation (AWS non-payment, etc). which would lead to lock out, we will always keep control over source code.

The cloud doesn’t matter, what matters is what you’re using to deploy, I.e. tf, cf, scripts, etc. they’re all just using a container to run a preset of commands, so what differs is how their config is declared, and what you can do within those configs like Jenkins is a groovy file, so you have things like loops and such. Something like concourse is just declarative yml so you don’t have that.

At the heart any CICD system is just running preset commands you provide, usually within a container you declare.

Almost all of our cicd, builds run on GitHub. I’m talking cypress tests, deployments via terraform and helm to over 25 environments, all backend tests, daily test runs etc.

Overall we were racking up a cost of almost 20k on GitHub. With the ARC deployed and using spot instances I think our total infrastructure costs went up about 4-5k even though we added more actions. If we switched back to their runners we’d probably be around 25k at this point.

CircleCi

Buildkite.

They have a Cloudformation stack ready to go with autoscaling.

Dono about turnkey but you just run scripts with whatever commands you want so can use cli to do what you need.