DO NOT DISTRIBUTE. Automating Applications with Continuous Delivery on AWS. Student Guide. Version 1.0

Size: px
Start display at page:

Download "DO NOT DISTRIBUTE. Automating Applications with Continuous Delivery on AWS. Student Guide. Version 1.0"

Transcription

1 Automating Applications with Continuous Delivery on AWS Student Guide Version 1.0

2 Copyright 2014 Amazon Web Services, Inc. or its affiliates. All rights reserved. This work may not be reproduced or redistributed, in whole or in part, without prior written permission from Amazon Web Services, Inc. Commercial copying, lending, or selling is prohibited. Corrections or feedback on the course, please us at: For all other questions, contact us at: All trademarks are the property of their owners Amazon Web Services, Inc. and its affiliates. All rights reserved. ii

3 Table of Contents Welcome to Automating Applications with Continuous Delivery on AWS... 1 Module 1: Your Application Deployments with AWS Management Services... 3 Module 2: Advanced Use of CloudFormation Module 3: Source Code Management & Automated Testing Module 4: Continuous Integration Concepts Module 5: Continuous Deployment Concepts Amazon Web Services, Inc. and its affiliates. All rights reserved. iii

4 Version 1.0 Welcome to: Automating Applications with Continuous Delivery on AWS Dean Samuels AWS Solution Architect What we will be covering today Check In Build & Test Git Atlassian Bamboo Tests Pass Deploy Adrian White AWS Solution Architect Elastic Beanstalk/AWS OpsWorks/AWS CloudFormation Repo CI Tools Orchestration Tools Code Test Build Provision Monitor Teardown 1 Continuous Integration and Continuous Deployment Pipeline Automating Applications with Continuous Delivery on AWS Application Deployment with AWS Management Services Amazon Web Services, Inc. and its affiliates. All rights reserved. 1

5 What you will be deploying today Developers Amazon Amazon Route 53 Amazon Route 53 Amazon Route 53 Route 53 Elastic Load Elastic Balancing Load Elastic Balancing Load Elastic Balancing Load Balancing DynamoDB Amazon S3 Auto Scaling group Auto Scaling group Auto App Scaling Instance group App Instance Auto App Scaling Instance group App Instance App Instance App Instance AWS Elastic Beanstalk App Instance App Instance AWS CloudFormation or AWS Elastic CloudFormation Shared Beanstalk or stacks AWS CloudFormation AWS Elastic CloudFormation Beanstalk Amazon RDSstacks or AWS Elastic CloudFormation Beanstalk or stacks Elastic Beanstalk stacks Automating Applications with Continuous Delivery on AWS Application Deployment with AWS Management Services Amazon Web Services, Inc. and its affiliates. All rights reserved. 2

6 Version 1.0 Welcome to: Automating Applications with Continuous Delivery on AWS Module 1: Your Application Deployments with AWS Management Services 1 Automating Applications with Continuous Delivery on AWS Application Deployment with AWS Management Services Amazon Web Services, Inc. and its affiliates. All rights reserved. 3

7 Infrastructure Environments Be prepared to be running multiple environments Development / Integration Testing/QA Staging/Pre-prod Production They should be running as close to the same stack as possible Use configuration management and infrastructure orchestration tools No one off hosts A goal: Go from nothing to fully running instances without human intervention Automating Applications with Continuous Delivery on AWS Application Deployment with AWS Management Services IF YOU CAN PROGRAM IT YOU CAN AUTOMATE IT 3 Automating Applications with Continuous Delivery on AWS Application Deployment with AWS Management Services Amazon Web Services, Inc. and its affiliates. All rights reserved. 4

8 What s the difference between CI and CD? Continuous Delivery is a method that advocates the creation of an automated deployment pipeline to release software rapidly and reliably into production Continuous Deployment is the next step of continuous delivery: Every change that passes the automated tests is deployed to production automatically. Continuous Integration Frequent integration of mainline code allows developers to rapidly discover integration problems and reduce development costs. Dev Deployment Pipeline Code Config Tests Commit to Git/master Version Control Config Get / Pull Code Repo Package Builder Push CI Server Generate Artifacts Distributed Builds Run Tests in parallel Deploy Server Test Env Staging Env Prod Env 6 Send Build Report to Dev Stop everything if build failed Automating Applications with Continuous Delivery on AWS Application Deployment with AWS Management Services Amazon Web Services, Inc. and its affiliates. All rights reserved. 5

9 Continuous Integration Pipeline DNS SOURCE CODE REPOSITORY CONTINUOUS INTEGRATION SERVER Automating Applications with Continuous Delivery on AWS Application Deployment with AWS Management Services AWS CloudFormation BUILDS PROJECT MANAGEMENT SERVER Elastic Beanstalk AMIs or App Bundles AWS OpsWorks AWS API 9 Automating Applications with Continuous Delivery on AWS Application Deployment with AWS Management Services Amazon Web Services, Inc. and its affiliates. All rights reserved. 6

10 Software Code Packaging and Delivery Options Software Repository vs Inventory of AMIs Your Code Your Code Fetch on Boot Your Code Fetch on Boot Web Container Framework Platform OS Web Container Framework Platform OS Container Framework Platform Automating Applications with Continuous Delivery on AWS Application Deployment with AWS Management Services 11 Web OS Install on Boot Eg with AWS CloudFormation Eg with Elastic Beanstalk Eg with AWS OpsWorks or AWS CloudFormation AWS Application Management Services Application Container Application & Resource Management Provision and manage AWS Resources You want to quickly get code running scalably and reliably without worrying about the underlying resources A shrink wrapped approach You want to run an application with the ability to customize and control software or resources DevOps Automation You want a simple, yet finely controllable way to model and version collections of AWS resources Fine grained control Elastic Beanstalk OpsWorks CloudFormation Amazon Web Services, Inc. and its affiliates. All rights reserved. 7

11 AWS OpsWorks A stack represents your application. One stack might be used for staging and another for production. AWS OpsWorks A layer defines how to setup and configure a set of instances and related resources such as volumes and software. Simply tell OpsWorks where it can find your code and define any additional deployment tasks. Then OpsWorks will take care of deploying your app in your desired configuration. Scale your stack based on time or load. Clone your production stack to a different region. Set up user permissions and access. Automate workflows for common tasks. setup configure deploy undeploy shutdown Amazon Web Services, Inc. and its affiliates. All rights reserved. 8

12 Demo Time Deploying Your Apps with AWS OpsWorks Automating Applications with Continuous Delivery on AWS Application Deployment with AWS Management Services CloudFormation Procedural definition Create it programmatically Parameter driven Dynamic and user-driven templates Template Known configuration Store stack configuration in source control Collaboration Share templates with ease as just files 16 Automating Applications with Continuous Delivery on AWS Application Deployment with AWS Management Services Amazon Web Services, Inc. and its affiliates. All rights reserved. 9

13 CloudFormation CloudFormation Template Stack JSON formatted file Parameter definition Resource creation Configuration actions Framework Stack creation Stack updates Error detection and rollback Automating Applications with Continuous Delivery on AWS Application Deployment with AWS Management Services Configured AWS services Comprehensive service support Service event aware Customisable Demo Time Deploying Your Apps with AWS CloudFormation 18 Automating Applications with Continuous Delivery on AWS Application Deployment with AWS Management Services Amazon Web Services, Inc. and its affiliates. All rights reserved. 10

14 Elastic Beanstalk IDE plugins Java.war file PHP.zip file Microsoft Web Deploy package Elastic Beanstalk User Application Application Service HTTP Service Language Interpreter Operating System Python.zip file Git integration 20 Host Amazon Web Services, Inc. and its affiliates. All rights reserved. 11

15 Elastic Beanstalk Demo Time Deploying Your Apps with Elastic Beanstalk 22 Automating Applications with Continuous Delivery on AWS Application Deployment with AWS Management Services Amazon Web Services, Inc. and its affiliates. All rights reserved. 12

16 Blue/Green Deployments Avoiding Downtime Avoiding Downtime Feature Flags A/B testing Managing costs by using A/B deployments Automating Applications with Continuous Delivery on AWS Application Deployment with AWS Management Services Blue/Green Deployments 100% Amazon Route 53 ELB EC2 Instances 24 DynamoDB MySQL RDS Instance ElastiCache Cache Node Amazon Web Services, Inc. and its affiliates. All rights reserved. 13

