SlideShare a Scribd company logo
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Tara E. Walker
Sr. Technical Evangelist
Amazon Web Services
@taraw
05.04.18
How to Build a CI/CD pipeline with
AWS CodeStar
Getting started down your Continuous Integration and
Continuous Delivery journey
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Agenda
What is DevOps, Continuous Integration and Delivery?
Introducing AWS CodeStar
AWS CodeStar and AWS Code Services
AWS CodeStar Issue Tracking with JIRA
Summary
What is DevOps?
Union of software development and operations
Migration of Agile continuous development into continuous
integration and continuous delivery
DevOps Model
• No Silos – Puts emphasis on communication, collaboration, and
cohesion between disciplines
• Best practices for change, configuration, and deployment
automation
• Deliver apps/services at faster pace
• High speed product updates
Delivery Pipeline
Feedback LoopCOMPANY CUSTOMERS
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DevOps consists of culture, practices, & tools
• Microservices based
architecture
• CI/CD – Continuous
integration and
continuous delivery
• Infrastructure as
code
• Monitoring and
logging
• Help you automate
the major DevOps
phases to support
faster, smaller
releases
• Source
• Build
• Test
• Deploy
• Monitor
• Dev & ops coming
together
 No more “silos”
• Shared responsibility
• Ownership
• Visibility and
communication
Culture Practices Tools
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Why does DevOps matter?
5xLower change
failure rate
440xFaster from commit
to deploy
46xMore frequent
deployments
44%More time spent on
new features and
code
Source: Puppet 2017 State of DevOps Report
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Continuous Integration (CI) is…
DevOps software development practice
Refers to Build or Integration stage of the software release
process
Key Activities
 Code changes merged into a central repository
 Automated builds and tests are run
Goals
 Find and address bugs quickly
 Improve software quality
 Reduce time to release new software updates
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Continuous Delivery (CD) is…
DevOps software development practice that refers to
Deployment stage of the software release process
Key Activities
 Deployment of all code changes to a testing and/or a
production environment
 Approval of updates to production from test stages
Goals
 Verify application updates across multiple dimensions
before deployment
 Automate entire software release process
 Pre-emptively discover deployment issues
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• Integration
tests with
other systems
• Load testing
• UI tests
• Penetration
testing
Source Build Test Deploy Monitor
Five Major Phases of DevOps: Release & Monitor
• Check-in
source code
such as .js,
.java, .cs files.
• Peer review
new code
• Compile code
• Unit tests
• Style checkers
• Code metrics
• Create
container
images
• Deployment
to production
environments
• Monitor code
in production
to quickly
detect
unusual
activity or
errors
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
General Best Practices of Amazon Developers
CI/CD is a MUST!
Everything that is code (application, infrastructure,
documentation) goes into a repository
Start with continuous delivery (“gated” promotion)
and build up to continuous deployment once
evidence of a high level of excellence in testing is clear
Deploy to canaries, test, deploy to an AZ, test, deploy
to a Region, test
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Code Services
AWS Continuous Integration & Delivery
AWS CodePipeline AWS CodeCommit AWS CodeBuildAWS CodeDeployAWS CodeStar
Introducing AWS CodeStar
Develop on AWS in minutes:
Easily set up your entire development environment and
programming tools for coding, building, testing, and
deploying on AWS
Collaborate securely with your entire:
Manage team access, add team members to projects by role
i.e. owners, contributors
Integrated issue tracking and project management:
Integrates Atlassian JIRA Software to easily manage issues
directly from CodeStar dashboard and monitor application
progress and activity
Supported for popular programming languages:
Develop variety of applications using language of choice
including Java, JavaScript, C#, PHP, Ruby, and Python.
Release code faster:
Set up your entire continuous delivery toolchain in minutes
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Features of AWS CodeStar
 Project Templates
 Team Access Management
with AWS IAM
 Managed Build Service with
AWS CodeBuild
 Unified Project Dashboard
using Amazon CloudWatch
monitoring service
 Issue tracking and project
