SlideShare a Scribd company logo
Continuous Delivery using
CodePipeline, Lambda &
ElasticBeanstalk
THOMAS SHAW
AUGUST 2016
@thomasshaw
thomas@recruitmentdirectory.com.au
Thomas Shaw - August 2016 Slide 2
What am I talking about
• What is AWS CodePipeline?
• Where does CodePipeline fit in to the product mix?
• Code Pipeline Terminology
• Deploy Processes
• Demo – Basic pipeline (S3 > ElasticBeanstalk)
• Demo – Pipeline (Bitbucket > S3 > Lambda > Multi-region
ElasticBeanstalk)
• Tips, tricks & problems
• Feature requests
Thomas Shaw - August 2016 Slide 3
AWS CodePipeline
• Continuous delivery service for fast and reliable application
updates
• Model and visualise and control your software release process
• Builds, tests, and deploys your code every time there is a code
change
• Integrates with third-party tools and AWS products
• Configurable workflow
• Easy to integrate
• Improved quality
• Rapid delivery
• Building blocks
Thomas Shaw - August 2016 Slide 4
Why use it?
• Allows powerful modeling of your release processes
• Serial and parallel execution
• Easily add a new step to your process
• Pause for manual approvals
• Multiple deployment steps
Thomas Shaw - August 2016 Slide 5
AWS CodePipeline
Announced - November 2014
Public - July 2015
Available in 3 regions
• US East (N. Virginia)
• US West (Oregon)
• EU (Ireland)
NOT CURRENTLY AVAILABLE IN AUSTRALIA
$1 per active* pipeline per month
https://aws.amazon.com/codepipeline/
Thomas Shaw - August 2016 Slide 6
Release Process Phases
Thomas Shaw - August 2016 Slide 7
AWS Product Integrations
Thomas Shaw - August 2016 Slide 8
AWS Service Integrations
6 “Actions”
• Approval
• Source
• Build
• Test
• Deploy
• Invoke
Thomas Shaw - August 2016 Slide 9
3rd Party Integrations
Thomas Shaw - August 2016 Slide 10
AWS CodePipeline
Thomas Shaw - August 2016 Slide 11
CodePipeline Terminology
Pipeline
Transition
Pipeline name
Stage
Action
Thomas Shaw - August 2016 Slide 12
CodePipeline Terminology
Parallel Actions
Thomas Shaw - August 2016 Slide 13
CodePipeline Terminology
Sequential Actions
Thomas Shaw - August 2016 Slide 14
NEW Manual Approval – Aug16
You can add a manual approval
action where you want the pipeline to
stop running until someone
approves or rejects the revision.
• Pipeline will stop executing when it
has reached the action
• Pipeline execution resumes only
when the action has been approved
• Approval action managed with AWS
IAM permissions
• Pipeline can notify users via SNS –
email, SMS, webhooks etc
Thomas Shaw - August 2016 Slide 15
Why I tried CodePipeline
• 3 weeks of experimentation.
• Outgrew our existing solution using BitBucket Pipelines
• Cross region deployment all at once
• Need visualisation & GUI interface
• Add “gated” stages
• 5 min setup
• Increase developer productivity
• Lambda functions are very useful
Thomas Shaw - August 2016 Slide 16
Still in BETA?
Thomas Shaw - August 2016 Slide 17
Demos
• Build a basic pipeline
• S3 > ElasticBeanstalk
• Add “Approval” stage
• Deep dive into CodePipeline > Lambda JSON payload
• BitBucket > S3 > Lambda > ElasticBeanstalk (1 env)
• BitBucket > S3 > Approval stage > Lambda > ElasticBeanstalk
(4 env, 2 regions)
Thomas Shaw - August 2016 Slide 18
Failed Deploy
Thomas Shaw - August 2016 Slide 19
Lambda debug
Thomas Shaw - August 2016 Slide 20
Tips & Tricks
• S3 source bucket needs to be in the same region as
CodePipeline
• S3 bucket – turn on versioning
• Poll time ~30sec – 1min
• Input/Output artifact name truncation ~10 characters
• Lambda log files are great for debug
• Understand the CodePipeline > Lambda JSON payload
• BitBucket > S3 (using BitBucket Pipelines)
• Console delays
Thomas Shaw - August 2016 Slide 21
Feature Suggestions
• Native Bitbucket integration
• Ability to pass more environment variables through the
stage/actions
• Change Poll time
• Pipeline/Stage History
• Version control
• S3 as a Deploy location
• Cross region support
• Artifact extensions
• Mobile app
• Documentation
Thomas Shaw - August 2016 Slide 22
Questions?

