Upgrade to PRO for Only $50/Yearβ€”Limited-Time Offer! πŸ”₯

edX deployment - AWS

Avatar for John Jarvis John Jarvis
January 23, 2014
400

edX deployment -Β AWS

Avatar for John Jarvis

John Jarvis

January 23, 2014
Tweet

Transcript

  1. 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
  2. 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
  3. 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.
  4. 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