SlideShare ist ein Scribd-Unternehmen logo
1 von 28
DevOps on the AWS Cloud
Introductions
George Miranda
Product Marketing Manager
Chef
@gmiranda23
Erik Rogneby
Senior DevOps Engineer
Gannett
Isaiah Weiner
Solutions Architect
AWS
Traditional development models are obsolete
 Business is increasingly software-driven
 End-users expect both continuous improvement and stability from
applications
 IT needs to be able to provision infrastructure as rapidly as developers
demand it
 An organization’s pace of innovation is largely constrained by their
ability to develop applications
Increase
 Business agility
 Application stability
 Ability to meet customer
demand
 Time spent on innovation
 Security
Decrease
 Length of development cycles
 Time to market
 Deployment failures and
rollbacks
 Time to recover upon failure
DevOps can help
DevOps practices enable companies to innovate at a higher velocity
for customers
Infrastructure
as Code
Microservices Logging and
Monitoring
Continuous Integration/
Continuous Delivery
DevOps on AWS
AWS provides on-demand infrastructure resources and tooling built to
enable common DevOps practices
 Provision the server, storage, and networking capacity you
need on demand
 Deploy independently, as a single service, or a group of
services
 Make configuration changes repeatable and standardized
 Build custom templates to provision resources in a controlled
and predictable way
 Use version control to keep track of all changes made to your
infrastructure and application stack
Infrastructure as Code
Replace traditional infrastructure provisioning and management with
code-based techniques
 Build services around the business capabilities you require
 Scale up and down as required with virtually no notice
 Make configuration code changes repeatable and
standardized
 API-driven model enables management of infrastructure
with language typically used in application code
 Free developers from manually configuring operating
systems, system applications, and server software
Microservices
Build applications as a set of small services that communicates with other
services through APIs
 Maintain visibility and auditability of activity in your
application infrastructure
 Assess how application and infrastructure performance
impact end-user experience
 Gain insight into the root causes of problems or
unexpected changes
 Support services that must be available 24/7 as a result of
continuous integration/ continuous delivery
 Create alerts based on thresholds you define
Logging and Monitoring
Capture, categorize, and analyze data and logs generated by
applications and infrastructure
 Model and visualize your own custom release workflow
 Automate deployments of new code
 Improve developer productivity and deliver updates faster
 Find and address bugs quicker with more frequent and
comprehensive testing
 Store anything from source code to binaries using existing
Git tools
Continuous Integration and Continuous Delivery
Rapidly and reliably build, test, and deploy your applications, while
improving quality and reducing time to market.
Get started quickly
and pay as you go
Automate systems
operations
Scale without
infrastructure constraints
Improve visibility
and security
Leverage fully
managed services
Benefits of DevOps on AWS
Automated Workflow with Chef & AWS
Agenda
 Brief Chef overview
 Chef and AWS: your path to DevOps
 Gannett’s path to AWS with Chef
 Next steps
 Q&A
Chef: Leader in the DevOps Market
Born with the
DevOps
movement
Provider to web
leaders and the
enterprise
Understands
DevOps success
patterns
Distilled these
patterns into the
Chef platform
Products by Chef Software Inc.
Infrastructure Automation Application Automation Compliance Automation
Workflow
Visibility
Compliance
Chef & AWS Integration
 1 hour webinar, May 2016
 https://www.chef.io/blog/event/webinar-chef-and-aws-your-path-
to-devops/
 End-to-end view of test-driven development with Chef & AWS
 Showcase of AWS integration points
AWS Marketplace
 Fast and convenient way to try Chef on
your own w/ Enterprise features
 Pay-as-you-go
– Per hour billing for annual Chef server
licensing – unique to AWS
– $0.008 per node, per hour
 Flexible consumption pricing
– Retired license-pack model
– Billed only for the nodes in use
Chef Provisioning for AWS
 Provides convergent test & repair resources for managing AWS objects
require 'chef/provisioning/aws_driver'
with_driver 'aws::eu-west-1'
aws_vpc 'test-vpc' do
cidr_block '10.0.0.0/24'
internet_gateway true
end
aws_route_table 'ref-public1' do
vpc 'test-vpc' routes '0.0.0.0/0' => :internet_gateway
end
aws_s3_bucket 'name' do
enable_website_hosting true options({ :acl => 'private' })
website_options :index_document => { :suffix => 'index.html' },
:error_document => { :key => 'not_found.html' }
end
Chef Provisioning for AWS
Provides convergent test & repair resources for managing AWS objects
 Amazon EC2