More Related Content

What's hot (20)

PDF
실전! AWS 하이브리드 네트워킹 (AWS Direct Connect 및 VPN 데모 세션) - 강동환, AWS 솔루션즈 아키텍트:: A...
Amazon Web Services Korea
 
PDF
Azure DevOps & GitHub... Better Together!
Lorenzo Barbieri
 
PPTX
Introduction to Azure Functions
Callon Campbell
 
PDF
Amazon EMR과 SageMaker를 이용하여 데이터를 준비하고 머신러닝 모델 개발 하기
Amazon Web Services Korea
 
PDF
20210526 AWS Expert Online マルチアカウント管理の基本
Amazon Web Services Japan
 
PDF
AWS 고객이 주로 겪는 운영 이슈에 대한 해법-AWS Summit Seoul 2017
Amazon Web Services Korea
 
PPTX
9월 웨비나 - AWS에서의 네트워크 보안 (이경수 솔루션즈 아키텍트)
Amazon Web Services Korea
 
PDF
20200722 AWS Black Belt Online Seminar AWSアカウント シングルサインオンの設計と運用
Amazon Web Services Japan
 
PDF
AWS Black Belt Online Seminar Elastic Load Balancing
Amazon Web Services Japan
 
PPTX
Azure App Service Architecture. Web Apps.
Alexander Feschenko
 
PDF
Oracle DB를 AWS로 이관하는 방법들 - 서호석 클라우드 사업부/컨설팅팀 이사, 영우디지탈 :: AWS Summit Seoul 2021
Amazon Web Services Korea
 
PPTX
Azure Cloud Adoption Framework + Governance - Sana Khan and Jay Kumar
Timothy McAliley
 
PDF
[AWS Builders] AWS상의 보안 위협 탐지 및 대응
Amazon Web Services Korea
 
PPTX
Azure App Service
BizTalk360
 
PDF
20200630 AWS Black Belt Online Seminar Amazon Cognito
Amazon Web Services Japan
 
PPTX
The Power of Azure DevOps
Jeff Bramwell
 
PDF
Introduction to AWS (Amazon Web Services)
Albert Suwandhi
 
PDF
AWS로 데이터 마이그레이션을 위한 방안과 옵션 - 박성훈 스토리지 스페셜리스트 테크니컬 어카운트 매니저, AWS :: AWS Summit...
Amazon Web Services Korea
 
PDF
Azure DevOps
Surasuk Oakkharaamonphong
 
PPTX
Azure storage
Raju Kumar
 
실전! AWS 하이브리드 네트워킹 (AWS Direct Connect 및 VPN 데모 세션) - 강동환, AWS 솔루션즈 아키텍트:: A...
Amazon Web Services Korea
 
Azure DevOps & GitHub... Better Together!
Lorenzo Barbieri
 
Introduction to Azure Functions
Callon Campbell
 
Amazon EMR과 SageMaker를 이용하여 데이터를 준비하고 머신러닝 모델 개발 하기
Amazon Web Services Korea
 
20210526 AWS Expert Online マルチアカウント管理の基本
Amazon Web Services Japan
 
AWS 고객이 주로 겪는 운영 이슈에 대한 해법-AWS Summit Seoul 2017
Amazon Web Services Korea
 
9월 웨비나 - AWS에서의 네트워크 보안 (이경수 솔루션즈 아키텍트)
Amazon Web Services Korea
 
20200722 AWS Black Belt Online Seminar AWSアカウント シングルサインオンの設計と運用
Amazon Web Services Japan
 
AWS Black Belt Online Seminar Elastic Load Balancing
Amazon Web Services Japan
 
Azure App Service Architecture. Web Apps.
Alexander Feschenko
 
Oracle DB를 AWS로 이관하는 방법들 - 서호석 클라우드 사업부/컨설팅팀 이사, 영우디지탈 :: AWS Summit Seoul 2021
Amazon Web Services Korea
 
Azure Cloud Adoption Framework + Governance - Sana Khan and Jay Kumar
Timothy McAliley
 