17 ELB EC2 Instances Amazon Route 53 90% 10% DynamoDB Amazon Route 53 MySQL RDS Instance 50% 50% ELB EC2 Instances ELB EC2 Instances ElastiCache Cache Node ELB EC2 Instances Auto scaling Max instances Min instances Scaling Trigger Custom Metrics Upper Threshold Lower Threshold Increment by, Update Policy As we shift more traffic over, let auto-scaling grow/shrink our instances of the new or old application 26 DynamoDB MySQL RDS Instance ElastiCache Cache Node Amazon Web Services, Inc. and its affiliates. All rights reserved. 14

18 ELB EC2 Instances DynamoDB EL B EC2 Instances Amazon Route 53 0% 100% MySQL RDS Instance Amazon Route 53 0% 100 % ELB EC2 Instances ElastiCache Cache Node ELB EC2 Instances As we shift more traffic over, let autoscaling grow/shrink our instances of the new or old application Shut down the old when no traffic there 28 DynamoDB MySQL RDS Instance ElastiCache Cache Node Amazon Web Services, Inc. and its affiliates. All rights reserved. 15

19 DynamoDB Amazon Route 53 MySQL RDS Instance 100 % ELB EC2 Instances ElastiCache Cache Node Blue/Green Deployments: Dealing with databases example Hot Deployment techniques Simple backup & restore (RDS user-initiated snapshots) Break large jobs into a series of backward compatible tasks & decouple Application deployment & DB migration 30 Automating Applications with Continuous Delivery on AWS Application Deployment with AWS Management Services Amazon Web Services, Inc. and its affiliates. All rights reserved. 16

20 Blue/Green Deployments: Dealing with databases example DB V1.1 V2.1 ID NAME ADDRESS ORDERID (Char) Joe Doe xxx Rob Smith xxxx Jane Smith xxxx Anne Lee xxxx V2.1 Deployment Timeline Blue/Green Deployments: Dealing with databases example Add a new column Deployment Timeline ID NAME ADDRESS ORDERID ORDERID_INT Joe Doe xxx Rob Smith xxxx Jane Smith xxxx Anne Lee xxxx Amazon Web Services, Inc. and its affiliates. All rights reserved. 17

21 Dealing with databases example DB V1.1 DB V1.1 Add a New Column V2.1 Change Apps to write to both new & old columns ID NAME ADDRESS ORDERID ORDERID_INT Joe Doe xxx Rob Smith xxxx Jane Smith xxxx Anne Lee xxxx Mark Fox cxxxx Dealing with databases example V2.1 DB V1.2 Add a New Column Deployment Timeline Change Apps to write to both new & old columns Migrate old column data to new column ( for older rows) Deployment Timeline ID NAME ADDRESS ORDERID ORDERID_INT Joe Doe xxx Rob Smith xxxx Jane Smith xxxx Anne Lee xxxx Mark Fox cxxxx Amazon Web Services, Inc. and its affiliates. All rights reserved. 18

22 Dealing with databases example DB V1.1 V2.1 DB V1.2 V2.2 Add a New Column Change Apps to write to both new & old columns Migrate old column data to new column ( for older rows) Update all Apps to read from new column ID NAME ADDRESS ORDERID ORDERID_INT Joe Doe xxx Rob Smith xxxx Jane Smith xxxx Anne Lee xxxx Mark Fox cxxxx Dealing with databases example DB V1.1 V2.1 DB V1.2 V2.2 V2.3 Add a New Column ID NAME ADDRESS ORDERID ORDERID_INT Joe Doe xxx Rob Smith xxxx Jane Smith xxxx Anne Lee xxxx Mark Fox cxxxx Mark Lee cxxxxx Deployment Timeline Change Apps to write to both new & old columns Migrate old column data to new column ( for older rows) Update all Apps to read from new column Update all Apps to only write to new column Deployment Timeline Amazon Web Services, Inc. and its affiliates. All rights reserved. 19

23 Dealing with databases example DB V1.1 V2.1 DB V1.2 V2.2 V2.3 ID NAME ADDRESS ORDERID_INT Joe Doe xxx Rob Smith xxxx 234 DB V Jane Smith xxxx Anne Lee xxxx Mark Fox cxxxx Mark Lee cxxxxx Add a New Column Change Apps to write to both new & old columns Migrate old column data to new column ( for older rows) Update all Apps to read from new column Update all Apps to only write to new column Drop the old column Deployment Timeline Deploying your Application Using AWS Management Services 38 Automating Applications with Continuous Delivery on AWS Application Deployment with AWS Management Services Amazon Web Services, Inc. and its affiliates. All rights reserved. 20

24 AWS Training & Certification Self-Paced Labs Training Certification Try products, gain new skills, and get hands-on practice working with AWS technologies aws.amazon.com/training/ self-paced-labs Skill up and gain confidence to design, develop, deploy and manage your applications on AWS aws.amazon.com/training Automating Applications with Continuous Delivery on AWS Application Deployment with AWS Management Services Demonstrate your skills, knowledge, and expertise with the AWS platform aws.amazon.com/certification Copyright 2014 Amazon Web Services, Inc. or its affiliates. All rights reserved. This work may not be reproduced or redistributed, in whole or in part, without prior written permission from Amazon Web Services, Inc. Commercial copying, lending, or selling is prohibited. Errors or corrections? us at For all other questions, contact us at: All trademarks are the property of their owners. 40 Automating Applications with Continuous Delivery on AWS Application Deployment with AWS Management Services Amazon Web Services, Inc. and its affiliates. All rights reserved. 21

25 Version 1.0 Welcome to: Automating Applications with Continuous Delivery on AWS Module 2: Advanced Use of CloudFormation 1 Automating Applications with Continuous Delivery on AWS Application Deployment with AWS Management Services Amazon Web Services, Inc. and its affiliates. All rights reserved. 22

26 Advanced use of CloudFormation Custom Resources Automating Applications with Continuous Delivery on AWS Application Deployment with AWS Management Services Amazon Web Services, Inc. and its affiliates. All rights reserved. 23

27 Parallel Stack Processing Conditions Dev 5 Prod Amazon Web Services, Inc. and its affiliates. All rights reserved. 24

28 Conditions "Parameters" : { "Environment" : { "Description" : "Specifies if this a Dev QA or Prod Environment", "Type" : "String", "Default" : "Dev", "AllowedValues" : [ "Dev", "QA", "Prod"] }, },... "Conditions" : { "ProdEnvironment" : { "Fn::Equals" : [ { "Ref" : "Environment" }, "Prod" ]} }, Conditions "DBInstance" : { "Type": "AWS::RDS::DBInstance", "Properties": { "DBName" : { "Ref" : "DBName" }, "Engine" : "MySQL", "MultiAZ" : { "Fn::If" : [ "ProdEnvironment", "true", "false" ] }, "DBSnapshotIdentifier" : { "Fn::If" : [ "ProdEnvironment", { "Ref" : "DBName" }, { "Ref" : "AWS::NoValue" } ] }, "DBInstanceClass" : { "Fn::If" : [ "ProdEnvironment", "db.m3.xlarge", "db.m3.medium" ] },... } }, Amazon Web Services, Inc. and its affiliates. All rights reserved. 25

29 Conditions "DBStorageAlarm" : { "Condition" : "ProdEnvironment", "Type" : "AWS::CloudWatch::Alarm", "Properties" : { "AlarmDescription" : "Alarm if db size grows beyond a threshold", "Namespace" : "AWS/RDS", "MetricName" : "FreeStorageSpace", }, }... Conditions Fn::If Fn::Equals Fn::Not Fn::And Fn::Or "Conditions" : {... "ProdOrLoadTestingEnv" : { "Fn::Or" : [ { "Condition" : "ProdEnvironment"}, { "Fn::Equals" : [... ]} ] } } "Fn::If": [{condition}, {value_if_true}, {value_if_false}] Amazon Web Services, Inc. and its affiliates. All rights reserved. 26

30 Bootstrapping user-data vs cfn-init user-data #!/bin/bash yum y install mysql mysql-server httpd php php-mysql wget unzip build-v4.zip -d /var/www/html wget -O \ /etc/httpd/conf/httpd.conf /sbin/chkconfig httpd on /sbin/service httpd start Only runs once at instance startup Bootstrapping user-data vs cfn-init cfn-init "AWS::CloudFormation::Init" : { "config" : { "packages" : { All that s required for instance UserData "yum" : { "mysql" : [], #!/bin/bash /opt/aws/bin/cfn-init s <STACK NAME> -r <LOGICAL_RESOURCE_ID> --region <REGION> "mysql-server" : [], "httpd" : [], "php" : [], "php-mysql" : [] } }, "sources" : { "/var/www/html" : }, "services" : { "sysinit" : { "httpd" : { Apply updates using cfn-hup service "enabled" : "true", "ensurerunning" : "true", "files" : ["/etc/nginx/nginx.conf"], "sources" : ["/var/www/html"] } } }, "files" : { "/etc/httpd/httpd.conf" : source : " } } Apply updates using cfn-hup service Amazon Web Services, Inc. and its affiliates. All rights reserved. 27

