SlideShare uma empresa Scribd logo
1 de 22
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?

Mais conteúdo relacionado

Mais procurados

What Is A Docker Container? | Docker Container Tutorial For Beginners| Docker...
What Is A Docker Container? | Docker Container Tutorial For Beginners| Docker...What Is A Docker Container? | Docker Container Tutorial For Beginners| Docker...
What Is A Docker Container? | Docker Container Tutorial For Beginners| Docker...
Simplilearn
 

Mais procurados (20)

Microservices Architecture - Cloud Native Apps
Microservices Architecture - Cloud Native AppsMicroservices Architecture - Cloud Native Apps
Microservices Architecture - Cloud Native Apps
 
Docker Kubernetes Istio
Docker Kubernetes IstioDocker Kubernetes Istio
Docker Kubernetes Istio
 
Amazon EKS를 통한 빠르고 편리한 컨테이너 플랫폼 활용 – 이일구 AWS 솔루션즈 아키텍트:: AWS Cloud Week - Ind...
Amazon EKS를 통한 빠르고 편리한 컨테이너 플랫폼 활용 – 이일구 AWS 솔루션즈 아키텍트:: AWS Cloud Week - Ind...Amazon EKS를 통한 빠르고 편리한 컨테이너 플랫폼 활용 – 이일구 AWS 솔루션즈 아키텍트:: AWS Cloud Week - Ind...
Amazon EKS를 통한 빠르고 편리한 컨테이너 플랫폼 활용 – 이일구 AWS 솔루션즈 아키텍트:: AWS Cloud Week - Ind...
 
CI/CD on Google Cloud Platform
CI/CD on Google Cloud PlatformCI/CD on Google Cloud Platform
CI/CD on Google Cloud Platform
 
CI/CD on AWS
CI/CD on AWSCI/CD on AWS
CI/CD on AWS
 
Terraform을 기반한 AWS 기반 대규모 마이크로서비스 인프라 운영 노하우 - 이용욱, 삼성전자 :: AWS Summit Seoul ...
Terraform을 기반한 AWS 기반 대규모 마이크로서비스 인프라 운영 노하우 - 이용욱, 삼성전자 :: AWS Summit Seoul ...Terraform을 기반한 AWS 기반 대규모 마이크로서비스 인프라 운영 노하우 - 이용욱, 삼성전자 :: AWS Summit Seoul ...
Terraform을 기반한 AWS 기반 대규모 마이크로서비스 인프라 운영 노하우 - 이용욱, 삼성전자 :: AWS Summit Seoul ...
 
infrastructure as code
infrastructure as codeinfrastructure as code
infrastructure as code
 
롯데이커머스의 마이크로 서비스 아키텍처 진화와 비용 관점의 운영 노하우-나현길, 롯데이커머스 클라우드플랫폼 팀장::AWS 마이그레이션 A ...
롯데이커머스의 마이크로 서비스 아키텍처 진화와 비용 관점의 운영 노하우-나현길, 롯데이커머스 클라우드플랫폼 팀장::AWS 마이그레이션 A ...롯데이커머스의 마이크로 서비스 아키텍처 진화와 비용 관점의 운영 노하우-나현길, 롯데이커머스 클라우드플랫폼 팀장::AWS 마이그레이션 A ...
롯데이커머스의 마이크로 서비스 아키텍처 진화와 비용 관점의 운영 노하우-나현길, 롯데이커머스 클라우드플랫폼 팀장::AWS 마이그레이션 A ...
 
Amazon EKS - Elastic Container Service for Kubernetes
Amazon EKS - Elastic Container Service for KubernetesAmazon EKS - Elastic Container Service for Kubernetes
Amazon EKS - Elastic Container Service for Kubernetes
 
금융 회사를 위한 클라우드 이용 가이드 – 신은수 AWS 솔루션즈 아키텍트, 김호영 AWS 정책협력 담당:: AWS Cloud Week ...
금융 회사를 위한 클라우드 이용 가이드 –  신은수 AWS 솔루션즈 아키텍트, 김호영 AWS 정책협력 담당:: AWS Cloud Week ...금융 회사를 위한 클라우드 이용 가이드 –  신은수 AWS 솔루션즈 아키텍트, 김호영 AWS 정책협력 담당:: AWS Cloud Week ...
금융 회사를 위한 클라우드 이용 가이드 – 신은수 AWS 솔루션즈 아키텍트, 김호영 AWS 정책협력 담당:: AWS Cloud Week ...
 