[AWS Builders] AWS상의 보안 위협 탐지 및 대응
Amazon Web Services Korea
 
Azure App Service
BizTalk360
 
20200630 AWS Black Belt Online Seminar Amazon Cognito
Amazon Web Services Japan
 
The Power of Azure DevOps
Jeff Bramwell
 
Introduction to AWS (Amazon Web Services)
Albert Suwandhi
 
AWS로 데이터 마이그레이션을 위한 방안과 옵션 - 박성훈 스토리지 스페셜리스트 테크니컬 어카운트 매니저, AWS :: AWS Summit...
Amazon Web Services Korea
 
Azure storage
Raju Kumar
 

Viewers also liked (19)

PPTX
Jenkins and AWS DevOps Tools
Jimmy Ray
 
PDF
DevOps를 위한 AWS 서비스 및 개발도구 -김상필 솔루션아키텍트 :: AWS 파트너 테크시프트 세미나
Amazon Web Services Korea
 
PDF
AWS Code 서비스 특집 - 아마존 DevOps와 CodeDeploy, CodePipeline (윤석찬)
Amazon Web Services Korea
 
PDF
AWS CodeCommit, CodeDeploy & CodePipeline
Julien SIMON
 
PPTX
Continuous Delivery with Elastic Beanstalk And CodePipeline on AWS
Mesut Özen
 
PDF
Daily Continuous Deployment를 위한 Custom CLI 개발 및
 AWS Elastic Beanstalk에 적용하기
Jongwon Han
 
PDF
AWS와 함께하는 DevOps이야기 :: 박선용 :: AWS Summit Seoul 2016
Amazon Web Services Korea
 
PPT
Social Recruiting is a dirty word
Thomas Shaw
 
PDF
Pivotal cf for_devops_mkim_20141209
minseok kim
 
PDF
Jenkins Pipeline - Seville JAM
amunizmartin
 
PDF
Containers: Don't Skeu Them Up. Use Microservices Instead.
Gordon Haff
 
PPTX
[DevOps Carioca] Continuous Delivery
Samanta Cicilia
 
PPT
Web 2.0 in Recruitment
Thomas Shaw
 
PDF
Agile Testers Conference 2016 - GoCD + Docker + Docker Compose: uma história ...
Stefan Teixeira
 
PDF
Devops: Enabled Through a Recasting of Operational Roles
cornelia davis
 
PDF
Docker and DevOps - Why it matters
Jeremy Brown
 
PDF
Delivering Go.CD with Terraform and Docker
Jorrit Salverda
 
PDF
[토크아이티] 프런트엔드 개발 시작하기 저자 특강
우영 주
 
PDF
NetflixOSS meetup lightning talks and roadmap
Ruslan Meshenberg
 
Jenkins and AWS DevOps Tools
Jimmy Ray
 
DevOps를 위한 AWS 서비스 및 개발도구 -김상필 솔루션아키텍트 :: AWS 파트너 테크시프트 세미나
Amazon Web Services Korea
 
AWS Code 서비스 특집 - 아마존 DevOps와 CodeDeploy, CodePipeline (윤석찬)
Amazon Web Services Korea
 
AWS CodeCommit, CodeDeploy & CodePipeline
Julien SIMON
 
Continuous Delivery with Elastic Beanstalk And CodePipeline on AWS
Mesut Özen
 
Daily Continuous Deployment를 위한 Custom CLI 개발 및
 AWS Elastic Beanstalk에 적용하기
Jongwon Han
 
AWS와 함께하는 DevOps이야기 :: 박선용 :: AWS Summit Seoul 2016
Amazon Web Services Korea
 
Social Recruiting is a dirty word
Thomas Shaw
 
Pivotal cf for_devops_mkim_20141209
minseok kim
 
Jenkins Pipeline - Seville JAM
amunizmartin
 
Containers: Don't Skeu Them Up. Use Microservices Instead.
Gordon Haff
 
[DevOps Carioca] Continuous Delivery
Samanta Cicilia
 
Web 2.0 in Recruitment
Thomas Shaw
 
Agile Testers Conference 2016 - GoCD + Docker + Docker Compose: uma história ...
Stefan Teixeira
 
Devops: Enabled Through a Recasting of Operational Roles
cornelia davis
 