instances
 Security groups
 EBS volumes
 Elastic IP addresses
 Autoscaling groups
 Launch configs
 Key pairs
 Amazon VPC
 VPC options
(subnets, peering,
routes, acl’s, etc)
 Elastic load balancers
 IAM roles
 IAM instance profiles
 Amazon S3 buckets
 Amazon RDS instances
 Amazon Route53
 SNS topics
 SQS queues
 ElasticSearch domains
 Amazon CloudWatch
alarms
 and more
https://docs.chef.io/release/devkit/provisioning_aws.html
Chef and AWS – Provisioning Frameworks
 Chef Provisioning
 AWS CloudFormation
 Terraform
 Use your own, but account for bootstrapping necessities
– https://docs.chef.io/install_bootstrap.html
Chef manages change across the AWS
development pipeline
Chef Compliance
Available via
AWS Marketplace
ChefDK
(test-kitchen)
Open Source &
Generally Available
Chef Automate
Available via
Chef Software, Inc.
Chef Server
Available via
AWS Marketplace
Chef Compliance
Available via
AWS Marketplace
Scan for
Compliance
Build & Test
Locally
Build & Test
CI/CD Remediate Verify
Gannett with Chef & AWS
 National and Local Newspaper and Media company
 National brand USATODAY
 108 media companies in 33 states
Chef Pipeline Tools at Gannett
 Enterprise Chef Server – all users share one org
 Private Supermarket – CI keeps supermarket in sync with chef-server
 Jenkins CI Server – the only way to publish cookbooks at Gannett
 Private gems repository on Artifactory
 Amazon EC2 AMIs available for CI testing
 Vagrant Images available for local testing
 Packer – for publishing and storing images
 Scalr – Cloud Management provider with governance
What are We Testing?
 Foodcritic – Chef linting, we fail on everything except FC005: Avoid repetition of
resource declarations
 Rubocop – Ruby linting, we exclude our tests and set max line length 160
 Chefspec – Unit testing, target 100% coverage with accurate context and platforms
 Serverspec – Integration testing, expected end state and audit for best practices
Our Internal Tool Chain
 Rake – shared rakefile for common understanding of how to
test and parallelize kitchen suites
 Kitchen-test-helper – cookbook for storing node attributes and
mocking databags from kitchen attributes in serverspec
• https://supermarket.chef.io/cookbooks/kitchen-test-helper
 Chef-Skeleton – built on the chef generate cookbook
command
 check_pr_versions – validate metadata version bump,
changelog entry and jira tickets in commits
 terminate-orphans – lambda script to remove untagged
instances and leftovers from failed kitchen runs
https://github.com/GannettDigital/chefconf2016
The Gannett Workflow
Cookbook Pipeline
Application Pipeline
Image Pipeline
Github repo with
packer scripts
and config
Jenkins kicks off
Packer builds
from ISO on
repo changes
Packer runs
chef-zero to
configure image
Packer import
image to
Amazon EC2
Use the Scalr
API to publish
images
Create
instances in
Scalr with the
new images
Validate existing
cookbooks can
converge on the
new image
Test with
remote
serverspec from
Jenkins and
promote images
on success
Create feature
branch/repo in
Github
Develop locally
using vagrant
images
Push branch to
Github and
create pull
request to
master
Jenkins kicks off
testing for all
PRs
Peer review of
successful test
and merge
Jenkins tests
changes to
master
Publish to
internal
supermarket
Publish to chef-
server
Create feature
branch/repo in
Github
Develop locally
Push branch to
Github and
create pull
request to
master
Jenkins kicks off
testing for all
PRs
Peer review of
successful test
and merge
Jenkins
publishes to
Artifactory and
kicks off
development
deployment
Remove old
instances and
create new
Amazon EC2
instances and
deploy with
Chef
Validate
application and
move to staging
or production
environments
A Path to DevOps
 Test-Driven Development
– Infrastructure is code. Your code should be tested.
– Verify your infrastructure works as intended
– Accept contributions with confidence
– Test-kitchen provides a rapid feedback cycle
– Critical component in a continuous delivery pipeline
 In-depth coverage
– https://www.chef.io/blog/event/webinar-chef-and-aws-your-path-to-devops/
 Try a tutorial for yourself at LearnChef
 http://learn.chef.io
Q&A

Weitere ähnliche Inhalte

Was ist angesagt?

AWS re:Invent 2016: Operations Automation and Infrastructure Management with ...
AWS re:Invent 2016: Operations Automation and Infrastructure Management with ...AWS re:Invent 2016: Operations Automation and Infrastructure Management with ...
AWS re:Invent 2016: Operations Automation and Infrastructure Management with ...
Amazon Web Services
 