Jenkins를 활용한 Openshift CI/CD 구성
Jenkins를 활용한 Openshift CI/CD 구성 Jenkins를 활용한 Openshift CI/CD 구성
Jenkins를 활용한 Openshift CI/CD 구성
 
(DVO305) Turbocharge YContinuous Deployment Pipeline with Containers
(DVO305) Turbocharge YContinuous Deployment Pipeline with Containers(DVO305) Turbocharge YContinuous Deployment Pipeline with Containers
(DVO305) Turbocharge YContinuous Deployment Pipeline with Containers
 
CI/CD on AWS Deploy Everything All the Time
CI/CD on AWS Deploy Everything All the TimeCI/CD on AWS Deploy Everything All the Time
CI/CD on AWS Deploy Everything All the Time
 
(DVO202) DevOps at Amazon: A Look At Our Tools & Processes
(DVO202) DevOps at Amazon: A Look At Our Tools & Processes(DVO202) DevOps at Amazon: A Look At Our Tools & Processes
(DVO202) DevOps at Amazon: A Look At Our Tools & Processes
 
CI/CD Best Practices for Building Modern Applications - MAD302 - Anaheim AWS ...
CI/CD Best Practices for Building Modern Applications - MAD302 - Anaheim AWS ...CI/CD Best Practices for Building Modern Applications - MAD302 - Anaheim AWS ...
CI/CD Best Practices for Building Modern Applications - MAD302 - Anaheim AWS ...
 
Kubernetes security
Kubernetes securityKubernetes security
Kubernetes security
 
What Is A Docker Container? | Docker Container Tutorial For Beginners| Docker...
What Is A Docker Container? | Docker Container Tutorial For Beginners| Docker...What Is A Docker Container? | Docker Container Tutorial For Beginners| Docker...
What Is A Docker Container? | Docker Container Tutorial For Beginners| Docker...
 
Terraform
TerraformTerraform
Terraform
 
CI/CD pipelines on AWS - Builders Day Israel
CI/CD pipelines on AWS - Builders Day IsraelCI/CD pipelines on AWS - Builders Day Israel
CI/CD pipelines on AWS - Builders Day Israel
 
Fundamentals of Cloud Computing & AWS
Fundamentals of Cloud Computing & AWSFundamentals of Cloud Computing & AWS
Fundamentals of Cloud Computing & AWS
 

Destaque

Daily Continuous Deployment를 위한 Custom CLI 개발 및
 AWS Elastic Beanstalk에 적용하기
Daily Continuous Deployment를 위한 Custom CLI 개발 및
 AWS Elastic Beanstalk에 적용하기Daily Continuous Deployment를 위한 Custom CLI 개발 및
 AWS Elastic Beanstalk에 적용하기
Daily Continuous Deployment를 위한 Custom CLI 개발 및
 AWS Elastic Beanstalk에 적용하기
Jongwon Han
 

Destaque (20)

Jenkins and AWS DevOps Tools
Jenkins and AWS DevOps ToolsJenkins and AWS DevOps Tools
Jenkins and AWS DevOps Tools
 
Introducing AWS Device Farm: Automated Android and Fire OS App Testing on Rea...
Introducing AWS Device Farm: Automated Android and Fire OS App Testing on Rea...Introducing AWS Device Farm: Automated Android and Fire OS App Testing on Rea...
Introducing AWS Device Farm: Automated Android and Fire OS App Testing on Rea...
 
DevOps를 위한 AWS 서비스 및 개발도구 -김상필 솔루션아키텍트 :: AWS 파트너 테크시프트 세미나
DevOps를 위한 AWS 서비스 및 개발도구  -김상필 솔루션아키텍트 :: AWS 파트너 테크시프트 세미나 DevOps를 위한 AWS 서비스 및 개발도구  -김상필 솔루션아키텍트 :: AWS 파트너 테크시프트 세미나
DevOps를 위한 AWS 서비스 및 개발도구 -김상필 솔루션아키텍트 :: AWS 파트너 테크시프트 세미나
 
AWS Code 서비스 특집 - 아마존 DevOps와 CodeDeploy, CodePipeline (윤석찬)
AWS Code 서비스 특집 - 아마존 DevOps와 CodeDeploy, CodePipeline (윤석찬)AWS Code 서비스 특집 - 아마존 DevOps와 CodeDeploy, CodePipeline (윤석찬)
AWS Code 서비스 특집 - 아마존 DevOps와 CodeDeploy, CodePipeline (윤석찬)
 
AWS CodeCommit, CodeDeploy & CodePipeline
AWS CodeCommit, CodeDeploy & CodePipelineAWS CodeCommit, CodeDeploy & CodePipeline
AWS CodeCommit, CodeDeploy & CodePipeline
 
