SlideShare a Scribd company logo
Heroku deployment
     by Stoyan Zhekov
Deployment on Heroku
BULGARIA


 Bulgaria
Deployment on Heroku
Deployment on Heroku
Deployment on Heroku
Deployment on Heroku
http://en.wikipedia.org/wiki/
     Music_of_Bulgaria
Deploy ?
Deployment on Heroku
Deployment on Heroku
Deploy !

  “Install the
software into an
  operational
 environment”
Deploy




• Where?
Deploy



• Where?
• Packaging
Deploy



• Where?
• Packaging
• Updates
Deploy


•   Where?
•   Packaging
•   Updates
•   Scale
Where?



Local
Where?



Local
   vs
Remote
Packaging


  RVM GEMSET

        +
BUNDLER ( Gemfile )
Packaging


rvm --create 1.9.2@myapp

           +
gem install bundler --pre
Updates




• Save old version
Updates



• Save old version
• Upload new version
Updates



• Save old version
• Upload new version
• Restart app server
Let’s do it!




web visitors counter
Local deployment


•   Where?      localhost
•   Packaging   .rvmrc + Gemfile
•   Updates     git flow
•   Scale       ?
Local deployment



 brew install   git-flow
gem install bundler   --pre
Deployment on Heroku
curl get.pow.cx | sh
Local deployment


•   Where?    localhost
•   Packaging .rvmrc + Gemfile
•   Updates   git
•   Scale      ?
Scale


gem install  foreman
foreman start -c web=4
Local deployment


•   Where?      localhost
•   Packaging   .rvmrc + Gemfile
•   Updates     git
•   Scale       foreman
Remote deployment


•   Where?      WHY? HOW?
•   Packaging   .rvmrc + Gemfile
•   Updates     git
•   Scale       foreman
Remote deployment


•   Where?      VPS? Capistrano?
•   Packaging   .rvmrc + Gemfile
•   Updates     git
•   Scale       thin , ...
Too complicated
Remote deployment


•   Where?      VPS? Capistrano?
•   Packaging   .rvmrc + Gemfile
•   Updates     git
•   Scale       thin , ...
Remote deployment



gem install   heroku
http://heroku.com/
http://devcenter.heroku.com/
Heroku


• Amazon EC2 ( SCALE )
• PaaS        ( EASY )
• Pay per use ( FREE )
PaaS
Dynos
Dynos



“Forget servers, instances, and
VMs. Focus on processes.”
Dynos


“A dyno is a single process
  of any type running on the
      Heroku platform.”
Stacks
heroku create --stack cedar
Add0ns
http://addons.heroku.com/
heroku addons:add mongohq:free
Deployment on Heroku
Remote deployment


•   Where?      Heroku
•   Packaging   .rvmrc + Gemfile
•   Updates     git
•   Scale       ?
Scale $0.05/hour




http://www.heroku.com/pricing#0-0
Scale $0.05/hour




http://www.heroku.com/pricing#0-0
Scale $0.05/hour




http://www.heroku.com/pricing#0-0
Scale $0.05/hour




http://www.heroku.com/pricing#0-0
Scale for   free?
Scale


gem install   unicorn
Deployment on Heroku
http://MOGOK.jp/
MOGOK by IIJ



gem install   mogok
Thank you!

More Related Content

What's hot (20)

PPTX
Deploy High Availability Kubernetes with Kubespray
Che-Chia Chang
 
PDF
Automation in the Small: Code to Cloud
Jay Barker
 
PDF
Aws + kubernetes = ❤︎
Anthony Stanton
 
PDF
AWS Connect 2017 - Container (feat. AWS)
smalltown
 
PDF
Making Spinnaker Go @ Stitch Fix
Diana Tkachenko
 
PPTX
Automation in Cloud
Abhishek Amralkar
 
PPTX
Continuous Deployment to the Cloud using Spinnaker
Tim Ysewyn
 
PDF
DevOps 2015 - Dancing with Chef
smalltown
 
PDF
Terraform
Christophe Marchal
 
PDF
Cloud Foundry Meetup Tokyo #1 Route service
Gwenn Etourneau
 
PDF
Whats all the FaaS About
Haggai Philip Zagury
 
PDF
Terraform
Diego Pacheco
 
PDF
Mitchell Hashimoto, HashiCorp
Ontico
 
PDF
London Hug 19/5 - Terraform in Production
London HashiCorp User Group
 
