====== Disaster Recovery site for Learnexa ====== ===== DR: MultiSite===== ==== OpSource Estimated Monthly Prod Cost: $462.06==== ==== OpSource Estimated Monthly Prod Cost DR Activated: $2.186 / hr==== ==== AWS Estimated Monthly Prod Cost: $263.82*==== ==== AWS Estimated Monthly Prod Cost DR Activated: $1.45 / hr==== Notes: \\ * Costs slated to be reduced by 15% - Opsource * * Expected 20-30$ savings monthly, if signed up for a new account * | HW|State| Role | Cost| Monthly - OpSource| Monthly - AWS | Diff| | 2 VM's @ 4cores, 8G, 50G| OFF (ON for code refresh) | App| for 1, 0.04000*4 CPU \\ 0.02500 * 8 RAM \\ 0.00030*50 | 10.98+10.98+ (~20)| 2|--| | M: 4cores, 8G,50G|ON| DB| same unit price| 259.2+10.98| 168.36 + 2 | 7G vs 8G RAM i.e. 1G less RAM. \\ 223.26 for 4C, 15G | |S: 4cores, 8G 50G| OFF (BI-WEEKLY ON OR MINIMAL HW ON*) | DB| (24hours/month)| 3.84+4.8+10.98| 5.52+2| | 6cores, 16G, 50G|OFF (BI-WEEKLY ON) |Collab| (24hours /month)| 5.76+9.6+10.98 | 10.08+2| | 2cores, 2G, 10|ON|LB| |57.6+36+2.16| 76.86+0| ===== DR: MultiVendor ===== ==== Estimated Monthly Startup Cost: $556.55==== ==== Estimated Monthly Prod Cost: $1260.37==== ==== Differences compared to Opsource ==== - App Role: Only 1 server, 1G less RAM. - DB Role: Only DB Master, 4 less cores and 5G less RAM. - Collab Role: 2 less cores and 9G less RAM. Workload shared with CloudFront service. - LB/Chat Role: 1.7G more RAM. - Backup: 1st level as a Snapshot. 2nd level in S3. 3rd level can be added to Glacier. - Bandwidth: Estimated. - Caching: Added 5G for application caching. TBD. - DB Perf: Added (500 IOPS) to DB drive for better disk performance. - Link to AWS calc: [[http://calculator.s3.amazonaws.com/index.html#r=IAD&key=calc-AD32FC4F-5C54-405E-A5ED-E8B3755A639B| Tinker with AWS Calc]] - Link to Opsource calc: [[https://docs.google.com/a/expertus.com/spreadsheets/d/1t17Qu0sQ3507zdo_ogKAbMhrdU3NEMc1oxIKGABnYMU/edit?usp=sharing| Tinker with Opsource Calc]] - All AWS costs are on-demand. Reserved Instance prices are 50-65% lower. | Current HW (OP)| Role | Cost| Monthly | AWS equivalent (upper)| | 2 VM's @ 4cores, 8G, 10+50G| App| for 1, 0.04000*4 CPU \\ 0.02500 * 8 RAM \\ 0.00030*50 | 117.12+146.40+10.98=274.50*| for 1, 4core,15G,SSD2x40 @204.96+| | M: 8cores, 12G,10+150G \\ S: 4cores, 8G 10+150G| DB| same unit price| 486.78* + 274.50* | M: 8core,15G,SSD2x80 @ 307.44+ S:4core,7G,SSD2x40 @153.72| | 6cores, 16G, 10+100G|Collab| same unit price | 490.44* |8core,15G,SSD2x80 @ 307.44+ or 8core,30G,SSD2x80 @ 409.92+| | 2cores, 2G, 10+20G|LB| same unit price | 99.55*| 2core,3.7G, SSD 2x16 @76.86+| | * Core Unit breakdown. Priced per unit (ex: 0.04 for 1 unit of CPU i.e. 1 core, 0.025 for 1 unit of RAM i.e. 1G etc.)|||| | + Does not include EBS persistent storage cost, scroll below|||| |HW Config | Role | Cost| Monthly | |2Cores, 3.7G, SSD 2x16 | App |0.105| 76.86| |2Cores, 3.7G, SSD 2x16 | App |0.105| 76.86| | M: 2Cores, 3.7G, SSD 2x16 \\ S:2Cores, 3.7G, SSD 2x16 | DBM & DBS |0.105| 153.72| Slave might need to be upgraded |4Cores, 7G, SSD 2x40 | Collab |0.210| 153.72| |2Cores, 3.7G, SSD 2x16 | LB / Chat |0.105| 76.86| |Total|||538.02| | Service Config | Monthly Cost| Notes| | EBS Volumes | 15.50| EBS backed storage,db, shared| | Inter-Region Data Transfer Out| 0.10| 5G, dynamic content - TBD| | Data Transfer Out | 1| 10G | | Data Transfer In | 0 | 20G| | S3 Storage| 0.30| 10G| | S3 Put Request|0.05| 10000 req/month| | S3 Other Requests|0.01| 10000 req/month| | S3 Inter-Region Data Transfer Out|0.20|10G / month| | Cloudfront| 0.82| 5GB/month, 35% US, 5% EUR, 60% INDIA| |Total|17.98|| ==== Prod ==== |HW Config | Role | Cost| Reserved Cost| Monthly | | 4Cores, 7G, SSD 2x40 | App |0.210| 0.084| 153.72| | 4Cores, 7G, SSD 2x40 | App |0.210| 0.084| 153.72| | 8core,15G,SSD2x80 \\ S: 4Cores, 7G, SSD 2x40 | DBM + DBS | 0.420 + 0.210| 0.084| 307.44 + 153.72| |8core,15G,SSD2x80 | Collab |0.210| 0.420|307.44| |2Cores, 3.7G, SSD 2x16 | LB / Chat |0.105| 0.041|76.86| |Total||||1152.9| | Service Config | Monthly Cost| Notes| | EBS Volumes | 15.50| 100GB for DB \\ 60GB for shared| | EBS Volumes - IOPS| 50 |500 IOPS for DB | | EBS Volumes - Snapshot | 6.65 |10GB / month for DB \\ 60 GB / month for shared| | Additional IPs | 3.66 | - | | Inter-Region Data Transfer Out| 0.10| 5G, dynamic content - TBD| | Data Transfer Out | 8.28| 20G | | Data Transfer In | 0 | 20G| | S3 Storage| 3| 100G shared between 2nd level DB Backups, Shared assets| | S3 Put Request|0.05| 10000 req/month| | S3 Other Requests|0.01| 10000 req/month| | S3 Inter-Region Data Transfer Out|0.20|10G / month| | Cloudfront|1.32| 10GB/month, 90% US, 5% EUR, 5% INDIA| | Glacier Storage | 1| Optional, if using S3 \\ 100G, 10000 Req| | Glacier Retrieval | 17.70| \\ Optional, if using S3 \\ 4 Hour retrieval. \\ Estimated latest copy 10G \\ 100G, 10000 Req| |Total|107.47|| Rackspace pricing for CDN: |Type|Price|Tier| |RS-Storage|0.100| per GB upto 1TB| |RS-CDN|0.120| per GB upto 10TB| |AWS-Storage| 0.0300| per GB upto 1TB| |AWS-CDN|0.120| per GB upto 10TB| |RS-Total| 1+1.2=2.20 | per 10G| |AWS-Total| 0.3+1.2=1.50| per 10G (does not include edge location,request charges)|