Ruby PaaS MOGOK awazu@iij.ad.jp 2013/02/23
IIJ GIO, SaaS, MOGOK
What s MOGOK http://mogok.jp/
What s PaaS? What s MOGOK? MOGOK
What s PaaS?
MOGOK... What s Cloud? IaaS PaaS SaaS XaaS
What s IaaS? Amazon Web Service IIJ GIO OpenStack CloudStack...
What s IaaS? VM
What s IaaS?.........
What s IaaS? PaaS IaaS IaaS
What s PaaS PaaS IaaS
PaaS Web Web SaaS PaaS SaaS PaaS PaaS IaaS IaaS PaaS
PaaS Heroku EngineYard Google App Engine Salesforce Sqale(papperboy& co.) C4SA(Nifty) excale(tis) Cloudn PaaS(Ncom) MOGOK(IIJ) etc...
PaaS IDC PaaS (2012 ) 63.4% 263 2016 1,070 IaaS...(2012 ) 49.6% 316 2016 1,035
What s MOGOK http://mogok.jp/
What s MOGOK IIJ GIO(IaaS) PaaS IIJ PaaS Ruby on Rails PaaS MOGOK Ruby
Why Ruby on Rails only? Rails... Ruby IIJ Ruby
Sales point of MOGOK Easy to deploy 5 Using own cloud IIJ GIO Connected High Speed Backbone Network ISP... Minimum Network delay
Starting MOGOK
MOGOK MOGOK MOGOK http://www.slideshare.net/tomokazu/kanazawarb-06 kanazawa.rb meetup #6 http://kanazawarb.github.com/meetup/6/
Starting MOGOK MOGOK 2013/02/16 Kanazawa.rb Meetup #6
How to
Flow Git RoR MOGOK CLI MOGOK
Flow Git RoR MOGOK CLI MOGOK
Git $ cd <your RoR app dir> $ git init $ git add. $ git commit -m "first commit"
Flow Git RoR MOGOK CLI MOGOK
RoR Bundler (Gemfile) Env (config/environments/production.rb)
Bundler $ vim Gemfile : gem 'mysql2' gem 'therubyracer', :platforms => :ruby MOGOK gem
Env $ vim config/environments/production.rb : config.serve_static_assets = true : /public/* static ( ) false true
Flow Git RoR MOGOK CLI MOGOK
MOGOK CLI gem
MOGOK CLI gem $ gem install mogok-x.x.x.gem $ mogok list $ mogok --help MOGOK "ID/Password" 1
Flow Git RoR MOGOK CLI MOGOK
MOGOK
$ mogok create <app name> RoR app dir Git remote MOGOK MOGOK CLI (--app option ) <app name> MOGOK <app name>.ruby.iijgio.com
$ git push mogok master MOGOK "ID/Password" tips "$ git config credential.helper store" "~/.git-credentials"
$ mogok build $ mogok rake db:migrate
Flow Git RoR MOGOK CLI MOGOK
MOGOK CLI $ mogok info $ mogok start $ mogok stop $ mogok restart
Web UI
Thank you Tomokazu Kiyohara http://facebook.com/tomokazu.kiyohara http://twitter.com/kiyohara
MOGOK
MOGOK β woker delayed job DB Heroku DB PostgreSQL :-D
MOGOK Sinatra Padrino Ruby on Rails
MOGOK Heroku EngineYard MOGOK IIJ IIJ MOGOK
What s PaaS? Starting MOGOK MOGOK
m( )m awazu@iij.ad.jp Twitter:@iij_mogok Facebook:iijmogok