PPTX
goployer, 코드 기반의 배포 도구 - 송주영 (beNX) :: AWS Community Day 2020
AWSKRUG - AWS한국사용자모임
 
PDF
Ruby Deployment
Ezra Zygmuntowicz
 
PDF
Kubernetes on AWS gone wild
Christian Jantz
 
PPTX
Packer, Terraform, Ansible avec Azure
AZUG FR
 
PDF
Amazon SWF and Gordon
Jonathan Weiss
 
PDF
VMware, SoftLayer, OpenStack, Heat, Cloud Foundry and Docker put together
Eduardo Patrocinio
 
Deploy High Availability Kubernetes with Kubespray
Che-Chia Chang
 
Automation in the Small: Code to Cloud
Jay Barker
 
Aws + kubernetes = ❤︎
Anthony Stanton
 
AWS Connect 2017 - Container (feat. AWS)
smalltown
 
Making Spinnaker Go @ Stitch Fix
Diana Tkachenko
 
Automation in Cloud
Abhishek Amralkar
 
Continuous Deployment to the Cloud using Spinnaker
Tim Ysewyn
 
DevOps 2015 - Dancing with Chef
smalltown
 
Cloud Foundry Meetup Tokyo #1 Route service
Gwenn Etourneau
 
Whats all the FaaS About
Haggai Philip Zagury
 
Terraform
Diego Pacheco
 
Mitchell Hashimoto, HashiCorp
Ontico
 
London Hug 19/5 - Terraform in Production
London HashiCorp User Group
 
goployer, 코드 기반의 배포 도구 - 송주영 (beNX) :: AWS Community Day 2020
AWSKRUG - AWS한국사용자모임
 
Ruby Deployment
Ezra Zygmuntowicz
 
Kubernetes on AWS gone wild
Christian Jantz
 
Packer, Terraform, Ansible avec Azure
AZUG FR
 
Amazon SWF and Gordon
Jonathan Weiss
 
VMware, SoftLayer, OpenStack, Heat, Cloud Foundry and Docker put together
Eduardo Patrocinio
 

Viewers also liked (8)

PDF
Microblogging via XMPP (japanese)
Stoyan Zhekov
 
PDF
Ruby off Rails (english)
Stoyan Zhekov
 
KEY
Push the web with HTML5
Stoyan Zhekov
 
PDF
Ruby cooking
Stoyan Zhekov
 
PDF
Webhooks - glue for the web (japanese)
Stoyan Zhekov
 
PDF
Microblogging via XMPP
Stoyan Zhekov
 
PDF
Alliance Day 2007: Philadelphia Cultural List Cooperative
catet
 
PDF
Rails Deployment with NginX
Stoyan Zhekov
 
Microblogging via XMPP (japanese)
Stoyan Zhekov
 
Ruby off Rails (english)
Stoyan Zhekov
 
Push the web with HTML5
Stoyan Zhekov
 
Ruby cooking
Stoyan Zhekov
 
Webhooks - glue for the web (japanese)
Stoyan Zhekov
 
Microblogging via XMPP
Stoyan Zhekov
 
Alliance Day 2007: Philadelphia Cultural List Cooperative
catet
 
Rails Deployment with NginX
Stoyan Zhekov
 
Ad

Similar to Deployment on Heroku (20)

PDF
How bigtop leveraged docker for build automation and one click hadoop provis...
Evans Ye
 
PDF
SymfonyCon Madrid 2014 - Rock Solid Deployment of Symfony Apps
Pablo Godel
 
PDF
Symfony Live NYC 2014 - Rock Solid Deployment of Symfony Apps
Pablo Godel
 
PDF
Deploying software at Scale
Kris Buytaert
 
PPTX
Detailed Introduction To Docker
nklmish
 
PPTX
Varying WordPress Development Environment WordCamp Cincinnati 2016
David Brattoli
 
PDF
Site Development Processes for Small Teams
Jeff Segars
 
PDF
Laravel Forge: Hello World to Hello Production
Joe Ferguson
 
PDF
Deploying Symfony | symfony.cat
Pablo Godel
 
PDF
Rock Solid Deployment of Web Applications
Pablo Godel
 
PDF
Easy WP Dev environments with VVV
Daniel Stout
 
PPTX
Developing in the Cloud
Ryan Cuprak
 
PDF
Vagrant Binding JayDay 2013
Hendrik Ebbers
 
PDF
Rapid Development With Docker Compose
Justin Crown
 