Auto-Scaling Web Application Security in Amazon Web Services (SEC308) | AWS r...
Auto-Scaling Web Application Security in Amazon Web Services (SEC308) | AWS r...Auto-Scaling Web Application Security in Amazon Web Services (SEC308) | AWS r...
Auto-Scaling Web Application Security in Amazon Web Services (SEC308) | AWS r...
Amazon Web Services
 

Was ist angesagt? (20)

網路安全自動化 - 縮短應用維安的作業時間
網路安全自動化 - 縮短應用維安的作業時間網路安全自動化 - 縮短應用維安的作業時間
網路安全自動化 - 縮短應用維安的作業時間
 
Deep Dive on Microservices and Amazon ECS
Deep Dive on Microservices and Amazon ECSDeep Dive on Microservices and Amazon ECS
Deep Dive on Microservices and Amazon ECS
 
AWS Enterprise Summit Netherlands - WorkSpaces & WorkMail
AWS Enterprise Summit Netherlands - WorkSpaces & WorkMailAWS Enterprise Summit Netherlands - WorkSpaces & WorkMail
AWS Enterprise Summit Netherlands - WorkSpaces & WorkMail
 
Security best practices on AWS - Pop-up Loft TLV 2017
Security best practices on AWS - Pop-up Loft TLV 2017Security best practices on AWS - Pop-up Loft TLV 2017
Security best practices on AWS - Pop-up Loft TLV 2017
 
NEW LAUNCH! Additional transparency and control for your AWS environment thro...
NEW LAUNCH! Additional transparency and control for your AWS environment thro...NEW LAUNCH! Additional transparency and control for your AWS environment thro...
NEW LAUNCH! Additional transparency and control for your AWS environment thro...
 
Dev ops on aws deep dive on continuous delivery - Toronto
Dev ops on aws deep dive on continuous delivery - TorontoDev ops on aws deep dive on continuous delivery - Toronto
Dev ops on aws deep dive on continuous delivery - Toronto
 
(SEC314) AWS for the Enterprise: Implementing Policy, Governance & Security
(SEC314) AWS for the Enterprise: Implementing Policy, Governance & Security(SEC314) AWS for the Enterprise: Implementing Policy, Governance & Security
(SEC314) AWS for the Enterprise: Implementing Policy, Governance & Security
 
(SEC301) Strategies for Protecting Data Using Encryption in AWS
(SEC301) Strategies for Protecting Data Using Encryption in AWS(SEC301) Strategies for Protecting Data Using Encryption in AWS
(SEC301) Strategies for Protecting Data Using Encryption in AWS
 
Getting Started With AWS Security
Getting Started With AWS SecurityGetting Started With AWS Security
Getting Started With AWS Security
 
Managing your identities in the cloud with AWS and Microsoft Active Directory...
Managing your identities in the cloud with AWS and Microsoft Active Directory...Managing your identities in the cloud with AWS and Microsoft Active Directory...
Managing your identities in the cloud with AWS and Microsoft Active Directory...
 
Devops on AWS
Devops on AWSDevops on AWS
Devops on AWS
 
AWS APAC Webinar Week - Getting The Most From EC2
AWS APAC Webinar Week - Getting The Most From EC2AWS APAC Webinar Week - Getting The Most From EC2
AWS APAC Webinar Week - Getting The Most From EC2
 
使用 AWS 負載平衡服務讓您的應用程式規模化
使用 AWS 負載平衡服務讓您的應用程式規模化使用 AWS 負載平衡服務讓您的應用程式規模化
使用 AWS 負載平衡服務讓您的應用程式規模化
 
Getting Started with AWS Lambda and the Serverless Cloud
Getting Started with AWS Lambda and the Serverless CloudGetting Started with AWS Lambda and the Serverless Cloud
Getting Started with AWS Lambda and the Serverless Cloud
 
Improving Infrastructure Governance on AWS by Henrik Johansson, Solutions Ar...
 Improving Infrastructure Governance on AWS by Henrik Johansson, Solutions Ar... Improving Infrastructure Governance on AWS by Henrik Johansson, Solutions Ar...
Improving Infrastructure Governance on AWS by Henrik Johansson, Solutions Ar...
 
AWS re:Invent 2016: Operations Automation and Infrastructure Management with ...
AWS re:Invent 2016: Operations Automation and Infrastructure Management with ...AWS re:Invent 2016: Operations Automation and Infrastructure Management with ...
AWS re:Invent 2016: Operations Automation and Infrastructure Management with ...
 