management tool in
dashboard via integrated
Atlassian JIRA Software
 AWS CodeCommit for
Secure Hosted Git
Repository
 Automated App
Deployments with AWS
CodeDeploy and AWS
CloudFormation
 Integration of AWS
CodePipeline for Automated
Continuous Delivery Pipeline
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Preconfigured AWS CloudFormation templates for quick
development project creation
• Automatic provisioning of underlying AWS services
so the team can get coding quickly
Over twenty different AWS CodeStar project templates
Support for websites, web services, microservices,
Alexa Skills dev projects (and more)
3 Hosting environments
 Self-Managed: Amazon EC2 with AWS CodeDeploy
 Managed: AWS Elastic Beanstalk
 Serverless: AWS Lambda
Amazon
EC2
AWS
CodeDeploy
AWS Elastic
Beanstalk
AWS
Lambda
AWS Codestar – Project Templates
AWS CodeStar – Project Templates
Programming Languages
Java
PHP Python
JavaScript Ruby
CodeStar project templates support popular programming
languages and IDEs
IDE/Code Editors
Visual Studio
Eclipse
AWS CLI
AWS CLI
C#
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Project Dashboard
Coordinate your day-to-day development activities
Dashboard provides tools to view real time
application activity, monitor builds, and flow of
code through deployment pipeline
Customize project dashboard by adding,
removing, moving tiles
Add customizable team wiki tile for team
resources sharing or other purposes ex. show code
snippets
Use CodeStar project extensions to add tiles and
functionality dashboard
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Working with Teams
Build project team by granting user access to
CodeStar project
Project Roles
 Owner: Ability to add & remove team members,
contribute code to project repo, grant or deny team
members remote access
 Contributor: Ability to add & remove dashboard
resources, contribute code to the project repository
 Viewer: Ability to view the project dashboard, code,
tiles, and project state
Project team members (users)
 Can have different CodeStar roles and permissions
 Can belong to multiple CodeStar projects
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Programming Languages
Java
JavaScript
Python
Ruby
PHP
.Net Core (new)
IDE/Code Editors
Visual Studio
Eclipse
AWS CLI AWS CLI
CodeStar project templates support popular languages and IDEsAWS CodeStar – Language and IDE Support
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS CodeStar – AWS Code Services
Source Build Test Deploy Monitor
AWS CodeBuild
+ Third Party
Enabing CI/CD and Software release steps
AWS CodeCommit AWS CodeBuild AWS CodeDeploy
AWS CodePipeline
AWS
CodeStar
AWS X-Ray
Amazon
CloudWatch
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• Secure, scalable, and managed Git source
control
• Use standard Git tools
• Scalability, availability, and durability of
Amazon S3
• Encryption at rest with customer-specific keys
• No repo size limit
• Post commit hooks to call out to
SNS/Lambda
AWS CodeCommit
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• Fully managed build service that compiles
source code, runs tests, and produces
software packages
• Scales continuously and processes multiple
builds concurrently
• You can provide custom build environments
suited to your needs via Docker images
• Only pay by the minute for the compute
resources you use
• Launched with AWS CodePipeline and
Jenkins integration
AWS Code Services – AWS CodeBuild
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• Automates code deployments to any
instance or Lambda function
• Handles the complexity of updating your
applications
• Avoid downtime during application
deployment
• Rollback automatically if failure detected
• Deploy to Amazon EC2, Lambda, or on-
premises servers
• Integrates with third-party tools and AWS
AWS Code Services – AWS CodeDeploy
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• Continuous delivery service for fast and
reliable application updates
• Model and visualize your software release
process
• Builds, tests, and deploys your code every
time there is a code change
• Integrates with third-party tools and AWS
AWS Code Services – AWS CodePipeline
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• Debug and analyze production applications in
cloud or on-premises
• Visualize service graph to identify performance
bottlenecks
• Troubleshoot and fix performance issues
• Quantify customer impact
• Integration with Lambda enables you to monitor
serverless applications
• X-Ray SDK available in Java, .NET, Node.js, and
Python
AWS Code Services – AWS X-Ray
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Demo
CI/CD with AWS CodeStar
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Team
Members
AWS CodeStar
Administrator
Developers
commit
changes
Build
Changes
are built
Deployment
Code is
deployed
Monitoring
Application and
infrastructure
Ideas
Requests
Bug fixes
Developers
Best practices
Team
decisions
Changes
Updates
Fixes
Creates
project and
adds users Customer
input
Quickly develop, build, and deploy applications on AWS
AWS CodeStar – Automated Workflow
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Team
Members
AWS CodeStar
Administrator
Developers
commit
changes
Build
Changes
are built
Deployment
Code is
deployed
Monitoring
Application
and
infrastructure
Ideas
Requests
Bug fixes
Developers
Best practices
Team decisions
Changes
Updates
Fixes
Creates
project and
adds users Customer
input
Quickly develop, build, and deploy applications on AWS
AWS CodeStar – Automated Workflow
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Team
Members
AWS CodeStar
Administrator
Developers
commit
changes
Build
Changes
are built
Deployment
Code is
deployed
Monitoring
Application and
infrastructure
Ideas
Requests
Bug fixes
Developers
Best practices
Team
decisions
Changes
Updates
Fixes
Creates
project and
adds users Customer
input
Quickly develop, build, and deploy applications on AWS
AWS CodeStar – Automated Workflow
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Integrated Issue Tracking
Integrates with Atlassian JIRA Software – issue tracking
and project management tool
Easy JIRA and AWS CodeStar setup
 Log into JIRA and Copy URL from any project
 Enter JIRA URL field in the CodeStar Extensions