31 Bootstrapping user-data vs cfn-init cfn-init "AWS::CloudFormation::Init" : { "config" : { "packages" : { "yum" : { "mysql" : [], "mysql-server" : [], "httpd" : [], "php" : [], "php-mysql" : [] } }, "sources" : { "/var/www/html" : }, "services" : { "sysinit" : { "httpd" : { "enabled" : "true", "ensurerunning" : "true", "files" : ["/etc/nginx/nginx.conf"], "sources" : ["/var/www/html"] } } }, "files" : { "/etc/httpd/httpd.conf" : source : " } } Parameters and Mappings Apply updates using cfn-hup service Parameters are standard route into a stack Allow free-form user input Constrainable, but on a per-stack level Apply updates using cfn-hup service Mappings are traditionally used to map human-readable input to static values AMI IDs, instance type architectures, regional URLs However. Custom resources allow for centralized selection logic Lookups in: S3 DynamoDB/RDS APIs (EC2.DescribeImages, etc) Third Party datastore Amazon Web Services, Inc. and its affiliates. All rights reserved. 28

32 Custom Resources "mycustomresource" : { "Type": "Custom::MyCustomResource", } "Version" : "1.0", "Properties" : { } "ServiceToken": "arn:aws:sns:us-east-1:84969example:crtest", "CustomProperty" : "foo Automating Applications with Continuous Delivery on AWS Application Deployment with AWS Management Services Custom Resources "AMILookup": { }, "Type": "Custom::AmiLookup", "Properties": { } "ServiceToken": "arn:aws:sns:us-east-1:84969example:amilookup", "app": "WebApp", "version": "1.2", "os": "linux" "WebServer": { "Type": "AWS::EC2::Instance", } "Properties": { "ImageId" : { "Fn::GetAtt" : ["AMILookup", ami-id"] } } 15 Automating Applications with Continuous Delivery on AWS Application Deployment with AWS Management Services Amazon Web Services, Inc. and its affiliates. All rights reserved. 29

33 Custom Resources Create app:webapp version:1.2 os:linux 1 2 AWS CloudFormation 7 6 Output ami-id:ami-xxxxx Deploy EC2 Instance with AMI ami-xxxxx Custom Resource Topic Custom Resource Implementation Auto scaling Group DynamoDB Region SQS Queue Returns AMI id Query table, get AMI in ami-id key 5 4 ID where: app=webapp version=1.2 os is linux Third-Party Integration 3 Add New Resources Including AWS resources not currently supported by CFN Interact with the CloudFormation Workflow Inject dynamic data into a stack Extend the capabilities of existing resources Data management via CloudFormation It s really simple if you use aws-cfn-resource-bridge Install or fork from Major players: Chef Puppet Labs Puppet Ansible SaltStack Puppet and Chef are both enterprise-grade, ready for production Significant user bases within big organizations Battle-tested and proven Work across multiple operating systems Work in similar ways Have support options Ansible and SaltStack Becoming increasingly popular 17 Automating Applications with Continuous Delivery on AWS Application Deployment with AWS Management Services Amazon Web Services, Inc. and its affiliates. All rights reserved. 30

34 AWS Training & Certification Self-Paced Labs Training Certification Try products, gain new skills, and get hands-on practice working with AWS technologies aws.amazon.com/training/ self-paced-labs Skill up and gain confidence to design, develop, deploy and manage your applications on AWS aws.amazon.com/training Automating Applications with Continuous Delivery on AWS Application Deployment with AWS Management Services Demonstrate your skills, knowledge, and expertise with the AWS platform aws.amazon.com/certification Copyright 2014 Amazon Web Services, Inc. or its affiliates. All rights reserved. This work may not be reproduced or redistributed, in whole or in part, without prior written permission from Amazon Web Services, Inc. Commercial copying, lending, or selling is prohibited. Errors or corrections? us at For all other questions, contact us at: All trademarks are the property of their owners. 19 Automating Applications with Continuous Delivery on AWS Application Deployment with AWS Management Services Amazon Web Services, Inc. and its affiliates. All rights reserved. 31

35 Version 1.0 Welcome to: Automating Applications with Continuous Delivery on AWS Module 3: Continuous Integration and Deployment Source Code Management & Automated Testing Amazon Web Services, Inc. and its affiliates. All rights reserved. 32

36 What We Are Covering In This Module & Why Managing your source code Branching models supporting CI and CD Feature branching vs. long-lived branches Distributed vs. centralized source code management Source code management tools Automated testing Test driven development An example Python web application The CICD Pipeline Code Test Build Release Teardown Amazon Web Services, Inc. and its affiliates. All rights reserved. 33

37 The CICD Pipeline Code Code Test Build Release Teardown Distributed vs. Centralized Source Code Management Distributed Each developer gets their own source code repository, locally Supports parallel development workflows Local commit history Remove synchronizing around shared state, e.g. source code Central Commits are made against a centralized SCM Simplifies development workflow by forcing synchronization Reduces effectiveness of parallel streams of development on the same branch Amazon Web Services, Inc. and its affiliates. All rights reserved. 34

38 Branching Models Branching for features Branching for developers Prod Dev Feature Prod Alice Bob Branching for features can be much more effective when using CICD Amazon Web Services, Inc. and its affiliates. All rights reserved. 35

39 Source Code Management Tools Git SCM Behind the firewall or VPC Publicly hosted solutions Integrations with CI tool chains Others SVN Perforce Mercurial Managing Many Branches Feature Branching Prod UAT Feature Amazon Web Services, Inc. and its affiliates. All rights reserved. 36

40 Managing Many Branches Automated Merging UAT Feature 1 Feature 2 The CICD Pipeline Test Code Test Build Release Teardown Amazon Web Services, Inc. and its affiliates. All rights reserved. 37

41 Automated Testing Test driven and behavior driven development Reduce manual testing effort Improve consistency and accuracy through automation Inherit testing effort across future changes Automated Testing Unit Testing Test components of source code Helps find errors at a source code level early Supports code refactoring and simplifies integration Can provide detailed source level documentation Coupled with disciplines like TDD, ensures good test coverage Builds reusable test harnesses for future changes Amazon Web Services, Inc. and its affiliates. All rights reserved. 38

42 Automated Testing Code Coverage Measure how much code is covered by test suite Tests that all code is exercised Many approaches; function, statement, branch, exit Basic assumption: code not covered by tests is buggy Automated Testing What Else? Security and code auditing tests e.g. detecting SQL injection vulnerabilities Penetration testing Let AWS know before you do this on EC2 Automated load testing Distributed JMeter Bees with machine guns Web testing Selenium Amazon Web Services, Inc. and its affiliates. All rights reserved. 39

43 The Sample Web Application Self-Paced Labs Try products, gain new skills, and get hands-on practice working with AWS technologies aws.amazon.com/training/ self-paced-labs Setting up & Testing AWS Training & Certification Training Skill up and gain confidence to design, develop, deploy and manage your applications on AWS aws.amazon.com/training Certification Demonstrate your skills, knowledge, and expertise with the AWS platform aws.amazon.com/certification Amazon Web Services, Inc. and its affiliates. All rights reserved. 40

44 Copyright 2014 Amazon Web Services, Inc. or its affiliates. All rights reserved. This work may not be reproduced or redistributed, in whole or in part, without prior written permission from Amazon Web Services, Inc. Commercial copying, lending, or selling is prohibited. Errors or corrections? us at For all other questions, contact us at: All trademarks are the property of their owners Amazon Web Services, Inc. and its affiliates. All rights reserved. 41

45 Version 1.0 Welcome to: Automating Applications with Continuous Delivery on AWS Module 4: Continuous Integration and Deployment Continuous Integration Concepts Amazon Web Services, Inc. and its affiliates. All rights reserved. 42

46 What We Are Covering In This Module & Why The continuous integration pipeline SCM integration with feature branching Automated testing Some common CI tools Atlassian Bamboo Jenkins Demo: A CI pipeline for our example Python web application The CI Pipeline Code Test Build Release Teardown Amazon Web Services, Inc. and its affiliates. All rights reserved. 43