DevOps for the Enterprise: Continuous Deployment
DevOps for the Enterprise: Continuous DeploymentDevOps for the Enterprise: Continuous Deployment
DevOps for the Enterprise: Continuous Deployment
 
DevOps Tooling - Pop-up Loft TLV 2017
DevOps Tooling - Pop-up Loft TLV 2017DevOps Tooling - Pop-up Loft TLV 2017
DevOps Tooling - Pop-up Loft TLV 2017
 
AWS re:Invent 2016: Amazon CloudWatch Logs and AWS Lambda: A Match Made in He...
AWS re:Invent 2016: Amazon CloudWatch Logs and AWS Lambda: A Match Made in He...AWS re:Invent 2016: Amazon CloudWatch Logs and AWS Lambda: A Match Made in He...
AWS re:Invent 2016: Amazon CloudWatch Logs and AWS Lambda: A Match Made in He...
 
Auto-Scaling Web Application Security in Amazon Web Services (SEC308) | AWS r...
Auto-Scaling Web Application Security in Amazon Web Services (SEC308) | AWS r...Auto-Scaling Web Application Security in Amazon Web Services (SEC308) | AWS r...
Auto-Scaling Web Application Security in Amazon Web Services (SEC308) | AWS r...
 

Andere mochten auch

Cfg mgmtcamp c-dwithchef
Cfg mgmtcamp c-dwithchefCfg mgmtcamp c-dwithchef
Cfg mgmtcamp c-dwithchef
George Miranda
 
InterVision-Overview.January-2016
InterVision-Overview.January-2016InterVision-Overview.January-2016
InterVision-Overview.January-2016
Arthur Sobczyk
 

Andere mochten auch (20)

Jenkins and Chef: Infrastructure CI and Automated Deployment
Jenkins and Chef: Infrastructure CI and Automated DeploymentJenkins and Chef: Infrastructure CI and Automated Deployment
Jenkins and Chef: Infrastructure CI and Automated Deployment
 
Chef Automate Workflow Demo
Chef Automate Workflow DemoChef Automate Workflow Demo
Chef Automate Workflow Demo
 
AWS Enterprise Summit Netherlands - AWS IoT
AWS Enterprise Summit Netherlands - AWS IoTAWS Enterprise Summit Netherlands - AWS IoT
AWS Enterprise Summit Netherlands - AWS IoT
 
Big Data on AWS - Toronto FSI Symposium - October 2016
Big Data on AWS - Toronto FSI Symposium - October 2016Big Data on AWS - Toronto FSI Symposium - October 2016
Big Data on AWS - Toronto FSI Symposium - October 2016
 
Managing Your Infrastructure as Code
Managing Your Infrastructure as CodeManaging Your Infrastructure as Code
Managing Your Infrastructure as Code
 
Best Practices for IoT Security in the Cloud
Best Practices for IoT Security in the CloudBest Practices for IoT Security in the Cloud
Best Practices for IoT Security in the Cloud
 
Cloud Migration for Financial Services - Toronto - October 2016
Cloud Migration for Financial Services - Toronto - October 2016Cloud Migration for Financial Services - Toronto - October 2016
Cloud Migration for Financial Services - Toronto - October 2016
 
DevOps, Common use cases, Architectures, Best Practices
DevOps, Common use cases, Architectures, Best PracticesDevOps, Common use cases, Architectures, Best Practices
DevOps, Common use cases, Architectures, Best Practices
 
4 Steps to Effectively Integrate DevOps Workflows With Cloud Security Practices
4 Steps to Effectively Integrate DevOps Workflows With Cloud Security Practices4 Steps to Effectively Integrate DevOps Workflows With Cloud Security Practices
4 Steps to Effectively Integrate DevOps Workflows With Cloud Security Practices
 
Cfg mgmtcamp c-dwithchef
Cfg mgmtcamp c-dwithchefCfg mgmtcamp c-dwithchef
Cfg mgmtcamp c-dwithchef
 
AWS DevOps Event - AWS Services enabling DevOps - Continuous Integration & Au...
AWS DevOps Event - AWS Services enabling DevOps - Continuous Integration & Au...AWS DevOps Event - AWS Services enabling DevOps - Continuous Integration & Au...
AWS DevOps Event - AWS Services enabling DevOps - Continuous Integration & Au...
 
What is Amazon Web Services & How to Start to deploy your apps ?
What is Amazon Web Services & How to Start to deploy your apps ?What is Amazon Web Services & How to Start to deploy your apps ?
What is Amazon Web Services & How to Start to deploy your apps ?
 