Monitor application activity and manage all JIRA issues in
CodeStar dashboard
Create new JIRA tickets for work items directly dashboard
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Summary
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon
CloudWatch
AWS CloudTrail
Monitoring
& Logging
AWS DevOps Portfolio
Enabling Release and Monitor phases
Software Development and
Continuous Delivery Toolchain
AWS CloudFormation
AWS OpsWorks
AWS Config
Infrastructure
as Code
AWS CodeCommit
AWS
CodeDeploy
AWS
CodePipeline
AWS CodeBuild
AWS CodeStar
AWS OpsWorks
for
Chef Automate
AWS X-Ray
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Summary
Learn more
Continuous Integration
https://aws.amazon.com/devops/continuous-integration/
Continuous Delivery
https://aws.amazon.com/devops/continuous-delivery/
CodeStar
https://aws.amazon.com/codestar
Check out Blog Post: Introducing AWS CodeStar
https://aws.amazon.com/blogs/aws/new-aws-codestar/
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Q&A
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Tara E. Walker
@taraw

More Related Content

What's hot

AWS CodeDeploy, AWS CodePipeline, and AWS CodeCommit: Transforming Software D...
AWS CodeDeploy, AWS CodePipeline, and AWS CodeCommit: Transforming Software D...AWS CodeDeploy, AWS CodePipeline, and AWS CodeCommit: Transforming Software D...
AWS CodeDeploy, AWS CodePipeline, and AWS CodeCommit: Transforming Software D...
Amazon Web Services
 

What's hot (20)

Azure Mobile Services Workshop
Azure Mobile Services WorkshopAzure Mobile Services Workshop
Azure Mobile Services Workshop
 
Development tools
Development toolsDevelopment tools
Development tools
 
DevOps, Continuous Integration and Deployment on AWS
DevOps, Continuous Integration and Deployment on AWSDevOps, Continuous Integration and Deployment on AWS
DevOps, Continuous Integration and Deployment on AWS
 
AWS CodeDeploy, AWS CodePipeline, and AWS CodeCommit: Transforming Software D...
AWS CodeDeploy, AWS CodePipeline, and AWS CodeCommit: Transforming Software D...AWS CodeDeploy, AWS CodePipeline, and AWS CodeCommit: Transforming Software D...
AWS CodeDeploy, AWS CodePipeline, and AWS CodeCommit: Transforming Software D...
 