Docker and DevOps - Why it matters
Jeremy Brown
 
Delivering Go.CD with Terraform and Docker
Jorrit Salverda
 
[토크아이티] 프런트엔드 개발 시작하기 저자 특강
우영 주
 
NetflixOSS meetup lightning talks and roadmap
Ruslan Meshenberg
 
Ad

Similar to Continuous Delivery using AWS CodePipeline, AWS Lambda & AWS ElasticBeanstalk (20)

PDF
Accelerating DevOps Pipelines with AWS
Suresh Paulraj
 
PDF
CI&CD with AWS - AWS Prague User Group - May 2015
Vladimir Simek
 
PDF
Transformational DevOps with AWS Native Tools
Bhuvaneswari Subramani
 
PDF
Aws Deployment Tools - Overview, Details, Implementation
serkancapkan
 
PPTX
Getting started with Serverless on AWS
Adrian Hornsby
 
PDF
Application Delivery Patterns
Shiva Narayanaswamy
 
PDF
Continuous Deployment with Amazon Web Services
Julien SIMON
 
PPTX
Understanding AWS CodePipeline Presentation
Knoldus Inc.
 
PPTX
Understanding AWS CodePipeline Presentation
Knoldus Inc.
 
PDF
Devops with Amazon Web Services (January 2017)
Julien SIMON
 
PPTX
Going Serverless at AWS Startup Day Bangalore
Madhusudan Shekar
 
PDF
DevOps with Amazon Web Services (November 2016)
Julien SIMON
 
PPTX
AWS Codepipeline presented by Techserverglobal
HarpalGohil4
 
PPTX
Building self service framework
Rovshan Musayev
 
PDF
DevTalks Romania - Getting Started with AWS Lambda & the Serverless Cloud
Ian Massingham
 
PDF
CodeBuild CodePipeline CodeDeploy CodeCommit in AWS | Edureka
Edureka!
 
PDF
Developing and deploying serverless applications (February 2017)
Julien SIMON
 
PPTX
AWS Serverless concepts and solutions
ElenaIvannikova3
 
PPTX
CI/CD with AWS Code Services
Pulkit Gupta
 
PPTX
Building data pipelines
Jonathan Holloway
 
Accelerating DevOps Pipelines with AWS
Suresh Paulraj
 
CI&CD with AWS - AWS Prague User Group - May 2015
Vladimir Simek
 
Transformational DevOps with AWS Native Tools
Bhuvaneswari Subramani
 
Aws Deployment Tools - Overview, Details, Implementation
serkancapkan
 
Getting started with Serverless on AWS
Adrian Hornsby
 
Application Delivery Patterns
Shiva Narayanaswamy
 
Continuous Deployment with Amazon Web Services
Julien SIMON
 
Understanding AWS CodePipeline Presentation
Knoldus Inc.
 
Understanding AWS CodePipeline Presentation
Knoldus Inc.
 
Devops with Amazon Web Services (January 2017)
Julien SIMON
 
Going Serverless at AWS Startup Day Bangalore
Madhusudan Shekar
 
DevOps with Amazon Web Services (November 2016)
Julien SIMON
 
AWS Codepipeline presented by Techserverglobal
HarpalGohil4
 
Building self service framework
Rovshan Musayev
 
DevTalks Romania - Getting Started with AWS Lambda & the Serverless Cloud
Ian Massingham
 
CodeBuild CodePipeline CodeDeploy CodeCommit in AWS | Edureka
Edureka!
 
Developing and deploying serverless applications (February 2017)
Julien SIMON
 
AWS Serverless concepts and solutions
ElenaIvannikova3
 
CI/CD with AWS Code Services
Pulkit Gupta
 
Building data pipelines
Jonathan Holloway
 
Ad

Recently uploaded (20)

PPTX
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PPT
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
PDF
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
PDF
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PDF
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
PDF
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PDF
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
PDF
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 