Devops journey chefpopup-2016.04.26-v2
Devops journey chefpopup-2016.04.26-v2Devops journey chefpopup-2016.04.26-v2
Devops journey chefpopup-2016.04.26-v2
 
InterVision-Overview.January-2016
InterVision-Overview.January-2016InterVision-Overview.January-2016
InterVision-Overview.January-2016
 
Deep Dive on Microservices and Amazon ECS
Deep Dive on Microservices and Amazon ECSDeep Dive on Microservices and Amazon ECS
Deep Dive on Microservices and Amazon ECS
 
OpenStack Foundation 2H 2015 Marketing Plan
OpenStack Foundation 2H 2015 Marketing PlanOpenStack Foundation 2H 2015 Marketing Plan
OpenStack Foundation 2H 2015 Marketing Plan
 
Cloud Native Applications - DevOps, EMC and Cloud Foundry
Cloud Native Applications - DevOps, EMC and Cloud FoundryCloud Native Applications - DevOps, EMC and Cloud Foundry
Cloud Native Applications - DevOps, EMC and Cloud Foundry
 
Intro to Platform9: Private Clouds Made Easy
Intro to Platform9: Private Clouds Made EasyIntro to Platform9: Private Clouds Made Easy
Intro to Platform9: Private Clouds Made Easy
 
Security Innovations in the Cloud
Security Innovations in the CloudSecurity Innovations in the Cloud
Security Innovations in the Cloud
 
Getting Started with Windows Workloads on Amazon EC2
 Getting Started with Windows Workloads on Amazon EC2 Getting Started with Windows Workloads on Amazon EC2
Getting Started with Windows Workloads on Amazon EC2
 

Ähnlich wie Automated DevOps Workflows with Chef on AWS

Ähnlich wie Automated DevOps Workflows with Chef on AWS (20)

Achieve Scale & Velocity with AWS OpsWorks for Chef Automate
Achieve Scale & Velocity with AWS OpsWorks for Chef AutomateAchieve Scale & Velocity with AWS OpsWorks for Chef Automate
Achieve Scale & Velocity with AWS OpsWorks for Chef Automate
 
Modernizing Testing as Apps Re-Architect
Modernizing Testing as Apps Re-ArchitectModernizing Testing as Apps Re-Architect
Modernizing Testing as Apps Re-Architect
 
04_Azure Kubernetes Service: Basic Practices for Developers_GAB2019
04_Azure Kubernetes Service: Basic Practices for Developers_GAB201904_Azure Kubernetes Service: Basic Practices for Developers_GAB2019
04_Azure Kubernetes Service: Basic Practices for Developers_GAB2019
 
A Bit of Everything Chef
A Bit of Everything ChefA Bit of Everything Chef
A Bit of Everything Chef
 
DevOps on Windows: How to Deploy Complex Windows Workloads | AWS Public Secto...
DevOps on Windows: How to Deploy Complex Windows Workloads | AWS Public Secto...DevOps on Windows: How to Deploy Complex Windows Workloads | AWS Public Secto...
DevOps on Windows: How to Deploy Complex Windows Workloads | AWS Public Secto...
 
AWS re:Invent 2016: Enabling DevOps for an Enterprise with AWS Service Catalo...
AWS re:Invent 2016: Enabling DevOps for an Enterprise with AWS Service Catalo...AWS re:Invent 2016: Enabling DevOps for an Enterprise with AWS Service Catalo...
AWS re:Invent 2016: Enabling DevOps for an Enterprise with AWS Service Catalo...
 
ClearScale: Continuous Automation with Docker on AWS
ClearScale: Continuous Automation with Docker on AWSClearScale: Continuous Automation with Docker on AWS
ClearScale: Continuous Automation with Docker on AWS
 
Managing Your Cloud Assets
Managing Your Cloud AssetsManaging Your Cloud Assets
Managing Your Cloud Assets
 
WinOps Conf 2016 - Ed Wilson - Configuration Management with Azure DSC
WinOps Conf 2016 - Ed Wilson - Configuration Management with Azure DSCWinOps Conf 2016 - Ed Wilson - Configuration Management with Azure DSC
WinOps Conf 2016 - Ed Wilson - Configuration Management with Azure DSC
 
Announcing AWS OpsWorks for Chef Automate - January 2017 AWS Online Tech Talks
Announcing AWS OpsWorks for Chef Automate - January 2017 AWS Online Tech TalksAnnouncing AWS OpsWorks for Chef Automate - January 2017 AWS Online Tech Talks
Announcing AWS OpsWorks for Chef Automate - January 2017 AWS Online Tech Talks
 
