Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
edX deployment - AWS
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
John Jarvis
January 23, 2014
400
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
edX deployment - AWS
John Jarvis
January 23, 2014
More Decks by John Jarvis
See All by John Jarvis
How edX uses Ansible
jarv
3
1.9k
Stick Destroyer
jarv
1
77
Featured
See All Featured
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
330
30 Presentation Tips
portentint
PRO
1
390
Evolving SEO for Evolving Search Engines
ryanjones
0
280
The untapped power of vector embeddings
frankvandijk
2
1.9k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
45k
Producing Creativity
orderedlist
PRO
348
41k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
470
The World Runs on Bad Software
bkeepers
PRO
72
12k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Transcript
edX Architecture and Deployment
[email protected]
• Maintaining multiple edX deployments
• Keeping data, accounts and access secure and isolated • Reliable, continuous and repeatable upgrades and rollbacks
What's new? • Separate AWS Account used for each customer
• AMI based deployments • Quality gates using a canary, easy AMI based rollbacks • Push button updates with Jenkins and Asgard
Terminology • EC2 – Elastic Compute, virtual server running Ubuntu
Linux • VPC – Virtual Private Cloud • AMI – Amazon Machine Image • RDS – Cloud Relational Database (MySQL) • Asgard – Netflix tool for deployment and AWS EC2 cluster management • Ansible – Python based Configuration management tool • Abbey – Python script for launching fully baked AMIs containing the software and configuration needed for a set of edX services.
What makes up an edX deployment?
Deployment Workflow
AWS/MongoHQ Costs Not including bandwidth, S3, Rout53 and Monitoring •
Web server (edxapp, worker) – 2xsmall / 2xmedium ~ $260 (x2) • Grading and Queuing (grader, xqueue, rabbitmq) – 2xmicro, 4xsmall ~ $200 (x2) • Forums (forums, elastic search) – 4xsmall ~ $140 (x2) • VPC / Operations (nat, bastion, asgard, jenkins) – 3xsmall, 2xmicro ~ $160 (x2) • Load Balancers – 4 (not including bandwidth) ~ $70 (x2) • EBS ~ $20 (x2) • RDS – (1 multi-AZ large instance) ~ $470 + $60 • MongoHQ - (large w/ replica set) ~ $1700 TOTAL ~ $4000