47 The CI Pipeline Code Test Deploy Release Teardown Code Test Deploy Release Teardown Prod UAT Feature 1 Code Test Deploy Release Teardown CI Tools Atlassian Bamboo & Jenkins Atlassian Bamboo Integration with other Atlassian toolchains Plugins on the Atlassian Marketplace, e.g. Tasks for AWS Vendor supported Jenkins Code Test Deploy Release Teardown Open source community Very widely deployed Broad plugin ecosystem Amazon Web Services, Inc. and its affiliates. All rights reserved. 44

48 Continuous Integration - Demo Staging a commit Bamboo has already been configured to run a build plan on commit Unit tests are automatically run Detailed feedback from build plan run (e.g. test log output) Green / red, or go / no-go The Sample Web Application Setting up & Testing Amazon Web Services, Inc. and its affiliates. All rights reserved. 45

49 Continuous Integration Self-Paced Labs Try products, gain new skills, and get hands-on practice working with AWS technologies aws.amazon.com/training/ self-paced-labs Atlassian Bamboo AWS Training & Certification Training Skill up and gain confidence to design, develop, deploy and manage your applications on AWS aws.amazon.com/training Certification Demonstrate your skills, knowledge, and expertise with the AWS platform aws.amazon.com/certification Amazon Web Services, Inc. and its affiliates. All rights reserved. 46

50 Copyright 2014 Amazon Web Services, Inc. or its affiliates. All rights reserved. This work may not be reproduced or redistributed, in whole or in part, without prior written permission from Amazon Web Services, Inc. Commercial copying, lending, or selling is prohibited. Errors or corrections? us at For all other questions, contact us at: All trademarks are the property of their owners Amazon Web Services, Inc. and its affiliates. All rights reserved. 47

51 Version 1.0 Welcome to: Automating Applications with Continuous Delivery on AWS Module 5: Continuous Integration and Deployment Continuous Deployment Concepts Amazon Web Services, Inc. and its affiliates. All rights reserved. 48

52 What We Are Covering In This Module & Why The continuous deployment pipeline Build, release, teardown Build approaches Baking AMIs Containers Demo: A CD pipeline for our example Python web application The CD Pipeline Code Test Build Release Teardown Amazon Web Services, Inc. and its affiliates. All rights reserved. 49

53 Build And Packaging Code Test Build Release Teardown Build And Packaging - Summary Baking an Amazon Machine Image (AMI) Immutable unit of deployment Ability to reference a point-in-time build artifact Robust roll forward and roll back Application packages Building a conventional application package Fast build and release cycle Containers Efficient build and release and immutable unit of deployment Amazon Web Services, Inc. and its affiliates. All rights reserved. 50

54 Build Baking An AMI Start a builder instance Bootstrap OS and application updates Bake your AMI Tag it Destroy/clean up the builder instance Build Bootstrapping Cfn-init, cfn-signal, cfn-hup Native AWS CloudFormation Chef & Puppet Re-use existing configuration management infrastructure Packer.io Can target different build outputs, e.g. AMIs and Docker containers Netflix Aminator (and other 3 rd party tools) Application update Bootstrap OS Builder instance Application update Bootstrap OS Builder instance Amazon Web Services, Inc. and its affiliates. All rights reserved. 51

55 Lightweight Linux Containers With Docker Docker provides Linux container infrastructure Lots of features: Very fast and cheap startup Portable across platforms Public/private registries Versioning support Re-use and container layers Automated bootstrapping Release Code Test Build Release Teardown Containers Docker AMI EC Amazon Web Services, Inc. and its affiliates. All rights reserved. 52

56 Release Approaches - Summary In-place to existing environment Managing interruption High risk Faster turn around time Rollback can be complex Rolling Release To Existing Environment Roll out change to each instance Don t release to all instances at once Think carefully about interruption Discrete environment Low risk A/B testing Testing in isolation Slower turn around time Rollback and roll-forward is easy Think carefully about state Amazon Web Services, Inc. and its affiliates. All rights reserved. 53

57 Rolling Release To Existing Environment Release carefully to each node and test Break connection between ELB and instance Use ELB connection draining Rolling Release To Existing Environment Release carefully to each node and test Break connection between ELB and instance Use ELB connection draining Amazon Web Services, Inc. and its affiliates. All rights reserved. 54

58 Rolling Release To Existing Environment Release carefully to each node and test Break connection between ELB and instance Use ELB connection draining Rolling Release To Existing Environment Release carefully to each node and test Break connection between ELB and instance Use ELB connection draining Amazon Web Services, Inc. and its affiliates. All rights reserved. 55

59 Rolling Release To Existing Environment What if applications versions can t co-exist? How do you do rollback with this approach? Is this complicated? Beanstalk also supports this method of deployment Discrete Environments AWS CloudFormation AWS CloudFormation and custom resources gives you all the flexibility you need Integration with CICD tool chains, e.g. Tasks for AWS plugin for Atlassian Bamboo Completely describes our environment and lifecycle Create Update Delete Amazon Web Services, Inc. and its affiliates. All rights reserved. 56

60 Discrete Environments - Release Lifecycle Release Releasing To Discrete Environment reinvent-1.cicd-bootcamp.com Test the new stack Match the traffic between the two stacks Update the floating DNS record Send Notification(s) ROLLBACK reinvent.cicd-bootcamp.com reinvent-2.cicd-bootcamp.com Amazon Web Services, Inc. and its affiliates. All rights reserved. 57

61 Traffic Matching For A Discrete Environment reinvent-1.cicd-bootcamp.com reinvent.cicd-bootcamp.com Releasing To Discrete Environment reinvent-1.cicd-bootcamp.com reinvent.cicd-bootcamp.com reinvent-2.cicd-bootcamp.com reinvent-2.cicd-bootcamp.com Amazon Web Services, Inc. and its affiliates. All rights reserved. 58

62 Rollback For A Discrete Environment reinvent-1.cicd-bootcamp.com reinvent.cicd-bootcamp.com Artifacts and Discrete Environments Build environments for artifacts, don t update environments with artifacts All environments are transient Standardisation, abstraction and portability reinvent-2.cicd-bootcamp.com Amazon Web Services, Inc. and its affiliates. All rights reserved. 59

63 Stateful Architectures But what about, Amazon Simple Queue Service Amazon DynamoDB Amazon Kinesis Amazon Relational Database Service? Application level awareness of state Application frameworks like Rails (Ruby), Django (Python) Application feature flags Teardown Code Test Build Release Teardown Amazon Web Services, Inc. and its affiliates. All rights reserved. 60

64 Tearing down discrete environments Teardown Continuous Delivery - Demo Staging a commit Ensure that no traffic is moving though ELB Teardown the CloudFormation Stack Deregister the AMI Bamboo is configured to run a build plan on commit for data stores and web application changes Data stores pipeline Web application pipeline Discrete stacks for each web application version Manual teardown (could be automated) Amazon Web Services, Inc. and its affiliates. All rights reserved. 61

65 Continuous Deployment Self-Paced Labs Try products, gain new skills, and get hands-on practice working with AWS technologies aws.amazon.com/training/ self-paced-labs Atlassian Bamboo AWS Training & Certification Training Skill up and gain confidence to design, develop, deploy and manage your applications on AWS aws.amazon.com/training Certification Demonstrate your skills, knowledge, and expertise with the AWS platform aws.amazon.com/certification Amazon Web Services, Inc. and its affiliates. All rights reserved. 62

66 Copyright 2014 Amazon Web Services, Inc. or its affiliates. All rights reserved. This work may not be reproduced or redistributed, in whole or in part, without prior written permission from Amazon Web Services, Inc. Commercial copying, lending, or selling is prohibited. Errors or corrections? us at For all other questions, contact us at: All trademarks are the property of their owners Amazon Web Services, Inc. and its affiliates. All rights reserved. 63

Deep Dive: Infrastructure as Code

Deep Dive: Infrastructure as Code Deep Dive: Infrastructure as Code Steven Bryen Solutions Architect, AWS Raj Wilkhu Principal Engineer, JUST EAT Bruce Jackson CTO, Myriad Group AG 2015, Amazon Web Services, Inc. or its affiliates. All

More information

Continuous Delivery on AWS. Version 1.0 DO NOT DISTRIBUTE

Continuous Delivery on AWS. Version 1.0 DO NOT DISTRIBUTE Continuous Version 1.0 Copyright 2013, 2014 Amazon Web Services, Inc. and its affiliates. All rights reserved. This work may not be reproduced or redistributed, in whole or in part, without prior written

More information

Introduction to DevOps on AWS

Introduction to DevOps on AWS Introduction to DevOps on AWS David Chapman December 2014 Contents Contents Abstract Introduction Agile Evolution to DevOps Infrastructure as Code AWS CloudFormation AWS AMI Continuous Deployment AWS CodeDeploy

More information

