Building Cloud Applications Faster
Cloud Elements
Using a simple Ruby program to interface with
quickly provisioned applic...
Why Cloud Applications?
● Scalable
● Robust
● Manageable
● Easy Component Binding
● Cheaper (TCO)
Database Binding (Cloud Foundry
example)
$ cf create-service mysql
$ cf bind-service --app my-app --service mysql
Manual
c...
What about internet services?
Cloud Elements!
Can provision services interactively
Provides all services as a simple REST API
The Result
Why Cloud Elements vs. DIY
● Skip the integration hassle that everyone goes
through
● Consistent REST API that can be easi...
See it in action ...
Coming Soon ...
require "cloudelements"
message = CloudElements::Message.new(
sender,
recipient,
subject,
message
)
respon...
That's It!
Questions?
We're Hiring!
Kristie Hunziker - HR/Recruiter - Cloud Elements
T: 720.939.5819 | www.cloud-elements.com
1062 Delaware St.,...
Upcoming SlideShare
Loading in...5
×

Using a simple Ruby program to interface with quickly provisioned cloud application services

593

Published on

Golden Colorado Ruby User's Group Presentation by Charlie Ozinga- Senior Engineer Cloud Elements

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
593
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Using a simple Ruby program to interface with quickly provisioned cloud application services

  1. 1. Building Cloud Applications Faster Cloud Elements Using a simple Ruby program to interface with quickly provisioned application services. Charlie Ozinga charlie@cloud-elements.com
  2. 2. Why Cloud Applications? ● Scalable ● Robust ● Manageable ● Easy Component Binding ● Cheaper (TCO)
  3. 3. Database Binding (Cloud Foundry example) $ cf create-service mysql $ cf bind-service --app my-app --service mysql Manual config/database.yml: <% mysql_dbs = JSON.parse(ENV['VCAP_SERVICES'])["mysql-5.1"] credentials = mysql_dbs.first["credentials"] %> production: adapter: mysql2 encoding: utf8 reconnect: false pool: 5 host: <%= credentials["host"] %> username: <%= credentials["username"] %> password: <%= credentials["password"] %> database: <%= credentials["database"] %> port: <%= credentials["port"] %> Automatic gem 'cf-autoconfig', :require => 'cfautoconfig'
  4. 4. What about internet services?
  5. 5. Cloud Elements! Can provision services interactively Provides all services as a simple REST API
  6. 6. The Result
  7. 7. Why Cloud Elements vs. DIY ● Skip the integration hassle that everyone goes through ● Consistent REST API that can be easily programmed to ● Language-specific client libraries forthcoming ● Easy management with logging, stats, and automatic failover ● Service-to-service integration
  8. 8. See it in action ...
  9. 9. Coming Soon ... require "cloudelements" message = CloudElements::Message.new( sender, recipient, subject, message ) response = message.send
  10. 10. That's It! Questions?
  11. 11. We're Hiring! Kristie Hunziker - HR/Recruiter - Cloud Elements T: 720.939.5819 | www.cloud-elements.com 1062 Delaware St., Denver, CO 80204 http://cloud-elements.com/careers/

×