DOO-009_Powering High Velocity Development for your Infrastructure
DOO-009_Powering High Velocity Development for your InfrastructureDOO-009_Powering High Velocity Development for your Infrastructure
DOO-009_Powering High Velocity Development for your Infrastructure
 
Delivering High-Availability Web Services with NGINX Plus on AWS
Delivering High-Availability Web Services with NGINX Plus on AWSDelivering High-Availability Web Services with NGINX Plus on AWS
Delivering High-Availability Web Services with NGINX Plus on AWS
 
Simplify and Scale Enterprise Spring Apps in the Cloud | March 23, 2023
Simplify and Scale Enterprise Spring Apps in the Cloud | March 23, 2023Simplify and Scale Enterprise Spring Apps in the Cloud | March 23, 2023
Simplify and Scale Enterprise Spring Apps in the Cloud | March 23, 2023
 
Priming Your Teams For Microservice Deployment to the Cloud
Priming Your Teams For Microservice Deployment to the CloudPriming Your Teams For Microservice Deployment to the Cloud
Priming Your Teams For Microservice Deployment to the Cloud
 
AWS Summit Auckland - Application Delivery Patterns for Developers
AWS Summit Auckland - Application Delivery Patterns for DevelopersAWS Summit Auckland - Application Delivery Patterns for Developers
AWS Summit Auckland - Application Delivery Patterns for Developers
 
Continuous Integration and Deployment Best Practices on AWS
Continuous Integration and Deployment Best Practices on AWSContinuous Integration and Deployment Best Practices on AWS
Continuous Integration and Deployment Best Practices on AWS
 
Using Azure DevOps to continuously build, test, and deploy containerized appl...
Using Azure DevOps to continuously build, test, and deploy containerized appl...Using Azure DevOps to continuously build, test, and deploy containerized appl...
Using Azure DevOps to continuously build, test, and deploy containerized appl...
 
Application Lifecycle Management in a Serverless World
Application Lifecycle Management in a Serverless WorldApplication Lifecycle Management in a Serverless World
Application Lifecycle Management in a Serverless World
 
AWS Devops
AWS DevopsAWS Devops
AWS Devops
 
Tooling and DevOps for the Hybrid Cloud with Azure and Azure Stack
Tooling and DevOps for the Hybrid Cloud with Azure and Azure StackTooling and DevOps for the Hybrid Cloud with Azure and Azure Stack
Tooling and DevOps for the Hybrid Cloud with Azure and Azure Stack
 

Mehr von 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
 

Mehr von 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
 

Kürzlich hochgeladen

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Kürzlich hochgeladen (20)

Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 