Continuous Delivery using AWS CodePipeline, AWS Lambda & AWS ElasticBeanstalk

  • 1. Continuous Delivery using CodePipeline, Lambda & ElasticBeanstalk THOMAS SHAW AUGUST 2016 @thomasshaw [email protected]
  • 2. Thomas Shaw - August 2016 Slide 2 What am I talking about • What is AWS CodePipeline? • Where does CodePipeline fit in to the product mix? • Code Pipeline Terminology • Deploy Processes • Demo – Basic pipeline (S3 > ElasticBeanstalk) • Demo – Pipeline (Bitbucket > S3 > Lambda > Multi-region ElasticBeanstalk) • Tips, tricks & problems • Feature requests
  • 3. Thomas Shaw - August 2016 Slide 3 AWS CodePipeline • Continuous delivery service for fast and reliable application updates • Model and visualise and control your software release process • Builds, tests, and deploys your code every time there is a code change • Integrates with third-party tools and AWS products • Configurable workflow • Easy to integrate • Improved quality • Rapid delivery • Building blocks
  • 4. Thomas Shaw - August 2016 Slide 4 Why use it? • Allows powerful modeling of your release processes • Serial and parallel execution • Easily add a new step to your process • Pause for manual approvals • Multiple deployment steps
  • 5. Thomas Shaw - August 2016 Slide 5 AWS CodePipeline Announced - November 2014 Public - July 2015 Available in 3 regions • US East (N. Virginia) • US West (Oregon) • EU (Ireland) NOT CURRENTLY AVAILABLE IN AUSTRALIA $1 per active* pipeline per month https://aws.amazon.com/codepipeline/
  • 6. Thomas Shaw - August 2016 Slide 6 Release Process Phases
  • 7. Thomas Shaw - August 2016 Slide 7 AWS Product Integrations
  • 8. Thomas Shaw - August 2016 Slide 8 AWS Service Integrations 6 “Actions” • Approval • Source • Build • Test • Deploy • Invoke
  • 9. Thomas Shaw - August 2016 Slide 9 3rd Party Integrations
  • 10. Thomas Shaw - August 2016 Slide 10 AWS CodePipeline
  • 11. Thomas Shaw - August 2016 Slide 11 CodePipeline Terminology Pipeline Transition Pipeline name Stage Action
  • 12. Thomas Shaw - August 2016 Slide 12 CodePipeline Terminology Parallel Actions
  • 13. Thomas Shaw - August 2016 Slide 13 CodePipeline Terminology Sequential Actions
  • 14. Thomas Shaw - August 2016 Slide 14 NEW Manual Approval – Aug16 You can add a manual approval action where you want the pipeline to stop running until someone approves or rejects the revision. • Pipeline will stop executing when it has reached the action • Pipeline execution resumes only when the action has been approved • Approval action managed with AWS IAM permissions • Pipeline can notify users via SNS – email, SMS, webhooks etc
  • 15. Thomas Shaw - August 2016 Slide 15 Why I tried CodePipeline • 3 weeks of experimentation. • Outgrew our existing solution using BitBucket Pipelines • Cross region deployment all at once • Need visualisation & GUI interface • Add “gated” stages • 5 min setup • Increase developer productivity • Lambda functions are very useful
  • 16. Thomas Shaw - August 2016 Slide 16 Still in BETA?
  • 17. Thomas Shaw - August 2016 Slide 17 Demos • Build a basic pipeline • S3 > ElasticBeanstalk • Add “Approval” stage • Deep dive into CodePipeline > Lambda JSON payload • BitBucket > S3 > Lambda > ElasticBeanstalk (1 env) • BitBucket > S3 > Approval stage > Lambda > ElasticBeanstalk (4 env, 2 regions)
  • 18. Thomas Shaw - August 2016 Slide 18 Failed Deploy
  • 19. Thomas Shaw - August 2016 Slide 19 Lambda debug
  • 20. Thomas Shaw - August 2016 Slide 20 Tips & Tricks • S3 source bucket needs to be in the same region as CodePipeline • S3 bucket – turn on versioning • Poll time ~30sec – 1min • Input/Output artifact name truncation ~10 characters • Lambda log files are great for debug • Understand the CodePipeline > Lambda JSON payload • BitBucket > S3 (using BitBucket Pipelines) • Console delays
  • 21. Thomas Shaw - August 2016 Slide 21 Feature Suggestions • Native Bitbucket integration • Ability to pass more environment variables through the stage/actions • Change Poll time • Pipeline/Stage History • Version control • S3 as a Deploy location • Cross region support • Artifact extensions • Mobile app • Documentation
  • 22. Thomas Shaw - August 2016 Slide 22 Questions?