Submit Search
Upload
Continuous Deployment at Spreaker
•
3 likes
•
2,819 views
Marco Pracucci
Follow
Continuous Deployment on AWS EC2 made easy with Fabric and Zonify.
Read less
Read more
Technology
Report
Share
Report
Share
1 of 24
Download now
Download to read offline
Recommended
Running a Lean Startup with AWS - Spreaker Case Study
Running a Lean Startup with AWS - Spreaker Case Study
Marco Pracucci
전 세계 팬들이 모일 수 있는 플랫폼 만들기 - 강진우 (beNX) :: AWS Community Day 2020
전 세계 팬들이 모일 수 있는 플랫폼 만들기 - 강진우 (beNX) :: AWS Community Day 2020
AWSKRUG - AWS한국사용자모임
Spinnaker 파트 1
Spinnaker 파트 1
Steven Shim
Terraform
Terraform
Diego Pacheco
AWS Connect 2017 - Container (feat. AWS)
AWS Connect 2017 - Container (feat. AWS)
smalltown
IDI 2020 - Containers Meet Serverless
IDI 2020 - Containers Meet Serverless
Massimo Ferre'
Ansible Configuration Management Tool 소개 및 활용
Ansible Configuration Management Tool 소개 및 활용
Steven Shim
ContainerDay 2020 - Using Docker as a frontend for Amazon ECS and AWS Fargate
ContainerDay 2020 - Using Docker as a frontend for Amazon ECS and AWS Fargate
Massimo Ferre'
Recommended
Running a Lean Startup with AWS - Spreaker Case Study
Running a Lean Startup with AWS - Spreaker Case Study
Marco Pracucci
전 세계 팬들이 모일 수 있는 플랫폼 만들기 - 강진우 (beNX) :: AWS Community Day 2020
전 세계 팬들이 모일 수 있는 플랫폼 만들기 - 강진우 (beNX) :: AWS Community Day 2020
AWSKRUG - AWS한국사용자모임
Spinnaker 파트 1
Spinnaker 파트 1
Steven Shim
Terraform
Terraform
Diego Pacheco
AWS Connect 2017 - Container (feat. AWS)
AWS Connect 2017 - Container (feat. AWS)
smalltown
IDI 2020 - Containers Meet Serverless
IDI 2020 - Containers Meet Serverless
Massimo Ferre'
Ansible Configuration Management Tool 소개 및 활용
Ansible Configuration Management Tool 소개 및 활용
Steven Shim
ContainerDay 2020 - Using Docker as a frontend for Amazon ECS and AWS Fargate
ContainerDay 2020 - Using Docker as a frontend for Amazon ECS and AWS Fargate
Massimo Ferre'
Capistrano, Puppet, and Chef
Capistrano, Puppet, and Chef
David Benjamin
Spinnaker VLDB 2011
Spinnaker VLDB 2011
sandeep_tata
Intro to Batch Processing on AWS - DevDay Austin 2017
Intro to Batch Processing on AWS - DevDay Austin 2017
Amazon Web Services
Fabric: A Capistrano Alternative
Fabric: A Capistrano Alternative
Panoptic Development, Inc.
How to launch an aws ec2 instance
How to launch an aws ec2 instance
Andrea Cirillo
Capistrano 3 Deployment
Capistrano 3 Deployment
Creston Jamison
DEPLOYING WORDPRESS BLOG USING DOCKER COMPOSE & ANSIBLE ON AWS
DEPLOYING WORDPRESS BLOG USING DOCKER COMPOSE & ANSIBLE ON AWS
Ramit Surana
Kubernetes Operations (KOPS)
Kubernetes Operations (KOPS)
Jakir Patel
Basics of Ansible - Sahil Davawala
Basics of Ansible - Sahil Davawala
Sahil Davawala
Composer
Composer
Alessandro Minoccheri
Ruby 1.9 And Rails 3.0
Ruby 1.9 And Rails 3.0
ArrrrCamp
"AWS Fargate: Containerization meets Serverless" at AWS User Group Cologne 20...
"AWS Fargate: Containerization meets Serverless" at AWS User Group Cologne 20...
Vadym Kazulkin
Building and Scaling a Containerized Microservice - DevDay Austin 2017
Building and Scaling a Containerized Microservice - DevDay Austin 2017
Amazon Web Services
Control your deployments with Capistrano
Control your deployments with Capistrano
Ramazan K
Terraform Architech
Terraform Architech
David Hsu
Evolution of kube-proxy (Brussels, Fosdem 2020)
Evolution of kube-proxy (Brussels, Fosdem 2020)
Laurent Bernaille
[AWS KR UG 1회 세미나] AWS 배포전략 @ 정민영
[AWS KR UG 1회 세미나] AWS 배포전략 @ 정민영
AWSKRUG - AWS한국사용자모임
Alexandr Marchenko "Kubernetes - easy peasy"
Alexandr Marchenko "Kubernetes - easy peasy"
Fwdays
Deploying a simple Rails application with AWS Elastic Beanstalk
Deploying a simple Rails application with AWS Elastic Beanstalk
Julien SIMON
Symfony aws
Symfony aws
Alessandro Minoccheri
Autoscaling OpenStack Natively with Heat, Ceilometer and LBaaS
Autoscaling OpenStack Natively with Heat, Ceilometer and LBaaS
Shixiong Shang
2016 - Easing Your Way Into Docker: Lessons From a Journey to Production
2016 - Easing Your Way Into Docker: Lessons From a Journey to Production
devopsdaysaustin
More Related Content
What's hot
Capistrano, Puppet, and Chef
Capistrano, Puppet, and Chef
David Benjamin
Spinnaker VLDB 2011
Spinnaker VLDB 2011
sandeep_tata
Intro to Batch Processing on AWS - DevDay Austin 2017
Intro to Batch Processing on AWS - DevDay Austin 2017
Amazon Web Services
Fabric: A Capistrano Alternative
Fabric: A Capistrano Alternative
Panoptic Development, Inc.
How to launch an aws ec2 instance
How to launch an aws ec2 instance
Andrea Cirillo
Capistrano 3 Deployment
Capistrano 3 Deployment
Creston Jamison
DEPLOYING WORDPRESS BLOG USING DOCKER COMPOSE & ANSIBLE ON AWS
DEPLOYING WORDPRESS BLOG USING DOCKER COMPOSE & ANSIBLE ON AWS
Ramit Surana
Kubernetes Operations (KOPS)
Kubernetes Operations (KOPS)
Jakir Patel
Basics of Ansible - Sahil Davawala
Basics of Ansible - Sahil Davawala
Sahil Davawala
Composer
Composer
Alessandro Minoccheri
Ruby 1.9 And Rails 3.0
Ruby 1.9 And Rails 3.0
ArrrrCamp
"AWS Fargate: Containerization meets Serverless" at AWS User Group Cologne 20...
"AWS Fargate: Containerization meets Serverless" at AWS User Group Cologne 20...
Vadym Kazulkin
Building and Scaling a Containerized Microservice - DevDay Austin 2017
Building and Scaling a Containerized Microservice - DevDay Austin 2017
Amazon Web Services
Control your deployments with Capistrano
Control your deployments with Capistrano
Ramazan K
Terraform Architech
Terraform Architech
David Hsu
Evolution of kube-proxy (Brussels, Fosdem 2020)
Evolution of kube-proxy (Brussels, Fosdem 2020)
Laurent Bernaille
[AWS KR UG 1회 세미나] AWS 배포전략 @ 정민영
[AWS KR UG 1회 세미나] AWS 배포전략 @ 정민영
AWSKRUG - AWS한국사용자모임
Alexandr Marchenko "Kubernetes - easy peasy"
Alexandr Marchenko "Kubernetes - easy peasy"
Fwdays
Deploying a simple Rails application with AWS Elastic Beanstalk
Deploying a simple Rails application with AWS Elastic Beanstalk
Julien SIMON
Symfony aws
Symfony aws
Alessandro Minoccheri
What's hot
(20)
Capistrano, Puppet, and Chef
Capistrano, Puppet, and Chef
Spinnaker VLDB 2011
Spinnaker VLDB 2011
Intro to Batch Processing on AWS - DevDay Austin 2017
Intro to Batch Processing on AWS - DevDay Austin 2017
Fabric: A Capistrano Alternative
Fabric: A Capistrano Alternative
How to launch an aws ec2 instance
How to launch an aws ec2 instance
Capistrano 3 Deployment
Capistrano 3 Deployment
DEPLOYING WORDPRESS BLOG USING DOCKER COMPOSE & ANSIBLE ON AWS
DEPLOYING WORDPRESS BLOG USING DOCKER COMPOSE & ANSIBLE ON AWS
Kubernetes Operations (KOPS)
Kubernetes Operations (KOPS)
Basics of Ansible - Sahil Davawala
Basics of Ansible - Sahil Davawala
Composer
Composer
Ruby 1.9 And Rails 3.0
Ruby 1.9 And Rails 3.0
"AWS Fargate: Containerization meets Serverless" at AWS User Group Cologne 20...
"AWS Fargate: Containerization meets Serverless" at AWS User Group Cologne 20...
Building and Scaling a Containerized Microservice - DevDay Austin 2017
Building and Scaling a Containerized Microservice - DevDay Austin 2017
Control your deployments with Capistrano
Control your deployments with Capistrano
Terraform Architech
Terraform Architech
Evolution of kube-proxy (Brussels, Fosdem 2020)
Evolution of kube-proxy (Brussels, Fosdem 2020)
[AWS KR UG 1회 세미나] AWS 배포전략 @ 정민영
[AWS KR UG 1회 세미나] AWS 배포전략 @ 정민영
Alexandr Marchenko "Kubernetes - easy peasy"
Alexandr Marchenko "Kubernetes - easy peasy"
Deploying a simple Rails application with AWS Elastic Beanstalk
Deploying a simple Rails application with AWS Elastic Beanstalk
Symfony aws
Symfony aws
Similar to Continuous Deployment at Spreaker
Autoscaling OpenStack Natively with Heat, Ceilometer and LBaaS
Autoscaling OpenStack Natively with Heat, Ceilometer and LBaaS
Shixiong Shang
2016 - Easing Your Way Into Docker: Lessons From a Journey to Production
2016 - Easing Your Way Into Docker: Lessons From a Journey to Production
devopsdaysaustin
Anton Moldovan "Building an efficient replication system for thousands of ter...
Anton Moldovan "Building an efficient replication system for thousands of ter...
Fwdays
How to contribute Apache CloudStack
How to contribute Apache CloudStack
Go Chiba
HPC in the Cloud
HPC in the Cloud
Guy Tel-Zur
Automating hard things may 2015
Automating hard things may 2015
Mark Baker
Terraform
Terraform
Adam Vincze
Where is my scalable api?
Where is my scalable api?
Altoros
[Spark Summit EU 2017] Apache spark streaming + kafka 0.10 an integration story
[Spark Summit EU 2017] Apache spark streaming + kafka 0.10 an integration story
Joan Viladrosa Riera
Apache Spark Streaming + Kafka 0.10 with Joan Viladrosariera
Apache Spark Streaming + Kafka 0.10 with Joan Viladrosariera
Spark Summit
Kafka Connect & Kafka Streams/KSQL - the ecosystem around Kafka
Kafka Connect & Kafka Streams/KSQL - the ecosystem around Kafka
Guido Schmutz
CI Provisioning with OpenStack - Gidi Samuels - OpenStack Day Israel 2016
CI Provisioning with OpenStack - Gidi Samuels - OpenStack Day Israel 2016
Cloud Native Day Tel Aviv
Docker - Demo on PHP Application deployment
Docker - Demo on PHP Application deployment
Arun prasath
(ARC402) Deployment Automation: From Developers' Keyboards to End Users' Scre...
(ARC402) Deployment Automation: From Developers' Keyboards to End Users' Scre...
Amazon Web Services
Continuous Delivery: The Next Frontier
Continuous Delivery: The Next Frontier
Carlos Sanchez
Building services on AWS in China region
Building services on AWS in China region
Roman Naumenko
Jazoon2010 - Edgar Silva - Open source SOA on Steroids
Jazoon2010 - Edgar Silva - Open source SOA on Steroids
Edgar Silva
Installing tivoli system automation for high availability of db2 udb bcu on a...
Installing tivoli system automation for high availability of db2 udb bcu on a...
Banking at Ho Chi Minh city
ContainerDays Boston 2015: "CoreOS: Building the Layers of the Scalable Clust...
ContainerDays Boston 2015: "CoreOS: Building the Layers of the Scalable Clust...
DynamicInfraDays
Roy foubister (hosting high traffic sites on a tight budget)
Roy foubister (hosting high traffic sites on a tight budget)
WordCamp Cape Town
Similar to Continuous Deployment at Spreaker
(20)
Autoscaling OpenStack Natively with Heat, Ceilometer and LBaaS
Autoscaling OpenStack Natively with Heat, Ceilometer and LBaaS
2016 - Easing Your Way Into Docker: Lessons From a Journey to Production
2016 - Easing Your Way Into Docker: Lessons From a Journey to Production
Anton Moldovan "Building an efficient replication system for thousands of ter...
Anton Moldovan "Building an efficient replication system for thousands of ter...
How to contribute Apache CloudStack
How to contribute Apache CloudStack
HPC in the Cloud
HPC in the Cloud
Automating hard things may 2015
Automating hard things may 2015
Terraform
Terraform
Where is my scalable api?
Where is my scalable api?
[Spark Summit EU 2017] Apache spark streaming + kafka 0.10 an integration story
[Spark Summit EU 2017] Apache spark streaming + kafka 0.10 an integration story
Apache Spark Streaming + Kafka 0.10 with Joan Viladrosariera
Apache Spark Streaming + Kafka 0.10 with Joan Viladrosariera
Kafka Connect & Kafka Streams/KSQL - the ecosystem around Kafka
Kafka Connect & Kafka Streams/KSQL - the ecosystem around Kafka
CI Provisioning with OpenStack - Gidi Samuels - OpenStack Day Israel 2016
CI Provisioning with OpenStack - Gidi Samuels - OpenStack Day Israel 2016
Docker - Demo on PHP Application deployment
Docker - Demo on PHP Application deployment
(ARC402) Deployment Automation: From Developers' Keyboards to End Users' Scre...
(ARC402) Deployment Automation: From Developers' Keyboards to End Users' Scre...
Continuous Delivery: The Next Frontier
Continuous Delivery: The Next Frontier
Building services on AWS in China region
Building services on AWS in China region
Jazoon2010 - Edgar Silva - Open source SOA on Steroids
Jazoon2010 - Edgar Silva - Open source SOA on Steroids
Installing tivoli system automation for high availability of db2 udb bcu on a...
Installing tivoli system automation for high availability of db2 udb bcu on a...
ContainerDays Boston 2015: "CoreOS: Building the Layers of the Scalable Clust...
ContainerDays Boston 2015: "CoreOS: Building the Layers of the Scalable Clust...
Roy foubister (hosting high traffic sites on a tight budget)
Roy foubister (hosting high traffic sites on a tight budget)
Recently uploaded
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
apidays
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
The Digital Insurer
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
UK Journal
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
Delhi Call girls
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
sudhanshuwaghmare1
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
Enterprise Knowledge
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
Rafal Los
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
sammart93
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
Radu Cotescu
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
The Digital Insurer
🐬 The future of MySQL is Postgres 🐘
🐬 The future of MySQL is Postgres 🐘
RTylerCroy
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Safe Software
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
Enterprise Knowledge
Evaluating the top large language models.pdf
Evaluating the top large language models.pdf
ChristopherTHyatt
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
Anna Loughnan Colquhoun
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Gabriella Davis
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
Michael W. Hawkins
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Neo4j
Recently uploaded
(20)
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
🐬 The future of MySQL is Postgres 🐘
🐬 The future of MySQL is Postgres 🐘
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
Evaluating the top large language models.pdf
Evaluating the top large language models.pdf
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Continuous Deployment at Spreaker
1.
Continuous Deployment at Marco Pracucci
2.
Platform for Creating and
Sharing Audio 8 people (4 developers) 2M unique listeners / month 3.5M audio tracks created 500 reqs / sec
3.
We run 80%
of our traffic on AWS about 60 EC2 instances and 50TB on S3
4.
We deploy frequently [even
on friday] 51 deploys in last 30 days
5.
How we deploy the
web [php] app in 90 seconds
6.
Deploy task
7.
code repository 1. ssh fab
www.deploy EC2 instances
8.
code repository 2. checkout fab
www.deploy EC2 instances
9.
code repository Checklist - local
cache warmup 3. warmup - db schema migrations fab www.deploy - check consistency EC2 instances
10.
code repository 4. switch
code fab www.deploy everything ok? EC2 instances
11.
code repository Checklist - iptables
--dport 80 -j DROP - ln -sfn /var/www/new /var/www/curr 4. switch code - clear bytecode cache fab www.deploy - iptables --dport 80 -j ACCEPT EC2 instances
12.
notify team on
IRC generate report fab www.deploy
13.
which instances to
deploy? we do auto-scaling, they change dinamically
14.
we exploited DNS
15.
Split infrastructure into
roles EC2 instances www1 api1 worker1 api2 www2 { worker2 { www3 { api3 role: api role: web role: worker-web
16.
Tag each instance
with roles [space separated roles for multi-role instances]
17.
Map names and
roles to DNS https://github.com/airbnb/zonify Creates Route 53 DNS entries for all instances and roles
18.
Address a single
instance
19.
Address instances by
role
20.
Easy to integrate
with fabric
21.
Do you remember
the starting point? Internally does fab -R web www.deploy
22.
few good reasons Easy,
Fast, Robust
23.
few good reasons Easy,
Fast, Robust Warning: an attacker can easier get your instances IPs (use an unguessable DNS zone name)
24.
Thank you www.spreaker.com/marco @pracucci
Download now