Releasing Software Quickly and Reliably With AWS CodePipeline by Mark Mansour...
Releasing Software Quickly and Reliably With AWS CodePipeline by Mark Mansour...Releasing Software Quickly and Reliably With AWS CodePipeline by Mark Mansour...
Releasing Software Quickly and Reliably With AWS CodePipeline by Mark Mansour...
 
AWS May Webinar Series - Deep Dive: Infrastructure as Code
AWS May Webinar Series - Deep Dive: Infrastructure as CodeAWS May Webinar Series - Deep Dive: Infrastructure as Code
AWS May Webinar Series - Deep Dive: Infrastructure as Code
 
DevOps on AWS: Deep Dive on Continuous Delivery and the AWS Developer Tools
DevOps on AWS: Deep Dive on Continuous Delivery and the AWS Developer ToolsDevOps on AWS: Deep Dive on Continuous Delivery and the AWS Developer Tools
DevOps on AWS: Deep Dive on Continuous Delivery and the AWS Developer Tools
 
AWS re:Invent 2016: DevOps on AWS: Accelerating Software Delivery with the AW...
AWS re:Invent 2016: DevOps on AWS: Accelerating Software Delivery with the AW...AWS re:Invent 2016: DevOps on AWS: Accelerating Software Delivery with the AW...
AWS re:Invent 2016: DevOps on AWS: Accelerating Software Delivery with the AW...
 
Continuous Delivery with Elastic Beanstalk And CodePipeline on AWS
Continuous Delivery with Elastic Beanstalk And CodePipeline on AWSContinuous Delivery with Elastic Beanstalk And CodePipeline on AWS
Continuous Delivery with Elastic Beanstalk And CodePipeline on AWS
 
Daily Continuous Deployment를 위한 Custom CLI 개발 및
 AWS Elastic Beanstalk에 적용하기
Daily Continuous Deployment를 위한 Custom CLI 개발 및
 AWS Elastic Beanstalk에 적용하기Daily Continuous Deployment를 위한 Custom CLI 개발 및
 AWS Elastic Beanstalk에 적용하기
Daily Continuous Deployment를 위한 Custom CLI 개발 및
 AWS Elastic Beanstalk에 적용하기
 
AWS와 함께하는 DevOps이야기 :: 박선용 :: AWS Summit Seoul 2016
AWS와 함께하는 DevOps이야기 :: 박선용 :: AWS Summit Seoul 2016AWS와 함께하는 DevOps이야기 :: 박선용 :: AWS Summit Seoul 2016
AWS와 함께하는 DevOps이야기 :: 박선용 :: AWS Summit Seoul 2016
 
Social Recruiting is a dirty word
Social Recruiting is a dirty wordSocial Recruiting is a dirty word
Social Recruiting is a dirty word
 
Pivotal cf for_devops_mkim_20141209
Pivotal cf for_devops_mkim_20141209Pivotal cf for_devops_mkim_20141209
Pivotal cf for_devops_mkim_20141209
 
Jenkins Pipeline - Seville JAM
Jenkins Pipeline - Seville JAMJenkins Pipeline - Seville JAM
Jenkins Pipeline - Seville JAM
 
Containers: Don't Skeu Them Up. Use Microservices Instead.
Containers: Don't Skeu Them Up. Use Microservices Instead.Containers: Don't Skeu Them Up. Use Microservices Instead.
Containers: Don't Skeu Them Up. Use Microservices Instead.
 
[DevOps Carioca] Continuous Delivery
[DevOps Carioca]  Continuous Delivery[DevOps Carioca]  Continuous Delivery
[DevOps Carioca] Continuous Delivery
 
Web 2.0 in Recruitment
Web 2.0 in RecruitmentWeb 2.0 in Recruitment
Web 2.0 in Recruitment
 
Agile Testers Conference 2016 - GoCD + Docker + Docker Compose: uma história ...
Agile Testers Conference 2016 - GoCD + Docker + Docker Compose: uma história ...Agile Testers Conference 2016 - GoCD + Docker + Docker Compose: uma história ...
Agile Testers Conference 2016 - GoCD + Docker + Docker Compose: uma história ...
 
Devops: Enabled Through a Recasting of Operational Roles
Devops: Enabled Through a Recasting of Operational RolesDevops: Enabled Through a Recasting of Operational Roles
Devops: Enabled Through a Recasting of Operational Roles
 

Semelhante a Continuous Delivery using AWS CodePipeline, AWS Lambda & AWS ElasticBeanstalk

