Constructive Computer Architecture Tutorial 7: SMIPS Labs and Epochs Andy Wright 6.S195 TA
Andy West – Director of Technology Architecture, Pearson
-
Upload
rightscale -
Category
Technology
-
view
766 -
download
5
description
Transcript of Andy West – Director of Technology Architecture, Pearson
![Page 1: Andy West – Director of Technology Architecture, Pearson](https://reader035.fdocuments.us/reader035/viewer/2022062707/558658fed8b42a5b488b46e1/html5/thumbnails/1.jpg)
RIGHTSCALE USER CONFERENCE
CUSTOMER PRESENTATIONS
June 2011
Welcome!
![Page 2: Andy West – Director of Technology Architecture, Pearson](https://reader035.fdocuments.us/reader035/viewer/2022062707/558658fed8b42a5b488b46e1/html5/thumbnails/2.jpg)
Andy West - Director of TechnologyPearson
RightScale Customer Presentations
![Page 3: Andy West – Director of Technology Architecture, Pearson](https://reader035.fdocuments.us/reader035/viewer/2022062707/558658fed8b42a5b488b46e1/html5/thumbnails/3.jpg)
SuccessMaker in the Cloud
Images, Templates, Builds, Deployments, Management, Provisioning, and the rest of the
Universe
![Page 4: Andy West – Director of Technology Architecture, Pearson](https://reader035.fdocuments.us/reader035/viewer/2022062707/558658fed8b42a5b488b46e1/html5/thumbnails/4.jpg)
• Elementary (K-8) • Essential concepts, skills, and strategies in reading and
math• Adaptive initial placement learning• High stakes management reporting• 15 years old with several platform incarnations• Currently in over 3500 schools with 2M kids• Successmaker.com
![Page 5: Andy West – Director of Technology Architecture, Pearson](https://reader035.fdocuments.us/reader035/viewer/2022062707/558658fed8b42a5b488b46e1/html5/thumbnails/5.jpg)
Original Deployment Model
• All software installed on a single server per school
• Called it a ‘schoolhouse’ product• No district functionality or
aggregated reporting• This was the SM2 release
![Page 6: Andy West – Director of Technology Architecture, Pearson](https://reader035.fdocuments.us/reader035/viewer/2022062707/558658fed8b42a5b488b46e1/html5/thumbnails/6.jpg)
District Deployment Model
• Deployed in district data center• Lots of reports• Release SM3
![Page 7: Andy West – Director of Technology Architecture, Pearson](https://reader035.fdocuments.us/reader035/viewer/2022062707/558658fed8b42a5b488b46e1/html5/thumbnails/7.jpg)
What Our Customers Want
• They want it all of course (!)• Lots of customers want hosted
solutions while some actually ‘say’ they don’t
![Page 8: Andy West – Director of Technology Architecture, Pearson](https://reader035.fdocuments.us/reader035/viewer/2022062707/558658fed8b42a5b488b46e1/html5/thumbnails/8.jpg)
![Page 9: Andy West – Director of Technology Architecture, Pearson](https://reader035.fdocuments.us/reader035/viewer/2022062707/558658fed8b42a5b488b46e1/html5/thumbnails/9.jpg)
![Page 10: Andy West – Director of Technology Architecture, Pearson](https://reader035.fdocuments.us/reader035/viewer/2022062707/558658fed8b42a5b488b46e1/html5/thumbnails/10.jpg)
![Page 11: Andy West – Director of Technology Architecture, Pearson](https://reader035.fdocuments.us/reader035/viewer/2022062707/558658fed8b42a5b488b46e1/html5/thumbnails/11.jpg)
![Page 12: Andy West – Director of Technology Architecture, Pearson](https://reader035.fdocuments.us/reader035/viewer/2022062707/558658fed8b42a5b488b46e1/html5/thumbnails/12.jpg)
Amazon Cloud
Home User
Home User
School SchoolSchool Home User
Home User
A proxy cache can be used for
local content delivery in the case of a slow
WAN
EC2 Instance(Tomcat)
Amazon Load Balancer
All static content is served from a
content server farm
EC2 Instance(Tomcat)
Content
Proxy Cache
![Page 13: Andy West – Director of Technology Architecture, Pearson](https://reader035.fdocuments.us/reader035/viewer/2022062707/558658fed8b42a5b488b46e1/html5/thumbnails/13.jpg)
Amazon Cloud
Home User
Home User
School SchoolSchool Home User
Home User
EC2 Instance
DB Server(Postgres)
App Server(Tomcat)
Amazon instances are
provided according to scale
needs. A single instance can be
provisioned for a small district.
![Page 14: Andy West – Director of Technology Architecture, Pearson](https://reader035.fdocuments.us/reader035/viewer/2022062707/558658fed8b42a5b488b46e1/html5/thumbnails/14.jpg)
Amazon Cloud
Home User
Home User
School SchoolSchool Home User
Home User
App Server Tier
EC2 Instance(Tomcat)
EC2 Instance(Tomcat)
Database Server Tier
EC2 Instance(Postgres)
EC2 Instance(Postgres)
Amazon Load Balancer
![Page 15: Andy West – Director of Technology Architecture, Pearson](https://reader035.fdocuments.us/reader035/viewer/2022062707/558658fed8b42a5b488b46e1/html5/thumbnails/15.jpg)
Management of Deployments• Automation, Automation, Automation• Desired: ‘pushbutton’ deployments• Desired: ‘definitional’ deployments• Desired: automatic recovery• Desired: monitoring and alerts
![Page 16: Andy West – Director of Technology Architecture, Pearson](https://reader035.fdocuments.us/reader035/viewer/2022062707/558658fed8b42a5b488b46e1/html5/thumbnails/16.jpg)
Let’s talk (Deployment) Architecture• How to get from ‘named’ build to cloud server?• How to manage from an operations standpoint?• How to size the instances correctly?• What advantages/disadvantages over Pearson Data
Center?• What are the opportunities for using ‘elastic’
provisioning?
![Page 17: Andy West – Director of Technology Architecture, Pearson](https://reader035.fdocuments.us/reader035/viewer/2022062707/558658fed8b42a5b488b46e1/html5/thumbnails/17.jpg)
More (Deployment) Architecture• Several different configurations for different scale• Single server, dual server, multi-server• Tools and frameworks spread across servers• How to manage?• Considered ‘rolling our own’• Looked at Scalr, RightScale, Amazon console, Rackspace
![Page 18: Andy West – Director of Technology Architecture, Pearson](https://reader035.fdocuments.us/reader035/viewer/2022062707/558658fed8b42a5b488b46e1/html5/thumbnails/18.jpg)
![Page 19: Andy West – Director of Technology Architecture, Pearson](https://reader035.fdocuments.us/reader035/viewer/2022062707/558658fed8b42a5b488b46e1/html5/thumbnails/19.jpg)
Again with the Management
• Automation, Automation, Automation• Desired: ‘pushbutton’ deployments• Desired: ‘definitional’ deployments• Desired: automatic recovery• Desired: monitoring and alerts
![Page 20: Andy West – Director of Technology Architecture, Pearson](https://reader035.fdocuments.us/reader035/viewer/2022062707/558658fed8b42a5b488b46e1/html5/thumbnails/20.jpg)
Takeaway #1• Development team should design a deployment architecture• Loop in Operations as soon as you have a reasonable plan• Automate your application deployments(!)
![Page 21: Andy West – Director of Technology Architecture, Pearson](https://reader035.fdocuments.us/reader035/viewer/2022062707/558658fed8b42a5b488b46e1/html5/thumbnails/21.jpg)
Instance Types and Sizing• Different instance types based on computing capacity and
needs• Types: On Demand, Reserved, Spot • Testing strategy to incrementally move up • Combinatorial explosion of possibilities in multi-server
configurations
![Page 22: Andy West – Director of Technology Architecture, Pearson](https://reader035.fdocuments.us/reader035/viewer/2022062707/558658fed8b42a5b488b46e1/html5/thumbnails/22.jpg)
Takeaway #2
• Be prepared to test capacity on lots of instance types• Forget about small instances in production
![Page 23: Andy West – Director of Technology Architecture, Pearson](https://reader035.fdocuments.us/reader035/viewer/2022062707/558658fed8b42a5b488b46e1/html5/thumbnails/23.jpg)
Developer Usage• Each sprint team can now have its own environment• QA had already worked this out with a VM environment• Can help devs especially with QA since there is a
bottleneck with ‘testing’ servers being available
![Page 24: Andy West – Director of Technology Architecture, Pearson](https://reader035.fdocuments.us/reader035/viewer/2022062707/558658fed8b42a5b488b46e1/html5/thumbnails/24.jpg)
Takeaway #3• Developers will love the ability to provision themselves• Allow it to happen• Force it to happen
![Page 25: Andy West – Director of Technology Architecture, Pearson](https://reader035.fdocuments.us/reader035/viewer/2022062707/558658fed8b42a5b488b46e1/html5/thumbnails/25.jpg)
Application Health• Monitor KPI’s like memory usage, CPU, local disk, etc. • Scripts are defined to alert based on thresholds
![Page 26: Andy West – Director of Technology Architecture, Pearson](https://reader035.fdocuments.us/reader035/viewer/2022062707/558658fed8b42a5b488b46e1/html5/thumbnails/26.jpg)
Key Features of for Us• Automation, Automation, Automation• Allows ‘ServerTemplate’ definition
– Includes all the scripts necessary to bring up a server– Allows input variables for ‘instance’ specific criteria such as
tuning parameters• Allows ‘Deployment’ definition
– A group of templates that work together– Allows input variables for ‘instance’ specific criteria such as
a subdomain name
![Page 27: Andy West – Director of Technology Architecture, Pearson](https://reader035.fdocuments.us/reader035/viewer/2022062707/558658fed8b42a5b488b46e1/html5/thumbnails/27.jpg)
More …• Monitoring
– Uses tools installed with the template that can talk to the RightScale platform application
• Macros– Enable higher level scripting of the deployments
• User management– Can constrain access and control for deployments and
templates
![Page 28: Andy West – Director of Technology Architecture, Pearson](https://reader035.fdocuments.us/reader035/viewer/2022062707/558658fed8b42a5b488b46e1/html5/thumbnails/28.jpg)
Takeaway #4
• Don’t shortchange operations involvement• Lead the way with the control and monitoring strategy
for your app
![Page 29: Andy West – Director of Technology Architecture, Pearson](https://reader035.fdocuments.us/reader035/viewer/2022062707/558658fed8b42a5b488b46e1/html5/thumbnails/29.jpg)
Summary
• Engage all stakeholders early• Design a deployment architecture• Testing and automation are your friends• Use it now in development and testing• Pick a management strategy that will work for Operations• Etc.• Questions - [email protected]
![Page 30: Andy West – Director of Technology Architecture, Pearson](https://reader035.fdocuments.us/reader035/viewer/2022062707/558658fed8b42a5b488b46e1/html5/thumbnails/30.jpg)
We hope to see you at our next RightScale User Conference!
See all presentations and videos at RightScale.com/Conference.