Itb 2021 - Bulding Quick APIs by Gavin Pickin
Itb 2021 - Bulding Quick APIs by Gavin PickinItb 2021 - Bulding Quick APIs by Gavin Pickin
Itb 2021 - Bulding Quick APIs by Gavin Pickin
 
devops online training in hyderabad
devops online training in hyderabaddevops online training in hyderabad
devops online training in hyderabad
 
414: Build an agile CI/CD Pipeline for application integration
414: Build an agile CI/CD Pipeline for application integration414: Build an agile CI/CD Pipeline for application integration
414: Build an agile CI/CD Pipeline for application integration
 
Accelerate Spring Apps to Cloud at Scale
Accelerate Spring Apps to Cloud at ScaleAccelerate Spring Apps to Cloud at Scale
Accelerate Spring Apps to Cloud at Scale
 
AWS CodeCommit, CodeDeploy & CodePipeline
AWS CodeCommit, CodeDeploy & CodePipelineAWS CodeCommit, CodeDeploy & CodePipeline
AWS CodeCommit, CodeDeploy & CodePipeline
 
DevOps at Amazon: A Look at Our Tools and Processes
DevOps at Amazon: A Look at Our Tools and ProcessesDevOps at Amazon: A Look at Our Tools and Processes
DevOps at Amazon: A Look at Our Tools and Processes
 
DevOps Fest 2020. Андрей Шишенко. CI/CD for AWS Lambdas with Serverless frame...
DevOps Fest 2020. Андрей Шишенко. CI/CD for AWS Lambdas with Serverless frame...DevOps Fest 2020. Андрей Шишенко. CI/CD for AWS Lambdas with Serverless frame...
DevOps Fest 2020. Андрей Шишенко. CI/CD for AWS Lambdas with Serverless frame...
 
Zure Azure PaaS Zero to Hero - DevOps training day
Zure Azure PaaS Zero to Hero - DevOps training dayZure Azure PaaS Zero to Hero - DevOps training day
Zure Azure PaaS Zero to Hero - DevOps training day
 
Why your APIs should fly first class
Why your APIs should fly first classWhy your APIs should fly first class
Why your APIs should fly first class
 
Microsoft Tech Series 2019 - Azure DevOps
Microsoft Tech Series 2019 - Azure DevOpsMicrosoft Tech Series 2019 - Azure DevOps
Microsoft Tech Series 2019 - Azure DevOps
 
DevOps: a story about automation, open source & the Cloud
DevOps: a story about automation, open source & the CloudDevOps: a story about automation, open source & the Cloud
DevOps: a story about automation, open source & the Cloud
 
What is Serverless Computing?
What is Serverless Computing?What is Serverless Computing?
What is Serverless Computing?
 
Teams And PowerPlatform ROI Infographic
Teams And PowerPlatform ROI InfographicTeams And PowerPlatform ROI Infographic
Teams And PowerPlatform ROI Infographic
 
Agile Development in the Cloud - AWS India Summit 2012
Agile Development in the Cloud - AWS India Summit 2012Agile Development in the Cloud - AWS India Summit 2012
Agile Development in the Cloud - AWS India Summit 2012
 
VMware's Journey to Deliver Developer Portals as a Service
VMware's Journey to Deliver Developer Portals as a ServiceVMware's Journey to Deliver Developer Portals as a Service
VMware's Journey to Deliver Developer Portals as a Service
 
Building scalable applications using serverless on the cloud
Building scalable applications using serverless on the cloudBuilding scalable applications using serverless on the cloud
Building scalable applications using serverless on the cloud
 

Similar to Collision 2018: CodeStar for CICD Pipelines

Similar to Collision 2018: CodeStar for CICD Pipelines (20)

How to Build a CICD Pipeline with AWS CodeStar
How to Build a CICD Pipeline with AWS CodeStarHow to Build a CICD Pipeline with AWS CodeStar
How to Build a CICD Pipeline with AWS CodeStar
 