Semelhante a Continuous Delivery using AWS CodePipeline, AWS Lambda & AWS ElasticBeanstalk (20)

AWS Bath User Group - Meetup #2
AWS Bath User Group - Meetup #2AWS Bath User Group - Meetup #2
AWS Bath User Group - Meetup #2
 
Continuous Delivery with AWS Lambda - AWS April 2016 Webinar Series
Continuous Delivery with AWS Lambda - AWS April 2016 Webinar SeriesContinuous Delivery with AWS Lambda - AWS April 2016 Webinar Series
Continuous Delivery with AWS Lambda - AWS April 2016 Webinar Series
 
AWS Lambda Function with Kotlin
AWS Lambda Function with KotlinAWS Lambda Function with Kotlin
AWS Lambda Function with Kotlin
 
Managing the Continuous Delivery of Code to AWS Lambda
Managing the Continuous Delivery of Code to AWS LambdaManaging the Continuous Delivery of Code to AWS Lambda
Managing the Continuous Delivery of Code to AWS Lambda
 
AWS User Group - Survey Results and Building APIs on AWS
AWS User Group - Survey Results and Building APIs on AWSAWS User Group - Survey Results and Building APIs on AWS
AWS User Group - Survey Results and Building APIs on AWS
 
DevOps on AWS
DevOps on AWSDevOps on AWS
DevOps on AWS
 
Using REST with VSTS and TFS
Using REST with VSTS and TFSUsing REST with VSTS and TFS
Using REST with VSTS and TFS
 
Managing the Continuous Delivery of Code to AWS Lambda
Managing the Continuous Delivery of Code to AWS LambdaManaging the Continuous Delivery of Code to AWS Lambda
Managing the Continuous Delivery of Code to AWS Lambda
 
Migrating the media supply chain to the AWS cloud
Migrating the media supply chain to the AWS cloud Migrating the media supply chain to the AWS cloud
Migrating the media supply chain to the AWS cloud
 
Unicon July 2015 IAM Briefing
Unicon July 2015 IAM BriefingUnicon July 2015 IAM Briefing
Unicon July 2015 IAM Briefing
 
What's New with AWS Lambda
What's New with AWS LambdaWhat's New with AWS Lambda
What's New with AWS Lambda
 
Real-time Automation Result in Slack Channel
Real-time Automation Result in Slack ChannelReal-time Automation Result in Slack Channel
Real-time Automation Result in Slack Channel
 
What's New with AWS Lambda
What's New with AWS LambdaWhat's New with AWS Lambda
What's New with AWS Lambda
 
Build an App on AWS for Your First 10 Million Users
Build an App on AWS for Your First 10 Million UsersBuild an App on AWS for Your First 10 Million Users
Build an App on AWS for Your First 10 Million Users
 
Unicon June 2014 IAM Briefing
Unicon June 2014 IAM BriefingUnicon June 2014 IAM Briefing
Unicon June 2014 IAM Briefing
 
Building Extensions in VSTS and TFS
Building Extensions in VSTS and TFSBuilding Extensions in VSTS and TFS
Building Extensions in VSTS and TFS
 
Releasing Software Quickly and Reliably with AWS CodePipline
Releasing Software Quickly and Reliably with AWS CodePiplineReleasing Software Quickly and Reliably with AWS CodePipline
Releasing Software Quickly and Reliably with AWS CodePipline
 
Atlassian Connect on Serverless Platforms: Low Cost Add-Ons
Atlassian Connect on Serverless Platforms: Low Cost Add-OnsAtlassian Connect on Serverless Platforms: Low Cost Add-Ons
Atlassian Connect on Serverless Platforms: Low Cost Add-Ons
 
SmartNews's journey into microservices
SmartNews's journey into microservicesSmartNews's journey into microservices
SmartNews's journey into microservices
 
Building a Real Time Dashboard with Amazon Kinesis, Amazon Lambda and Amazon ...
Building a Real Time Dashboard with Amazon Kinesis, Amazon Lambda and Amazon ...Building a Real Time Dashboard with Amazon Kinesis, Amazon Lambda and Amazon ...
Building a Real Time Dashboard with Amazon Kinesis, Amazon Lambda and Amazon ...
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Último (20)

Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 

Continuous Delivery using AWS CodePipeline, AWS Lambda & AWS ElasticBeanstalk

  • 1. Continuous Delivery using CodePipeline, Lambda & ElasticBeanstalk THOMAS SHAW AUGUST 2016 @thomasshaw thomas@recruitmentdirectory.com.au
  • 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?