Jenkins World Tour 2015 Santa Clara, CA, September 2-3

Jenkins World Tour 2015 Santa Clara, CA, September 2-3 1 Jenkins World Tour 2015 Santa Clara, CA, September 2-3 Continuous Delivery with Container Ecosystem CAD @ Platform Equinix - Overview CAD Current Industry - Opportunities Monolithic to Micro Service

More information

Source Code Management for Continuous Integration and Deployment. Version 1.0 DO NOT DISTRIBUTE

Source Code Management for Continuous Integration and Deployment. Version 1.0 DO NOT DISTRIBUTE Source Code Management for Continuous Integration and Deployment Version 1.0 Copyright 2013, 2014 Amazon Web Services, Inc. and its affiliates. All rights reserved. This work may not be reproduced or redistributed,

More information

Servers. Servers. NAT Public Subnet: 172.30.128.0/20. Internet Gateway. VPC Gateway VPC: 172.30.0.0/16

Servers. Servers. NAT Public Subnet: 172.30.128.0/20. Internet Gateway. VPC Gateway VPC: 172.30.0.0/16 .0 Why Use the Cloud? REFERENCE MODEL Cloud Development April 0 Traditionally, deployments require applications to be bound to a particular infrastructure. This results in low utilization, diminished efficiency,

More information

Introduction to AWS in Higher Ed

Introduction to AWS in Higher Ed Introduction to AWS in Higher Ed Lori Clithero loricli@amazon.com 206.227.5054 University of Washington Cloud Day 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 2 Cloud democratizes

More information

EEDC. Scalability Study of web apps in AWS. Execution Environments for Distributed Computing

EEDC. Scalability Study of web apps in AWS. Execution Environments for Distributed Computing EEDC Execution Environments for Distributed Computing 34330 Master in Computer Architecture, Networks and Systems - CANS Scalability Study of web apps in AWS Sergio Mendoza sergio.mendoza@est.fib.upc.edu

More information

Scalable Application. Mikalai Alimenkou http://xpinjection.com 11.05.2012

Scalable Application. Mikalai Alimenkou http://xpinjection.com 11.05.2012 Scalable Application Development on AWS Mikalai Alimenkou http://xpinjection.com 11.05.2012 Background Java Technical Lead/Scrum Master at Zoral Labs 7+ years in software development 5+ years of working

More information

JAVA IN THE CLOUD PAAS PLATFORM IN COMPARISON

JAVA IN THE CLOUD PAAS PLATFORM IN COMPARISON JAVA IN THE CLOUD PAAS PLATFORM IN COMPARISON Eberhard Wolff Architecture and Technology Manager adesso AG, Germany 12.10. Agenda A Few Words About Cloud Java and IaaS PaaS Platform as a Service Google

More information

Razvoj Java aplikacija u Amazon AWS Cloud: Praktična demonstracija

Razvoj Java aplikacija u Amazon AWS Cloud: Praktična demonstracija Razvoj Java aplikacija u Amazon AWS Cloud: Praktična demonstracija Robert Dukarić University of Ljubljana Faculty of Computer and Information Science Laboratory for information systems integration Competence

More information

How To Manage An Ec2 Instance In A Cloud Instance

How To Manage An Ec2 Instance In A Cloud Instance Managing Your AWS Infrastructure at Scale Shaun Pearce Steven Bryen February 2015 2015, Amazon Web Services, Inc. or its affiliates. All rights reserved. Notices This document is provided for informational

More information

Managing Multi-Tiered Applications with AWS OpsWorks

Managing Multi-Tiered Applications with AWS OpsWorks Managing Multi-Tiered Applications with AWS OpsWorks Daniele Stroppa January 2015 Contents Contents Abstract Introduction Key Concepts Design Micro-services Architecture Provisioning and Deployment Managing

More information

Primex Wireless OneVue Architecture Statement

Primex Wireless OneVue Architecture Statement Primex Wireless OneVue Architecture Statement Secure, cloud-based workflow, alert, and notification platform built on top of Amazon Web Services (AWS) 2015 Primex Wireless, Inc. The Primex logo is a registered

More information

Microservices on AWS

Microservices on AWS Microservices on AWS AWS Summit Berlin 2016 Matthias Jung, Solutions Architect Julien Simon, Evangelist April, 12 th, 2016 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Agenda

More information

Java PaaS Enabling CI, CD, and DevOps

Java PaaS Enabling CI, CD, and DevOps Java PaaS Enabling CI, CD, and DevOps AuthX Overview Who We Are? Digital Engagement Company offering Technical and Marketing Services with proven success supporting Fortune 1000 companies. We partner with

More information

Building a Continuous Integration Pipeline with Docker

Building a Continuous Integration Pipeline with Docker Building a Continuous Integration Pipeline with Docker August 2015 Table of Contents Overview 3 Architectural Overview and Required Components 3 Architectural Components 3 Workflow 4 Environment Prerequisites

More information

TECHNOLOGY WHITE PAPER Jun 2012

TECHNOLOGY WHITE PAPER Jun 2012 TECHNOLOGY WHITE PAPER Jun 2012 Technology Stack C# Windows Server 2008 PHP Amazon Web Services (AWS) Route 53 Elastic Load Balancing (ELB) Elastic Compute Cloud (EC2) Amazon RDS Amazon S3 Elasticache

More information

CLOUD COMPUTING WITH AWS An INTRODUCTION. John Hildebrandt Solutions Architect ANZ

CLOUD COMPUTING WITH AWS An INTRODUCTION. John Hildebrandt Solutions Architect ANZ CLOUD COMPUTING WITH AWS An INTRODUCTION John Hildebrandt Solutions Architect ANZ AGENDA Todays Agenda Background and Value proposition of AWS Global infrastructure and the Sydney Region AWS services Drupal

More information

The Virtualization Practice

The Virtualization Practice The Virtualization Practice White Paper: Managing Applications in Docker Containers Bernd Harzog Analyst Virtualization and Cloud Performance Management October 2014 Abstract Docker has captured the attention

More information

SUCCESFUL TESTING THE CONTINUOUS DELIVERY PROCESS

SUCCESFUL TESTING THE CONTINUOUS DELIVERY PROCESS SUCCESFUL TESTING THE CONTINUOUS DELIVERY PROCESS @huibschoots & @mieldonkers INTRODUCTION Huib Schoots Tester @huibschoots Miel Donkers Developer @mieldonkers TYPICAL Experience with Continuous Delivery?

More information

Application Release Automation (ARA) Vs. Continuous Delivery

Application Release Automation (ARA) Vs. Continuous Delivery Application Release Automation (ARA) Vs. Continuous Delivery A whitepaper review of the feature and process differences between Continuous Delivery and Application Release Automation (ARA) By Tracy Ragan,

More information

Scalable Architecture on Amazon AWS Cloud

Scalable Architecture on Amazon AWS Cloud Scalable Architecture on Amazon AWS Cloud Kalpak Shah Founder & CEO, Clogeny Technologies kalpak@clogeny.com 1 * http://www.rightscale.com/products/cloud-computing-uses/scalable-website.php 2 Architect

More information

Azure Day Application Development

Azure Day Application Development Azure Day Application Development Randy Pagels Developer Technology Specialist Tim Adams Developer Solutions Specialist Azure App Service.NET, Java, Node.js, PHP, Python Auto patching Auto scale Integration

More information

Alfresco Enterprise on AWS: Reference Architecture

