Smalltalk in the Cloud
ESUG 2013, Annecy, France
Tuesday, 10 September, 11:30 am to noon
James Foster, Director of Profess...
3
Abstract
• In this talk we describe a Platform as a Service (PaaS) for
Smalltalk and show how a Smalltalk application ca...
Agenda
• Overview of Cloud Foundry
• Cloud Foundry on Amazon EC2
• Pharo in the Cloud
• GemStone/S in the Cloud
4
Hosting Options
What is provided by vendor:
Utilities: Network, power, A/C
Hardware: CPU, RAM, disk
Stack: operating syste...
Accessing Applications
6
Web
App
App Instance
Request Web Interface
Load
Balancing
and
Routing
Response
“cf push MyApp”
Scaling Applications
7
Request Web Interface
Load
Balancing
and
Routing
Response
Web
App
App Instances
Web
App
Web
App
“cf...
Sample Server Architecture
8
Support for Ruby
• Interpreter works with text files
• Application code "includes" external libraries
• Frameworks (Rails,...
Support for Java
• Runtime VM works with "jar" files
• Application code "includes" external libraries
• Frameworks (Spring...
How is Smalltalk Different?
• Monolithic image
– All application and framework together
– Not in text files
• Could push t...
Cloud Foundry
• www.cloudfoundry.com
– commercial hosting by Pivotal (VMware, EMC, GE)
• www.cloudfoundry.org
– Open sourc...
Amazon Web Services (AWS)
13
AWS Regions
• http://turnkeylinux.github.io/aws-datacenters/
14
Regions and Availability Zones
15
IP Addresses
• "Elastic IP"
– Static IP that can be moved between VMs
• "Route 53"
– Domain Name Server
16
Elastic Block Store (EBS)
• Persistent disks (volumes)
• Can be moved from VM to VM
• Can have multiple per VM
17
Elastic Cloud
Computing
(EC2)
• http://aws.amazon.com/ec2/instance-types/ 18
AWS Management
• Command Line & Programming API
• Web Management Console
– https://console.aws.amazon.com/
• Demo!
19
Dream...
• Offer Smalltalk in the Cloud
• Let me know what you want
– Pharo
– GemStone/S
20
Thanks & Questions?
• Thanks to
– Dale Henrichs, Peter McLean, and Monty Williams
– John Thornton (JonnyT)
– Norm Green an...
Upcoming SlideShare
Loading in …5
×

Smalltalk in the Cloud

676 views

Published on

James Foster, Director of Professional Services

Published in: Technology, Education
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
676
On SlideShare
0
From Embeds
0
Number of Embeds
12
Actions
Shares
0
Downloads
8
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Smalltalk in the Cloud

  1. 1. Smalltalk in the Cloud ESUG 2013, Annecy, France Tuesday, 10 September, 11:30 am to noon James Foster, Director of Professional Services
  2. 2. 3 Abstract • In this talk we describe a Platform as a Service (PaaS) for Smalltalk and show how a Smalltalk application can be deployed easily to Amazon's EC2 using a provided AMI with Cloud Foundry built-in. • We look forward to getting feedback on how this can be made more useful to the community.
  3. 3. Agenda • Overview of Cloud Foundry • Cloud Foundry on Amazon EC2 • Pharo in the Cloud • GemStone/S in the Cloud 4
  4. 4. Hosting Options What is provided by vendor: Utilities: Network, power, A/C Hardware: CPU, RAM, disk Stack: operating system, web server, runtime, framework Application: this is the programmer's concern Type Utilities Hardware Stack Applications Self-hosting Data center  IaaS   PaaS    SaaS    
  5. 5. Accessing Applications 6 Web App App Instance Request Web Interface Load Balancing and Routing Response “cf push MyApp”
  6. 6. Scaling Applications 7 Request Web Interface Load Balancing and Routing Response Web App App Instances Web App Web App “cf instances MyApp 3”
  7. 7. Sample Server Architecture 8
  8. 8. Support for Ruby • Interpreter works with text files • Application code "includes" external libraries • Frameworks (Rails, Sinatra) can be pre-loaded on server 9
  9. 9. Support for Java • Runtime VM works with "jar" files • Application code "includes" external libraries • Frameworks (Spring, Lift, Grails) can be pre- loaded on server 10
  10. 10. How is Smalltalk Different? • Monolithic image – All application and framework together – Not in text files • Could push text files and build image • Or just push the whole image! 11
  11. 11. Cloud Foundry • www.cloudfoundry.com – commercial hosting by Pivotal (VMware, EMC, GE) • www.cloudfoundry.org – Open source PaaS framework 12
  12. 12. Amazon Web Services (AWS) 13
  13. 13. AWS Regions • http://turnkeylinux.github.io/aws-datacenters/ 14
  14. 14. Regions and Availability Zones 15
  15. 15. IP Addresses • "Elastic IP" – Static IP that can be moved between VMs • "Route 53" – Domain Name Server 16
  16. 16. Elastic Block Store (EBS) • Persistent disks (volumes) • Can be moved from VM to VM • Can have multiple per VM 17
  17. 17. Elastic Cloud Computing (EC2) • http://aws.amazon.com/ec2/instance-types/ 18
  18. 18. AWS Management • Command Line & Programming API • Web Management Console – https://console.aws.amazon.com/ • Demo! 19
  19. 19. Dream... • Offer Smalltalk in the Cloud • Let me know what you want – Pharo – GemStone/S 20
  20. 20. Thanks & Questions? • Thanks to – Dale Henrichs, Peter McLean, and Monty Williams – John Thornton (JonnyT) – Norm Green and Dan Ware for the project – Tim Felgentreff of HPI • Contact – James.Foster@GemTalkSystems.com – http://programmingGems.wordpress.com 21

×