Automated DevOps Workflows with Chef on AWS

  • 1. DevOps on the AWS Cloud
  • 2. Introductions George Miranda Product Marketing Manager Chef @gmiranda23 Erik Rogneby Senior DevOps Engineer Gannett Isaiah Weiner Solutions Architect AWS
  • 3. Traditional development models are obsolete  Business is increasingly software-driven  End-users expect both continuous improvement and stability from applications  IT needs to be able to provision infrastructure as rapidly as developers demand it  An organization’s pace of innovation is largely constrained by their ability to develop applications
  • 4. Increase  Business agility  Application stability  Ability to meet customer demand  Time spent on innovation  Security Decrease  Length of development cycles  Time to market  Deployment failures and rollbacks  Time to recover upon failure DevOps can help DevOps practices enable companies to innovate at a higher velocity for customers
  • 5. Infrastructure as Code Microservices Logging and Monitoring Continuous Integration/ Continuous Delivery DevOps on AWS AWS provides on-demand infrastructure resources and tooling built to enable common DevOps practices
  • 6.  Provision the server, storage, and networking capacity you need on demand  Deploy independently, as a single service, or a group of services  Make configuration changes repeatable and standardized  Build custom templates to provision resources in a controlled and predictable way  Use version control to keep track of all changes made to your infrastructure and application stack Infrastructure as Code Replace traditional infrastructure provisioning and management with code-based techniques
  • 7.  Build services around the business capabilities you require  Scale up and down as required with virtually no notice  Make configuration code changes repeatable and standardized  API-driven model enables management of infrastructure with language typically used in application code  Free developers from manually configuring operating systems, system applications, and server software Microservices Build applications as a set of small services that communicates with other services through APIs
  • 8.  Maintain visibility and auditability of activity in your application infrastructure  Assess how application and infrastructure performance impact end-user experience  Gain insight into the root causes of problems or unexpected changes  Support services that must be available 24/7 as a result of continuous integration/ continuous delivery  Create alerts based on thresholds you define Logging and Monitoring Capture, categorize, and analyze data and logs generated by applications and infrastructure
  • 9.  Model and visualize your own custom release workflow  Automate deployments of new code  Improve developer productivity and deliver updates faster  Find and address bugs quicker with more frequent and comprehensive testing  Store anything from source code to binaries using existing Git tools Continuous Integration and Continuous Delivery Rapidly and reliably build, test, and deploy your applications, while improving quality and reducing time to market.
  • 10. Get started quickly and pay as you go Automate systems operations Scale without infrastructure constraints Improve visibility and security Leverage fully managed services Benefits of DevOps on AWS
  • 12. Agenda  Brief Chef overview  Chef and AWS: your path to DevOps  Gannett’s path to AWS with Chef  Next steps  Q&A
  • 13. Chef: Leader in the DevOps Market Born with the DevOps movement Provider to web leaders and the enterprise Understands DevOps success patterns Distilled these patterns into the Chef platform
  • 14. Products by Chef Software Inc. Infrastructure Automation Application Automation Compliance Automation Workflow Visibility Compliance
  • 15. Chef & AWS Integration  1 hour webinar, May 2016  https://www.chef.io/blog/event/webinar-chef-and-aws-your-path- to-devops/  End-to-end view of test-driven development with Chef & AWS  Showcase of AWS integration points
  • 16. AWS Marketplace  Fast and convenient way to try Chef on your own w/ Enterprise features  Pay-as-you-go – Per hour billing for annual Chef server licensing – unique to AWS – $0.008 per node, per hour  Flexible consumption pricing – Retired license-pack model – Billed only for the nodes in use
  • 17. Chef Provisioning for AWS  Provides convergent test & repair resources for managing AWS objects require 'chef/provisioning/aws_driver' with_driver 'aws::eu-west-1' aws_vpc 'test-vpc' do cidr_block '10.0.0.0/24' internet_gateway true end aws_route_table 'ref-public1' do vpc 'test-vpc' routes '0.0.0.0/0' => :internet_gateway end aws_s3_bucket 'name' do enable_website_hosting true options({ :acl => 'private' }) website_options :index_document => { :suffix => 'index.html' }, :error_document => { :key => 'not_found.html' } end
  • 18. Chef Provisioning for AWS Provides convergent test & repair resources for managing AWS objects  Amazon EC2 instances  Security groups  EBS volumes  Elastic IP addresses  Autoscaling groups  Launch configs  Key pairs  Amazon VPC  VPC options (subnets, peering, routes, acl’s, etc)  Elastic load balancers  IAM roles  IAM instance profiles  Amazon S3 buckets  Amazon RDS instances  Amazon Route53  SNS topics  SQS queues  ElasticSearch domains  Amazon CloudWatch alarms  and more https://docs.chef.io/release/devkit/provisioning_aws.html
  • 19. Chef and AWS – Provisioning Frameworks  Chef Provisioning  AWS CloudFormation  Terraform  Use your own, but account for bootstrapping necessities – https://docs.chef.io/install_bootstrap.html
  • 20. Chef manages change across the AWS development pipeline Chef Compliance Available via AWS Marketplace ChefDK (test-kitchen) Open Source & Generally Available Chef Automate Available via Chef Software, Inc. Chef Server Available via AWS Marketplace Chef Compliance Available via AWS Marketplace Scan for Compliance Build & Test Locally Build & Test CI/CD Remediate Verify
  • 22.  National and Local Newspaper and Media company  National brand USATODAY  108 media companies in 33 states
  • 23. Chef Pipeline Tools at Gannett  Enterprise Chef Server – all users share one org  Private Supermarket – CI keeps supermarket in sync with chef-server  Jenkins CI Server – the only way to publish cookbooks at Gannett  Private gems repository on Artifactory  Amazon EC2 AMIs available for CI testing  Vagrant Images available for local testing  Packer – for publishing and storing images  Scalr – Cloud Management provider with governance
  • 24. What are We Testing?  Foodcritic – Chef linting, we fail on everything except FC005: Avoid repetition of resource declarations  Rubocop – Ruby linting, we exclude our tests and set max line length 160  Chefspec – Unit testing, target 100% coverage with accurate context and platforms  Serverspec – Integration testing, expected end state and audit for best practices
  • 25. Our Internal Tool Chain  Rake – shared rakefile for common understanding of how to test and parallelize kitchen suites  Kitchen-test-helper – cookbook for storing node attributes and mocking databags from kitchen attributes in serverspec • https://supermarket.chef.io/cookbooks/kitchen-test-helper  Chef-Skeleton – built on the chef generate cookbook command  check_pr_versions – validate metadata version bump, changelog entry and jira tickets in commits  terminate-orphans – lambda script to remove untagged instances and leftovers from failed kitchen runs https://github.com/GannettDigital/chefconf2016
  • 26. The Gannett Workflow Cookbook Pipeline Application Pipeline Image Pipeline Github repo with packer scripts and config Jenkins kicks off Packer builds from ISO on repo changes Packer runs chef-zero to configure image Packer import image to Amazon EC2 Use the Scalr API to publish images Create instances in Scalr with the new images Validate existing cookbooks can converge on the new image Test with remote serverspec from Jenkins and promote images on success Create feature branch/repo in Github Develop locally using vagrant images Push branch to Github and create pull request to master Jenkins kicks off testing for all PRs Peer review of successful test and merge Jenkins tests changes to master Publish to internal supermarket Publish to chef- server Create feature branch/repo in Github Develop locally Push branch to Github and create pull request to master Jenkins kicks off testing for all PRs Peer review of successful test and merge Jenkins publishes to Artifactory and kicks off development deployment Remove old instances and create new Amazon EC2 instances and deploy with Chef Validate application and move to staging or production environments
  • 27. A Path to DevOps  Test-Driven Development – Infrastructure is code. Your code should be tested. – Verify your infrastructure works as intended – Accept contributions with confidence – Test-kitchen provides a rapid feedback cycle – Critical component in a continuous delivery pipeline  In-depth coverage – https://www.chef.io/blog/event/webinar-chef-and-aws-your-path-to-devops/  Try a tutorial for yourself at LearnChef  http://learn.chef.io
  • 28. Q&A