Alfresco Enterprise on AWS: Reference Architecture Alfresco Enterprise on AWS: Reference Architecture October 2013 (Please consult http://aws.amazon.com/whitepapers/ for the latest version of this paper) Page 1 of 13 Abstract Amazon Web Services (AWS)

More information

Continuous Delivery for Alfresco Solutions. Satisfied customers and happy developers with!! Continuous Delivery!

Continuous Delivery for Alfresco Solutions. Satisfied customers and happy developers with!! Continuous Delivery! Continuous Delivery for Alfresco Solutions Satisfied customers and happy developers with!! Continuous Delivery! About me Roeland Hofkens #rhofkens roeland.hofkens@westernacher.com http://opensource.westernacher.com

More information

TECHNOLOGY WHITE PAPER Jan 2016

TECHNOLOGY WHITE PAPER Jan 2016 TECHNOLOGY WHITE PAPER Jan 2016 Technology Stack C# PHP Amazon Web Services (AWS) Route 53 Elastic Load Balancing (ELB) Elastic Compute Cloud (EC2) Amazon RDS Amazon S3 Elasticache CloudWatch Paypal Overview

More information

ACCELERATE DEVOPS USING OPENSHIFT PAAS

ACCELERATE DEVOPS USING OPENSHIFT PAAS ACCELERATE DEVOPS USING OPENSHIFT PAAS September 3, 2014 AGENDA World we live in today IT organization: Charter, goals, and challenges DevOps: Problem statement, what, and why How to enable DevOps Application

More information

AIST Data Symposium. Ed Lenta. Managing Director, ANZ Amazon Web Services

AIST Data Symposium. Ed Lenta. Managing Director, ANZ Amazon Web Services AIST Data Symposium Ed Lenta Managing Director, ANZ Amazon Web Services Why are companies adopting cloud computing and AWS so quickly? #1: Agility The primary reason businesses are moving so quickly to

More information

Paul Barham (pabarham@microsoft.com) Program Manager - Java. David Staheli (dastahel@microsoft.com) Software Development Manager - Java

Paul Barham (pabarham@microsoft.com) Program Manager - Java. David Staheli (dastahel@microsoft.com) Software Development Manager - Java Paul Barham (pabarham@microsoft.com) Program Manager - Java David Staheli (dastahel@microsoft.com) Software Development Manager - Java to empower every person and every organization on the planet to achieve

More information

The Total Newbie s Introduction to Heat Orchestration in OpenStack

The Total Newbie s Introduction to Heat Orchestration in OpenStack Tutorial The Total Newbie s Introduction to Heat Orchestration in OpenStack OpenStack is undeniably becoming part of the mainstream cloud computing world. It is emerging as the new standard for private

More information

19.10.11. Amazon Elastic Beanstalk

19.10.11. Amazon Elastic Beanstalk 19.10.11 Amazon Elastic Beanstalk A Short History of AWS Amazon started as an ECommerce startup Original architecture was restructured to be more scalable and easier to maintain Competitive pressure for

More information

Amazon Web Services. 2015 Annual ALGIM Conference. Tim Dacombe-Bird Regional Sales Manager Amazon Web Services New Zealand

Amazon Web Services. 2015 Annual ALGIM Conference. Tim Dacombe-Bird Regional Sales Manager Amazon Web Services New Zealand Amazon Web Services 2015 Annual ALGIM Conference Tim Dacombe-Bird Regional Sales Manager Amazon Web Services New Zealand 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Agenda Who

More information

DevOps. Building a Continuous Delivery Pipeline

DevOps. Building a Continuous Delivery Pipeline DevOps Building a Continuous Delivery Pipeline Who Am I Bobby Warner Founder & President @bobbywarner What is the goal? Infrastructure as Code Write code to describe our infrastructure Never manually execute

More information

ArcGIS for Server in the Amazon Cloud. Michele Lundeen Esri

ArcGIS for Server in the Amazon Cloud. Michele Lundeen Esri ArcGIS for Server in the Amazon Cloud Michele Lundeen Esri What we will cover ArcGIS for Server in the Amazon Cloud Why How Extras Why do you need ArcGIS Server? Some examples Publish - Dynamic Map Services

More information

Continuous Delivery: Automating the Deployment Pipeline. Solution Brief

Continuous Delivery: Automating the Deployment Pipeline. Solution Brief Continuous Delivery: Automating the Deployment Pipeline Solution Brief The Value of Continuous Delivery Continuous Delivery is a software delivery practice that requires you to build and deploy software

More information

Cloud Computing with Amazon Web Services and the DevOps Methodology. www.cloudreach.com

Cloud Computing with Amazon Web Services and the DevOps Methodology. www.cloudreach.com Cloud Computing with Amazon Web Services and the DevOps Methodology Who am I? Max Manders @maxmanders Systems Developer at Cloudreach @cloudreach Director / Co-Founder of Whisky Web @whiskyweb Who are

More information

Continuous Integration using Docker & Jenkins

Continuous Integration using Docker & Jenkins Jenkins LinuxCon Europe 2014 October 13-15, 2014 Mattias Giese Solutions Architect giese@b1-systems.de - Linux/Open Source Consulting, Training, Support & Development Introducing B1 Systems founded in

More information

Continuous Delivery Benefits, Best Practices and Practical Advice

Continuous Delivery Benefits, Best Practices and Practical Advice Continuous Delivery Benefits, Best Practices and Practical Advice Jeffrey Hammond Forrester Research Ajit Zadgaonkar Edmunds.com Mark Warren Perforce Software Continuous Delivery: A Key Enabler of Feedback

More information

DevOps for the Mainframe

DevOps for the Mainframe DevOps for the Mainframe Rosalind Radcliffe IBM Distinguished Engineer, Enterprise Modernization Solution Architect rradclif@us.ibm.com 1 Please note IBM s statements regarding its plans, directions, and

More information

Continuous Integration and Delivery at NSIDC

Continuous Integration and Delivery at NSIDC National Snow and Ice Data Center Supporting Cryospheric Research Since 1976 Continuous Integration and Delivery at NSIDC Julia Collins National Snow and Ice Data Center Cooperative Institute for Research

More information

IAN MASSINGHAM. Technical Evangelist Amazon Web Services

IAN MASSINGHAM. Technical Evangelist Amazon Web Services IAN MASSINGHAM Technical Evangelist Amazon Web Services From 2014: Cloud computing has become the new normal Deploying new applications to the cloud by default Migrating existing applications as quickly

More information

GETTING STARTED WITH CONTINUOUS DELIVERY. Lana Kalashnyk @lana_vk wcgp.co

GETTING STARTED WITH CONTINUOUS DELIVERY. Lana Kalashnyk @lana_vk wcgp.co GETTING STARTED WITH CONTINUOUS DELIVERY Lana Kalashnyk @lana_vk wcgp.co ABOUT ME Lana Kalashnyk BAAS Computer Science minor Business Administration AS in Computer Science emphasis on Networking Cisco

More information

Architecture Statement

Architecture Statement Architecture Statement Secure, cloud-based workflow, alert, and notification platform built on top of Amazon Web Services (AWS) 2016 Primex Wireless, Inc. The Primex logo is a registered trademark of Primex

More information

Successful PaaS and CI in the Cloud

Successful PaaS and CI in the Cloud Successful PaaS and CI in the Cloud Steven G. Harris steven.g.harris@cloudbees.com @stevengharris AgileALM/EclipseCon 2012 Platform as a Service As-a-Service Examples Today SaaS PaaS "Cloud computing is

More information

Our Puppet Story. Martin Schütte. May 5 2014

Our Puppet Story. Martin Schütte. May 5 2014 Our Puppet Story Martin Schütte May 5 2014 About DECK36 Small team of 7 engineers Longstanding expertise in designing, implementing and operating complex web systems Developing own data intelligence-focused

More information

www.boost ur skills.com

www.boost ur skills.com www.boost ur skills.com AWS CLOUD COMPUTING WORKSHOP Write us at training@boosturskills.com BOOSTURSKILLS No 1736 1st Amrutha College Road Kasavanhalli,Off Sarjapur Road,Bangalore-35 1) Introduction &

More information

A central continuous integration platform

A central continuous integration platform A central continuous integration platform Agile Infrastructure use case and future plans Dec 5th, 2014 1/3 The Agile Infrastructure Use Case By Stefanos Georgiou What? Development practice Build better

More information

Infrastructure Clouds for Science and Education: Platform Tools

Infrastructure Clouds for Science and Education: Platform Tools Infrastructure Clouds for Science and Education: Platform Tools Kate Keahey, Renato J. Figueiredo, John Bresnahan, Mike Wilde, David LaBissoniere Argonne National Laboratory Computation Institute, University

More information

Thing Big: How to Scale Your Own Internet of Things. Walter'Pernstecher'-'pernstec@amazon.de' Dr.'Markus'Schmidberger'-'schmidbe@amazon.

Thing Big: How to Scale Your Own Internet of Things. Walter'Pernstecher'-'pernstec@amazon.de' Dr.'Markus'Schmidberger'-'schmidbe@amazon. Thing Big: How to Scale Your Own Internet of Things Walter'Pernstecher'-'pernstec@amazon.de' Dr.'Markus'Schmidberger'-'schmidbe@amazon.de' Internet of Things is the network of physical objects or "things"

More information

CHEF IN THE CLOUD AND ON THE GROUND

CHEF IN THE CLOUD AND ON THE GROUND CHEF IN THE CLOUD AND ON THE GROUND Michael T. Nygard Relevance michael.nygard@thinkrelevance.com @mtnygard Infrastructure As Code Infrastructure As Code Chef Infrastructure As Code Chef Development Models

More information

Migration Scenario: Migrating Backend Processing Pipeline to the AWS Cloud