PDF
Virtualize and automate your development environment for fun and profit
Andreas Heim
 
PDF
Kuby, ActiveDeployment for Rails Apps
Cameron Dutro
 
PDF
The Modern Developer Toolbox
Pablo Godel
 
PDF
php[world] 2015 Laravel 5.1: From Homestead to the Cloud
Joe Ferguson
 
PDF
Introduction to Infrastructure as Code & Automation / Introduction to Chef
All Things Open
 
PDF
Developing web apps
Michael Dyrynda
 
How bigtop leveraged docker for build automation and one click hadoop provis...
Evans Ye
 
SymfonyCon Madrid 2014 - Rock Solid Deployment of Symfony Apps
Pablo Godel
 
Symfony Live NYC 2014 - Rock Solid Deployment of Symfony Apps
Pablo Godel
 
Deploying software at Scale
Kris Buytaert
 
Detailed Introduction To Docker
nklmish
 
Varying WordPress Development Environment WordCamp Cincinnati 2016
David Brattoli
 
Site Development Processes for Small Teams
Jeff Segars
 
Laravel Forge: Hello World to Hello Production
Joe Ferguson
 
Deploying Symfony | symfony.cat
Pablo Godel
 
Rock Solid Deployment of Web Applications
Pablo Godel
 
Easy WP Dev environments with VVV
Daniel Stout
 
Developing in the Cloud
Ryan Cuprak
 
Vagrant Binding JayDay 2013
Hendrik Ebbers
 
Rapid Development With Docker Compose
Justin Crown
 
Virtualize and automate your development environment for fun and profit
Andreas Heim
 
Kuby, ActiveDeployment for Rails Apps
Cameron Dutro
 
The Modern Developer Toolbox
Pablo Godel
 
php[world] 2015 Laravel 5.1: From Homestead to the Cloud
Joe Ferguson
 
Introduction to Infrastructure as Code & Automation / Introduction to Chef
All Things Open
 
Developing web apps
Michael Dyrynda
 
Ad

More from Stoyan Zhekov (11)

PDF
Multirotors
Stoyan Zhekov
 
KEY
ZeroMQ
Stoyan Zhekov
 
PDF
Padrino - the Godfather of Sinatra
Stoyan Zhekov
 
KEY
Sequel
Stoyan Zhekov
 
KEY
Foreman - Process manager for applications with multiple components
Stoyan Zhekov
 
KEY
Social Network for spare parts
Stoyan Zhekov
 
KEY
Using XMPP Presence stanzas for real-time parking information
Stoyan Zhekov
 
KEY
Websockets with ruby
Stoyan Zhekov
 
KEY
EventMachine
Stoyan Zhekov
 
PDF
Webhooks - glue for the web
Stoyan Zhekov
 
PDF
Ruby off Rails (japanese)
Stoyan Zhekov
 
Multirotors
Stoyan Zhekov
 
Padrino - the Godfather of Sinatra
Stoyan Zhekov
 
Foreman - Process manager for applications with multiple components
Stoyan Zhekov
 
Social Network for spare parts
Stoyan Zhekov
 
Using XMPP Presence stanzas for real-time parking information
Stoyan Zhekov
 
Websockets with ruby
Stoyan Zhekov
 
EventMachine
Stoyan Zhekov
 
Webhooks - glue for the web
Stoyan Zhekov
 
Ruby off Rails (japanese)
Stoyan Zhekov
 

Recently uploaded (20)

PDF
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PPTX
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PPTX
AI Code Generation Risks (Ramkumar Dilli, CIO, Myridius)
Priyanka Aash
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
The Future of Artificial Intelligence (AI)
Mukul
 
PDF
RAT Builders - How to Catch Them All [DeepSec 2024]
malmoeb
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PDF
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
PPTX
The Future of AI & Machine Learning.pptx
pritsen4700
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
NewMind AI Weekly Chronicles – July’25, Week III
NewMind AI
 
PDF
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
PPTX
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
AI Code Generation Risks (Ramkumar Dilli, CIO, Myridius)
Priyanka Aash
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
The Future of Artificial Intelligence (AI)
Mukul
 
RAT Builders - How to Catch Them All [DeepSec 2024]
malmoeb
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
The Future of AI & Machine Learning.pptx
pritsen4700
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
NewMind AI Weekly Chronicles – July’25, Week III
NewMind AI
 
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 

Deployment on Heroku

Editor's Notes