CI/CD at scale - AWS Online Summit Series
Tags: aws, devops, docker
Published: 2020-06-04 18:30:43


### What is Best Practice?

While I have my own opinion of best practice, I think it’s good to constantly check your standards against peers and industry leaders to ensure you haven’t fallen behind.

Therefore I decided to dial into *AWS Solution Architect Loh Yiang Meng’s talk: CI/CD at scale: Best practices with AWS DevOps services*. 

Overall I felt that this talk was best pitched for those unfamiliar with the AWS CICD tools, as he gave a good overview of the AWS Developer tools (Code Commit/Build/Deploy/Pipeline), and how these integrate with each other. For more info on these check out the docs on [AWS CodePipeline](https://aws.amazon.com/codepipeline/).

### Codepipeline now supports integration with Bitbucket Cloud

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/c8aan1d46sbw2y3878ma.png)<figcaption> Source: CI/CD at scale: Best practices with AWS DevOps services -   Loh Yiang Meng, AWS Solution Architect</figcaption>

One thing that he made a point of highlighting is that CodePipeline now supports integration with Bitbucket Cloud (I believe this went into Beta last December), which leaves GitLab as the only major git provider not supported. 

While I’ve used GitLab extensively in enterprise environments (and much prefer the experience over Bitbucket or CodeCommit), between this and all the great stuff GitHub is doing recently with Codespaces and Actions, I really can’t see any reason to not be using GitHub in 2020.



### Electrify’s Journey with AWS CICD

Lastly, Loh introduced Martin Lim, CEO, and Arshad Zackeriya, Senior DevOps Engineer, from Electrify Asia to talk about their CICD journey with AWS. 

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/htcgpt9154294xvebl3t.png)
<figcaption> Source: CI/CD at scale: Best practices with AWS DevOps services -   Loh Yiang Meng, AWS Solution Architect</figcaption>

Here they gave us an overview of their CICD pipeline, which followed Loh’s use of CodeCommit, CodeBuild, ECR, and CodePipeline for best practice CI. However they used a Lambda to deploy to their EKS cluster (deployment to EKS is something that CodeDeploy has yet to support), and then went further and built an Alexa skill to trigger deployments. 

While their design of sourcing (CodeCommit), building (CodeBuild), publishing (ECR), and orchestration (CodePipeline), followed best practice CI, and the Alexa skill definitely had the wow factor, this still involved some manual intervention to trigger deployments. Sure the Alexa skill made deployments easier, but is it really any different from someone clicking “run” on a jenkins job? 

I’m also not sure I’d trust Alexa with doing my production deployments - what happens if a colleague said the wrong release number?

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/1ub44apq266xfb10idq9.png)<figcaption> Source: boredpanda.com</figcaption>

### “DevOps is not a product, but a culture”

Overall, Loh Yiang Meng was very engaging as a presenter and some of his comments on best practice definitely aligned with my own. In particular he highlighted that we should automate everything because humans make mistakes 

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/u34htev2tt74946cqp7p.png)
<figcaption> Source: CI/CD at scale: Best practices with AWS DevOps services -   Loh Yiang Meng, AWS Solution Architect</figcaption>


*This is part of my ongoing series on AWS’s recent Online Summit 2020*

As always, the content here describes my own thoughts and understandings from the material presented, not the views of the presenters, who I do not speak for.

####For more on my AWS Summit series, check out the summaries on the talks I attended.