Migration Scenario: Migrating Backend Processing Pipeline to the AWS Cloud Migration Scenario: Migrating Backend Processing Pipeline to the AWS Cloud Use case Figure 1: Company C Architecture (Before Migration) Company C is an automobile insurance claim processing company with

More information

Managed Amazon Web Services

Managed Amazon Web Services Managed Amazon Web Services iomart and Amazon Web Services (AWS) The growth of public cloud services has been led by Amazon, with AWS now the overwhelming market share leader, thanks to their extensive

More information

Last time. Today. IaaS Providers. Amazon Web Services, overview

Last time. Today. IaaS Providers. Amazon Web Services, overview Last time General overview, motivation, expected outcomes, other formalities, etc. Please register for course Online (if possible), or talk to CS secretaries Course evaluation forgotten Please assign one

More information

APP DEVELOPMENT ON THE CLOUD MADE EASY WITH PAAS

APP DEVELOPMENT ON THE CLOUD MADE EASY WITH PAAS APP DEVELOPMENT ON THE CLOUD MADE EASY WITH PAAS This article looks into the benefits of using the Platform as a Service paradigm to develop applications on the cloud. It also compares a few top PaaS providers

More information

LONDON. 2015, Amazon Web Services, Inc. or its affiliates. All rights reserved

LONDON. 2015, Amazon Web Services, Inc. or its affiliates. All rights reserved LONDON 2015, Amazon Web Services, Inc. or its affiliates. All rights reserved Best Practices for Building Partner Managed Services on AWS Kelly Hartman, Global Segment Leader, MSPs Kyle Lichtenberg, Solutions

More information

Continuous Integration and Bamboo. Ryan Cutter CSCI 5828 2012 Spring Semester

Continuous Integration and Bamboo. Ryan Cutter CSCI 5828 2012 Spring Semester Continuous Integration and Bamboo Ryan Cutter CSCI 5828 2012 Spring Semester Agenda What is CI and how can it help me? Fundamentals of CI Fundamentals of Bamboo Configuration / Price Quick example Features

More information

Last time. Today. IaaS Providers. Amazon Web Services, overview

Last time. Today. IaaS Providers. Amazon Web Services, overview Last time General overview, motivation, expected outcomes, other formalities, etc. Please register for course Online (if possible), or talk to CS secretaries Cloud computing introduction General concepts

More information

SUCCESFUL TESTING THE CONTINUOUS DELIVERY PROCESS

SUCCESFUL TESTING THE CONTINUOUS DELIVERY PROCESS SUCCESFUL TESTING THE CONTINUOUS DELIVERY PROCESS @pascal_dufour & @hrietman INTRODUCTION Pascal Dufour Agile Tester @Pascal_Dufour Harald Rietman Developer Scrum Master @hrietman TYPICAL Experience with

More information

HADOOP BIG DATA DEVELOPER TRAINING AGENDA

HADOOP BIG DATA DEVELOPER TRAINING AGENDA HADOOP BIG DATA DEVELOPER TRAINING AGENDA About the Course This course is the most advanced course available to Software professionals This has been suitably designed to help Big Data Developers and experts

More information

Building Success on Acquia Cloud:

Building Success on Acquia Cloud: Building Success on Acquia Cloud: 10 Layers of PaaS TECHNICAL Guide Table of Contents Executive Summary.... 3 Introducing the 10 Layers of PaaS... 4 The Foundation: Five Layers of PaaS Infrastructure...

More information

Practicing Continuous Delivery using Hudson. Winston Prakash Oracle Corporation

Practicing Continuous Delivery using Hudson. Winston Prakash Oracle Corporation Practicing Continuous Delivery using Hudson Winston Prakash Oracle Corporation Development Lifecycle Dev Dev QA Ops DevOps QA Ops Typical turn around time is 6 months to 1 year Sprint cycle is typically

More information

Fundamentals of Continuous Integration

Fundamentals of Continuous Integration Zend Blueprint for Delivery Fundamentals of Jenkins with and server by Slavey Karadzhov Introduction Delivery is a methodology, a mindset change and a leadership practice that focuses on how to achieve

More information

Version Control Your Jenkins Jobs with Jenkins Job Builder

Version Control Your Jenkins Jobs with Jenkins Job Builder Version Control Your Jenkins Jobs with Jenkins Job Builder Abstract Wayne Warren wayne@puppetlabs.com Puppet Labs uses Jenkins to automate building and testing software. While we do derive benefit from

More information

DevOps Best Practices for Mobile Apps. Sanjeev Sharma IBM Software Group

DevOps Best Practices for Mobile Apps. Sanjeev Sharma IBM Software Group DevOps Best Practices for Mobile Apps Sanjeev Sharma IBM Software Group Me 18 year in the software industry 15+ years he has been a solution architect with IBM Areas of work: o DevOps o Enterprise Architecture

More information

Urbancode Deploy Overview

Urbancode Deploy Overview Urbancode Deploy Overview Continuous delivery challenges facing customers 2 *Data based on UrbanCode customer survey Multi-Platform Application Deployment Automation Visibility and automated control of

More information

DLT Solutions and Amazon Web Services

DLT Solutions and Amazon Web Services DLT Solutions and Amazon Web Services For a seamless, cost-effective migration to the cloud PREMIER CONSULTING PARTNER DLT Solutions 2411 Dulles Corner Park, Suite 800 Herndon, VA 20171 Duane Thorpe Phone:

More information

Amazon Web Services. Lawrence Berkeley LabTech Conference 9/10/15. Jamie Baker Federal Scientific Account Manager AWS WWPS bakjames@amazon.

Amazon Web Services. Lawrence Berkeley LabTech Conference 9/10/15. Jamie Baker Federal Scientific Account Manager AWS WWPS bakjames@amazon. Web Services Lawrence Berkeley LabTech Conference 9/10/15 Jamie Baker Federal Scientific Account Manager AWS WWPS bakjames@amazon.com 2015, Web Services, Inc. or its Affiliates. All rights reserved. AWS

More information

Making Your ColdFusion Apps Highly Available. Brian Klaas Johns Hopkins Bloomberg School of Public Health bklaas@jhsph.

Making Your ColdFusion Apps Highly Available. Brian Klaas Johns Hopkins Bloomberg School of Public Health bklaas@jhsph. Making Your ColdFusion Apps Highly Available Brian Klaas Johns Hopkins Bloomberg School of Public Health bklaas@jhsph.edu @brian_klaas How much downtime can you afford? 99% = 14 minutes/day 99.9% = 1.4

More information

CloudCenter Full Lifecycle Management. An application-defined approach to deploying and managing applications in any datacenter or cloud environment

CloudCenter Full Lifecycle Management. An application-defined approach to deploying and managing applications in any datacenter or cloud environment CloudCenter Full Lifecycle Management An application-defined approach to deploying and managing applications in any datacenter or cloud environment CloudCenter Full Lifecycle Management Page 2 Table of

More information

Massively! Continuous Integration! A case study for Jenkins at cloud-scale

Massively! Continuous Integration! A case study for Jenkins at cloud-scale Massively! Continuous Integration! A case study for Jenkins at cloud-scale Thank you to our sponsors Platinum Sponsor Gold Sponsors Silver Sponsors Bronze Sponsors Jesse Dowdle, Sr Manager of Development

More information

Amazon Web Services Primer. William Strickland COP 6938 Fall 2012 University of Central Florida

Amazon Web Services Primer. William Strickland COP 6938 Fall 2012 University of Central Florida Amazon Web Services Primer William Strickland COP 6938 Fall 2012 University of Central Florida AWS Overview Amazon Web Services (AWS) is a collection of varying remote computing provided by Amazon.com.

More information

DevOps and SUSE From check-in to deployment

DevOps and SUSE From check-in to deployment DevOps and SUSE From check-in to deployment Rodolfo Bejarano SUSE Systems Engineer rodolfo.bejarano@suse.com Rick Ashford SUSE Systems Engineer rick.ashford@suse.com 2 Agenda 3 Introductions Development

More information

How AWS Pricing Works May 2015