Improve Productivity with Continuous Integration & Delivery
Improve Productivity with Continuous Integration & DeliveryImprove Productivity with Continuous Integration & Delivery
Improve Productivity with Continuous Integration & Delivery
 
CI/CD for Serverless and Containerized Applications (DEV309-R1) - AWS re:Inve...
CI/CD for Serverless and Containerized Applications (DEV309-R1) - AWS re:Inve...CI/CD for Serverless and Containerized Applications (DEV309-R1) - AWS re:Inve...
CI/CD for Serverless and Containerized Applications (DEV309-R1) - AWS re:Inve...
 
Intro to AWS Developer Tools, featuring AWS CodeStar
Intro to AWS Developer Tools, featuring AWS CodeStarIntro to AWS Developer Tools, featuring AWS CodeStar
Intro to AWS Developer Tools, featuring AWS CodeStar
 
Accelerating Software Delivery with AWS Developer Tools & AWS Mobile services...
Accelerating Software Delivery with AWS Developer Tools & AWS Mobile services...Accelerating Software Delivery with AWS Developer Tools & AWS Mobile services...
Accelerating Software Delivery with AWS Developer Tools & AWS Mobile services...
 
AWS DevOps Essentials: An Introductory Workshop on CI/CD Best Practices (DEV3...
AWS DevOps Essentials: An Introductory Workshop on CI/CD Best Practices (DEV3...AWS DevOps Essentials: An Introductory Workshop on CI/CD Best Practices (DEV3...
AWS DevOps Essentials: An Introductory Workshop on CI/CD Best Practices (DEV3...
 
Introducing AWS CodeStar and the AWS CI:CD workflow - AWS Summit Tel Aviv 2017
Introducing AWS CodeStar and the  AWS CI:CD workflow - AWS Summit Tel Aviv 2017Introducing AWS CodeStar and the  AWS CI:CD workflow - AWS Summit Tel Aviv 2017
Introducing AWS CodeStar and the AWS CI:CD workflow - AWS Summit Tel Aviv 2017
 
Intro to AWS Developer Tools feat. AWS Codestar, and AWS SDKs & Developer Res...
Intro to AWS Developer Tools feat. AWS Codestar, and AWS SDKs & Developer Res...Intro to AWS Developer Tools feat. AWS Codestar, and AWS SDKs & Developer Res...
Intro to AWS Developer Tools feat. AWS Codestar, and AWS SDKs & Developer Res...
 
AWS CodeStar - AWS TelAviv Summit 2017
AWS CodeStar - AWS TelAviv Summit 2017  AWS CodeStar - AWS TelAviv Summit 2017
AWS CodeStar - AWS TelAviv Summit 2017
 
DevOps Spain 2019. Pedro Mendoza-AWS
DevOps Spain 2019. Pedro Mendoza-AWSDevOps Spain 2019. Pedro Mendoza-AWS
DevOps Spain 2019. Pedro Mendoza-AWS
 
Build CICD Pipeline for Container Presentation Slides
Build CICD Pipeline for Container Presentation SlidesBuild CICD Pipeline for Container Presentation Slides
Build CICD Pipeline for Container Presentation Slides
 
CI CD using AWS Developer Tools @ AWS Community Day Bengaluru 2018
CI CD using AWS Developer Tools @ AWS Community Day Bengaluru 2018CI CD using AWS Developer Tools @ AWS Community Day Bengaluru 2018
CI CD using AWS Developer Tools @ AWS Community Day Bengaluru 2018
 
Community day _aws_ci_cd_v0.2
Community day _aws_ci_cd_v0.2Community day _aws_ci_cd_v0.2
Community day _aws_ci_cd_v0.2
 
DevSecOps 的規模化實踐 (Level: 300-400)
DevSecOps 的規模化實踐 (Level: 300-400)DevSecOps 的規模化實踐 (Level: 300-400)
DevSecOps 的規模化實踐 (Level: 300-400)
 
SRV312 DevOps on AWS: Building Systems to Deliver Faster
SRV312 DevOps on AWS: Building Systems to Deliver FasterSRV312 DevOps on AWS: Building Systems to Deliver Faster
SRV312 DevOps on AWS: Building Systems to Deliver Faster
 
CI/CD@Scale
CI/CD@ScaleCI/CD@Scale
CI/CD@Scale
 
CI/CD best practices for building modern applications - MAD310 - New York AWS...
CI/CD best practices for building modern applications - MAD310 - New York AWS...CI/CD best practices for building modern applications - MAD310 - New York AWS...
CI/CD best practices for building modern applications - MAD310 - New York AWS...
 
Automate Software Deployments on EC2 with AWS CodeDeploy
Automate Software Deployments on EC2 with AWS CodeDeployAutomate Software Deployments on EC2 with AWS CodeDeploy
Automate Software Deployments on EC2 with AWS CodeDeploy
 
Dev Ops on AWS - Accelerating Software Delivery - AWS-Summit SG 2017
Dev Ops on AWS - Accelerating Software Delivery - AWS-Summit SG 2017Dev Ops on AWS - Accelerating Software Delivery - AWS-Summit SG 2017
Dev Ops on AWS - Accelerating Software Delivery - AWS-Summit SG 2017
 
GPSWKS404-GPS Game Changing C2S Services To Transform Your Customers Speed To...
GPSWKS404-GPS Game Changing C2S Services To Transform Your Customers Speed To...GPSWKS404-GPS Game Changing C2S Services To Transform Your Customers Speed To...
GPSWKS404-GPS Game Changing C2S Services To Transform Your Customers Speed To...
 

More from Amazon Web Services

Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
Amazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
Amazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
Amazon Web Services
 

More from Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Collision 2018: CodeStar for CICD Pipelines

  • 1. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Tara E. Walker Sr. Technical Evangelist Amazon Web Services @taraw 05.04.18 How to Build a CI/CD pipeline with AWS CodeStar Getting started down your Continuous Integration and Continuous Delivery journey
  • 2. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Agenda What is DevOps, Continuous Integration and Delivery? Introducing AWS CodeStar AWS CodeStar and AWS Code Services AWS CodeStar Issue Tracking with JIRA Summary
  • 3. What is DevOps? Union of software development and operations Migration of Agile continuous development into continuous integration and continuous delivery DevOps Model • No Silos – Puts emphasis on communication, collaboration, and cohesion between disciplines • Best practices for change, configuration, and deployment automation • Deliver apps/services at faster pace • High speed product updates Delivery Pipeline Feedback LoopCOMPANY CUSTOMERS
  • 4. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DevOps consists of culture, practices, & tools • Microservices based architecture • CI/CD – Continuous integration and continuous delivery • Infrastructure as code • Monitoring and logging • Help you automate the major DevOps phases to support faster, smaller releases • Source • Build • Test • Deploy • Monitor • Dev & ops coming together  No more “silos” • Shared responsibility • Ownership • Visibility and communication Culture Practices Tools
  • 5. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Why does DevOps matter? 5xLower change failure rate 440xFaster from commit to deploy 46xMore frequent deployments 44%More time spent on new features and code Source: Puppet 2017 State of DevOps Report
  • 6. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Continuous Integration (CI) is… DevOps software development practice Refers to Build or Integration stage of the software release process Key Activities  Code changes merged into a central repository  Automated builds and tests are run Goals  Find and address bugs quickly  Improve software quality  Reduce time to release new software updates
  • 7. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Continuous Delivery (CD) is… DevOps software development practice that refers to Deployment stage of the software release process Key Activities  Deployment of all code changes to a testing and/or a production environment  Approval of updates to production from test stages Goals  Verify application updates across multiple dimensions before deployment  Automate entire software release process  Pre-emptively discover deployment issues
  • 8. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. • Integration tests with other systems • Load testing • UI tests • Penetration testing Source Build Test Deploy Monitor Five Major Phases of DevOps: Release & Monitor • Check-in source code such as .js, .java, .cs files. • Peer review new code • Compile code • Unit tests • Style checkers • Code metrics • Create container images • Deployment to production environments • Monitor code in production to quickly detect unusual activity or errors
  • 9. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. General Best Practices of Amazon Developers CI/CD is a MUST! Everything that is code (application, infrastructure, documentation) goes into a repository Start with continuous delivery (“gated” promotion) and build up to continuous deployment once evidence of a high level of excellence in testing is clear Deploy to canaries, test, deploy to an AZ, test, deploy to a Region, test
  • 10. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Code Services AWS Continuous Integration & Delivery AWS CodePipeline AWS CodeCommit AWS CodeBuildAWS CodeDeployAWS CodeStar
  • 11. Introducing AWS CodeStar Develop on AWS in minutes: Easily set up your entire development environment and programming tools for coding, building, testing, and deploying on AWS Collaborate securely with your entire: Manage team access, add team members to projects by role i.e. owners, contributors Integrated issue tracking and project management: Integrates Atlassian JIRA Software to easily manage issues directly from CodeStar dashboard and monitor application progress and activity Supported for popular programming languages: Develop variety of applications using language of choice including Java, JavaScript, C#, PHP, Ruby, and Python. Release code faster: Set up your entire continuous delivery toolchain in minutes
  • 12. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Features of AWS CodeStar  Project Templates  Team Access Management with AWS IAM  Managed Build Service with AWS CodeBuild  Unified Project Dashboard using Amazon CloudWatch monitoring service  Issue tracking and project management tool in dashboard via integrated Atlassian JIRA Software  AWS CodeCommit for Secure Hosted Git Repository  Automated App Deployments with AWS CodeDeploy and AWS CloudFormation  Integration of AWS CodePipeline for Automated Continuous Delivery Pipeline
  • 13. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Preconfigured AWS CloudFormation templates for quick development project creation • Automatic provisioning of underlying AWS services so the team can get coding quickly Over twenty different AWS CodeStar project templates Support for websites, web services, microservices, Alexa Skills dev projects (and more) 3 Hosting environments  Self-Managed: Amazon EC2 with AWS CodeDeploy  Managed: AWS Elastic Beanstalk  Serverless: AWS Lambda Amazon EC2 AWS CodeDeploy AWS Elastic Beanstalk AWS Lambda AWS Codestar – Project Templates
  • 14. AWS CodeStar – Project Templates Programming Languages Java PHP Python JavaScript Ruby CodeStar project templates support popular programming languages and IDEs IDE/Code Editors Visual Studio Eclipse AWS CLI AWS CLI C#
  • 15. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Project Dashboard Coordinate your day-to-day development activities Dashboard provides tools to view real time application activity, monitor builds, and flow of code through deployment pipeline Customize project dashboard by adding, removing, moving tiles Add customizable team wiki tile for team resources sharing or other purposes ex. show code snippets Use CodeStar project extensions to add tiles and functionality dashboard
  • 16. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Working with Teams Build project team by granting user access to CodeStar project Project Roles  Owner: Ability to add & remove team members, contribute code to project repo, grant or deny team members remote access  Contributor: Ability to add & remove dashboard resources, contribute code to the project repository  Viewer: Ability to view the project dashboard, code, tiles, and project state Project team members (users)  Can have different CodeStar roles and permissions  Can belong to multiple CodeStar projects
  • 17. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Programming Languages Java JavaScript Python Ruby PHP .Net Core (new) IDE/Code Editors Visual Studio Eclipse AWS CLI AWS CLI CodeStar project templates support popular languages and IDEsAWS CodeStar – Language and IDE Support
  • 18. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS CodeStar – AWS Code Services Source Build Test Deploy Monitor AWS CodeBuild + Third Party Enabing CI/CD and Software release steps AWS CodeCommit AWS CodeBuild AWS CodeDeploy AWS CodePipeline AWS CodeStar AWS X-Ray Amazon CloudWatch
  • 19. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. • Secure, scalable, and managed Git source control • Use standard Git tools • Scalability, availability, and durability of Amazon S3 • Encryption at rest with customer-specific keys • No repo size limit • Post commit hooks to call out to SNS/Lambda AWS CodeCommit
  • 20. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. • Fully managed build service that compiles source code, runs tests, and produces software packages • Scales continuously and processes multiple builds concurrently • You can provide custom build environments suited to your needs via Docker images • Only pay by the minute for the compute resources you use • Launched with AWS CodePipeline and Jenkins integration AWS Code Services – AWS CodeBuild
  • 21. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. • Automates code deployments to any instance or Lambda function • Handles the complexity of updating your applications • Avoid downtime during application deployment • Rollback automatically if failure detected • Deploy to Amazon EC2, Lambda, or on- premises servers • Integrates with third-party tools and AWS AWS Code Services – AWS CodeDeploy
  • 22. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. • Continuous delivery service for fast and reliable application updates • Model and visualize your software release process • Builds, tests, and deploys your code every time there is a code change • Integrates with third-party tools and AWS AWS Code Services – AWS CodePipeline
  • 23. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. • Debug and analyze production applications in cloud or on-premises • Visualize service graph to identify performance bottlenecks • Troubleshoot and fix performance issues • Quantify customer impact • Integration with Lambda enables you to monitor serverless applications • X-Ray SDK available in Java, .NET, Node.js, and Python AWS Code Services – AWS X-Ray
  • 24. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Demo CI/CD with AWS CodeStar
  • 25. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Team Members AWS CodeStar Administrator Developers commit changes Build Changes are built Deployment Code is deployed Monitoring Application and infrastructure Ideas Requests Bug fixes Developers Best practices Team decisions Changes Updates Fixes Creates project and adds users Customer input Quickly develop, build, and deploy applications on AWS AWS CodeStar – Automated Workflow
  • 26. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Team Members AWS CodeStar Administrator Developers commit changes Build Changes are built Deployment Code is deployed Monitoring Application and infrastructure Ideas Requests Bug fixes Developers Best practices Team decisions Changes Updates Fixes Creates project and adds users Customer input Quickly develop, build, and deploy applications on AWS AWS CodeStar – Automated Workflow
  • 27. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Team Members AWS CodeStar Administrator Developers commit changes Build Changes are built Deployment Code is deployed Monitoring Application and infrastructure Ideas Requests Bug fixes Developers Best practices Team decisions Changes Updates Fixes Creates project and adds users Customer input Quickly develop, build, and deploy applications on AWS AWS CodeStar – Automated Workflow
  • 28. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Integrated Issue Tracking Integrates with Atlassian JIRA Software – issue tracking and project management tool Easy JIRA and AWS CodeStar setup  Log into JIRA and Copy URL from any project  Enter JIRA URL field in the CodeStar Extensions Monitor application activity and manage all JIRA issues in CodeStar dashboard Create new JIRA tickets for work items directly dashboard
  • 29. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Summary
  • 30. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon CloudWatch AWS CloudTrail Monitoring & Logging AWS DevOps Portfolio Enabling Release and Monitor phases Software Development and Continuous Delivery Toolchain AWS CloudFormation AWS OpsWorks AWS Config Infrastructure as Code AWS CodeCommit AWS CodeDeploy AWS CodePipeline AWS CodeBuild AWS CodeStar AWS OpsWorks for Chef Automate AWS X-Ray
  • 31. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Summary Learn more Continuous Integration https://aws.amazon.com/devops/continuous-integration/ Continuous Delivery https://aws.amazon.com/devops/continuous-delivery/ CodeStar https://aws.amazon.com/codestar Check out Blog Post: Introducing AWS CodeStar https://aws.amazon.com/blogs/aws/new-aws-codestar/
  • 32. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Q&A
  • 33. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Tara E. Walker @taraw