Hinweis der Redaktion

  1. At AWS we have a shared security model, where we are responsible for some aspects of security, whereas you get to choose other security measures you put in place. As AWS we are responsible for the security of the underlying infrastructure . That of course include physical security across our regions, our data centers, our availability zones, our edge locations. We are also responsible for the security of the foundation services that underpin the AWS environment. This includes the infrastructure that supports our compute, storage, database and networking services. As a customer, then, you have a choice of what security controls you choose to deploy to protect your virtual networks, servers, your data and what access control policies you wish to put in place. For highly sensitive content and applications you may want to put very stringent controls in place. For less sensitive applications, you may want to dial security back – you get to choose.
  2. At AWS we have a shared security model, where we are responsible for some aspects of security, whereas you get to choose other security measures you put in place. As AWS we are responsible for the security of the underlying infrastructure . That of course include physical security across our regions, our data centers, our availability zones, our edge locations. We are also responsible for the security of the foundation services that underpin the AWS environment. This includes the infrastructure that supports our compute, storage, database and networking services. As a customer, then, you have a choice of what security controls you choose to deploy to protect your virtual networks, servers, your data and what access control policies you wish to put in place. For highly sensitive content and applications you may want to put very stringent controls in place. For less sensitive applications, you may want to dial security back – you get to choose.
  3. At AWS we have a shared security model, where we are responsible for some aspects of security, whereas you get to choose other security measures you put in place. As AWS we are responsible for the security of the underlying infrastructure . That of course include physical security across our regions, our data centers, our availability zones, our edge locations. We are also responsible for the security of the foundation services that underpin the AWS environment. This includes the infrastructure that supports our compute, storage, database and networking services. As a customer, then, you have a choice of what security controls you choose to deploy to protect your virtual networks, servers, your data and what access control policies you wish to put in place. For highly sensitive content and applications you may want to put very stringent controls in place. For less sensitive applications, you may want to dial security back – you get to choose.
  4. At AWS we have a shared security model, where we are responsible for some aspects of security, whereas you get to choose other security measures you put in place. As AWS we are responsible for the security of the underlying infrastructure . That of course include physical security across our regions, our data centers, our availability zones, our edge locations. We are also responsible for the security of the foundation services that underpin the AWS environment. This includes the infrastructure that supports our compute, storage, database and networking services. As a customer, then, you have a choice of what security controls you choose to deploy to protect your virtual networks, servers, your data and what access control policies you wish to put in place. For highly sensitive content and applications you may want to put very stringent controls in place. For less sensitive applications, you may want to dial security back – you get to choose.
  5. 2 mins to talk about
  6. This goes as long as we need it to.
  7. Able to run as long as 7 mins, by default. Can trim to 5 or fluff to 10.
  8. Closed on Journal Media Group, just announced purchase of properties from North Jersey Media Group. We serve both national and local markets
  9. Pipeline built entirely in ec2 connected to 3rd party
  10. 1m45s recap