How AWS Pricing Works May 2015 How AWS Pricing Works May 2015 (Please consult http://aws.amazon.com/whitepapers/ for the latest version of this paper) Page 1 of 15 Table of Contents Table of Contents... 2 Abstract... 3 Introduction...

More information

Migrating a running service to AWS

Migrating a running service to AWS Migrating a running service to AWS Nick Veenhof Ricardo Amaro DevOps Track https://events.drupal.org/barcelona2015/sessions/migrating-runningservice-mollom-aws-without-service-interruptions-and-reduce

More information

CONNECTRIA MANAGED AMAZON WEB SERVICES (AWS)

CONNECTRIA MANAGED AMAZON WEB SERVICES (AWS) CONNECTRIA MANAGED AMAZON WEB SERVICES (AWS) Maximize the benefits of using AWS. With Connectria s Managed AWS, you can purchase and implement 100% secure, highly available, managed AWS solutions all backed

More information

Workflows and Patterns. #jenkinsconf / @fbrnc

Workflows and Patterns. #jenkinsconf / @fbrnc Workflows and Patterns 2 September 5, 2015 Leo Janine that s me San Francisco, CA Fiona (and that s ok ) type YESIKNOWWHATIMDOING + click automatically http://kirbiecravings.com/2014/08/blueberry-mug-cake-2.html

More information

Introduction to Cloud Computing on Amazon Web Services (AWS) with focus on EC2 and S3. Horst Lueck

Introduction to Cloud Computing on Amazon Web Services (AWS) with focus on EC2 and S3. Horst Lueck Introduction to Cloud Computing on Amazon Web Services (AWS) with focus on EC2 and S3 Horst Lueck 2011-05-17 IT Pro Forum http://itproforum.org Thanks to Open Office Impress The Cloud the Name The 90s

More information

DevOps on AWS: Best Practices for Enterprise IT Teams

DevOps on AWS: Best Practices for Enterprise IT Teams : Best Practices for Enterprise IT Teams content@logicworks.net logicworks.net +1 866 FOR LOGIC 2015 Logicworks Executive Summary Amazon Web Services is a robust, powerful, and constantly evolving set

More information

AWS Service Catalog. User Guide

AWS Service Catalog. User Guide AWS Service Catalog User Guide AWS Service Catalog: User Guide Copyright 2016 Amazon Web Services, Inc. and/or its affiliates. All rights reserved. Amazon's trademarks and trade dress may not be used in

More information

DevOps Course Content

DevOps Course Content DevOps Course Content INTRODUCTION TO DEVOPS What is DevOps? History of DevOps Dev and Ops DevOps definitions DevOps and Software Development Life Cycle DevOps main objectives Infrastructure As A Code

More information

"Build and Test in the Cloud "

Build and Test in the Cloud W5 Class 11/17/2010 10:00:00 AM "Build and Test in the Cloud " Presented by: Darryl Bowler CollabNet Brought to you by: 330 Corporate Way, Suite 300, Orange Park, FL 32073 888 268 8770 904 278 0524 sqeinfo@sqe.com

More information

Introduction to Amazon Web Services! Leo Zhadanovsky! @leozh leo@amazon.com! Senior Solutions Architect

Introduction to Amazon Web Services! Leo Zhadanovsky! @leozh leo@amazon.com! Senior Solutions Architect Introduction to Amazon Web Services! Leo Zhadanovsky! @leozh leo@amazon.com! Senior Solutions Architect AWS HISTORY About How didamazon Amazon Web Services! Deep experience in building and operating global

More information

AWS CodePipeline. User Guide API Version 2015-07-09

AWS CodePipeline. User Guide API Version 2015-07-09 AWS CodePipeline User Guide AWS CodePipeline: User Guide Copyright 2015 Amazon Web Services, Inc. and/or its affiliates. All rights reserved. Amazon's trademarks and trade dress may not be used in connection

More information

EXECUTIVE SUMMARY CONTENTS. 1. Summary 2. Objectives 3. Methodology and Approach 4. Results 5. Next Steps 6. Glossary 7. Appendix. 1.

EXECUTIVE SUMMARY CONTENTS. 1. Summary 2. Objectives 3. Methodology and Approach 4. Results 5. Next Steps 6. Glossary 7. Appendix. 1. CONTENTS 1. Summary 2. Objectives 3. Methodology and Approach 4. Results 5. Next Steps 6. Glossary 7. Appendix EXECUTIVE SUMMARY Tenzing Managed IT services has recently partnered with Amazon Web Services

More information

AWS Directory Service. Simple AD Administration Guide Version 1.0

AWS Directory Service. Simple AD Administration Guide Version 1.0 AWS Directory Service Simple AD Administration Guide AWS Directory Service: Simple AD Administration Guide Copyright 2015 Amazon Web Services, Inc. and/or its affiliates. All rights reserved. Amazon's

More information

Automation & Open Source. How to tame the Cloud?

Automation & Open Source. How to tame the Cloud? Automation & Open Source How to tame the Cloud? Who are we? François Deppierraz Mathieu Bornoz System and Network engineer System and Software engineer Reluctant to type the same command twice Automation

More information

Amazon Web Services Student Tutorial

Amazon Web Services Student Tutorial Amazon Web Services Free Usage Tier Elastic Compute Cloud Amazon Web Services Student Tutorial David Palma Joseph Snow CSC 532: Advanced Software Engineering Louisiana Tech University October 4, 2012 Amazon

More information

Agile Software Factory: Bringing the reliability of a manufacturing line to software development

Agile Software Factory: Bringing the reliability of a manufacturing line to software development Agile Software Factory: Bringing the reliability of a manufacturing line to software development Today s businesses are complex organizations that must be agile across multiple channels in highly competitive

More information

Do DevOps on VMware vcloud Air Your Way, Without the Rework! Ashok Aletty, vcloud Air Solution Architect

Do DevOps on VMware vcloud Air Your Way, Without the Rework! Ashok Aletty, vcloud Air Solution Architect 1 Do DevOps on VMware vcloud Air Your Way, Without the Rework! Ashok Aletty, vcloud Air Solution Architect Agenda VMWare vcloud Air Overview Hybrid DevOps vcloud Air DevOps Services VMWare vcloud Air Public

More information

How To Set Up Wiremock In Anhtml.Com On A Testnet On A Linux Server On A Microsoft Powerbook 2.5 (Powerbook) On A Powerbook 1.5 On A Macbook 2 (Powerbooks)

How To Set Up Wiremock In Anhtml.Com On A Testnet On A Linux Server On A Microsoft Powerbook 2.5 (Powerbook) On A Powerbook 1.5 On A Macbook 2 (Powerbooks) The Journey of Testing with Stubs and Proxies in AWS Lucy Chang lucy_chang@intuit.com Abstract Intuit, a leader in small business and accountants software, is a strong AWS(Amazon Web Services) partner

More information

OpenShift on OpenStack

OpenShift on OpenStack OpenShift on OpenStack Jason Callaway Senior Solutions Architect jcallaway@redhat.com @jasoncallaway 11/14/2013 1 Agenda Why Platform as a Service (PaaS) Demo OpenShift Discuss OpenStack Heat Lab / hack-athon

More information

CoDe:U Git Flow - a Continuous Delivery Approach

CoDe:U Git Flow - a Continuous Delivery Approach CoDe:U Git Flow - a Continuous Delivery Approach Praqmatic Software Development 1 Continuous Delivery (CoDe) is an approach that builds very much on divide and conquer. It s bred from a lean and agile

More information

Learning Management Redefined. Acadox Infrastructure & Architecture

Learning Management Redefined. Acadox Infrastructure & Architecture Learning Management Redefined Acadox Infrastructure & Architecture w w w. a c a d o x. c o m Outline Overview Application Servers Databases Storage Network Content Delivery Network (CDN) & Caching Queuing

More information

DevOps. Josh Preston Solutions Architect Stardate 69094.1

DevOps. Josh Preston Solutions Architect Stardate 69094.1 DevOps Josh Preston Solutions Architect Stardate 69094.1 I keep hearing about DevOps What is it? FOR MANY ORGANIZATIONS, WHAT IS I.T. LIKE TODAY? WATERFALL AND SILOS Application Version X DEVELOPMENT OPERATIONS

More information

TestOps: Continuous Integration when infrastructure is the product. Barry Jaspan Senior Architect, Acquia Inc.

TestOps: Continuous Integration when infrastructure is the product. Barry Jaspan Senior Architect, Acquia Inc. TestOps: Continuous Integration when infrastructure is the product Barry Jaspan Senior Architect, Acquia Inc. This talk is about the hard parts. Rainbows and ponies have left the building. Intro to Continuous

More information

CLOUD COMPUTING & DIGITAL CUSTOMER EXPERIENCE. Nicola Previati Territory Manager Italy

CLOUD COMPUTING & DIGITAL CUSTOMER EXPERIENCE. Nicola Previati Territory Manager Italy CLOUD COMPUTING & DIGITAL CUSTOMER EXPERIENCE Nicola Previati Territory Manager Italy 8 th Birthday Launched on March 14th, 2006 STARTUPS ON AWS ENTERPRISES ON AWS Hotels Music Magazines Storage 150,000

More information