2. 2
• Yohei Sasaki
• Lead of Rakuten Platform as a Service.
• Technology Background:
• IBM Tivoli / Ruby on Rails / Apache Hadoop /
Apache CouchDB / Node.js
• CloudFoundry JP
• CloudFoundry@home
About me
3. 3
• Global Internet Service Company
• Many businesses
• 1000+ developers
• 70+ teams
• 1000+ projects
About Rakuten, Inc
5. 5
• Platform as a Service for developers in Rakuten.
• Private Cloud / On-premise deployment
• Built on top of Cloud Foundry v1.
• Started from Dec, 2011.
• Support from development to production.
• Some of our service applications are running in production
on RPaaS
Rakuten Platform as a Service : RPaaS
6. 6
• Reduce operational cost on infrastructure
configurations.
• Easy to deploy and scale applications.
• Make infrastructure transparency for application
developers
• Why not others?
• There were no other candidates :P
Why Cloud Foundry?
7. 7
Big Change!!
Request Servers
Wait for
hardware/VM
creation
Setup Operating
System
Install Software
Setup monitoring
Deploy website
Check / Test
Add to Load
Balancer
...
Developer Operators
Developer
rpaas push myapp
Grab a coffee
9. 9
CF & RPaaS History
CF v1
RPaaS
CF v2
Fluentd logging
Integration
Flexible Routing
(like mod_rewrite)
Clustered Redis Support
DEA/Warden Hooks support
Atlassian Crowd
Integration Clustrix as a Service Support
Failed to upgrade v2
without downtime.
(Failed PR)bug fixes
small improvements
10. 10
Use Cloud Foundry as ‘kernel’.
• Understanding NATS messages is a good start point.
• Pick repos (from over 100!!) up as you need.
Clarify what CF supports and what it doesn’t.
• Well supported:
• Application runtimes (now buildpack available!).
• Still need improvements:
• Clustered data services.
• Monitoring, Logging, Alerting, …etc.
• Unsupported:
• DNS, L4 Network.
Practices
11. 11
Adding More web-friendly features:
• mod_rewrite is powerful for SEO and A/B testing.
• nginx is good, but go-router??
Trying to extend database platform integration
while CF covers application part very well.
Optimizing Multiple Data Center CF deployment
Filling the GAP with CF v2.
• DEA v2 / Warden is very nice and important for us.
We are focusing on …
12. 12
2013/10/26 at Tokyo, Japan
http://tech.rakuten.co.jp/ is powered by RPaaS
More details at Rakuten Technology
Conference