====== Learnexa Infrastructure ======
====== Current NA01 - Dimension Data ======
vCPU RAM
Proxy - 4 8
APP1 - 8 16
APP2 - 8 16
Collab - 6 16
MS+SLr - 8 16
Master - 8 20
----------
42 92GB
**Note**: //February 1 - 29, 2016 - Bill (including Expertus.com + FTP server) - **$4417.84** - Please find the invoice - {{:invoice_242179.pdf|}}//
===== Suggested Architecture =====
{{:learnexa_s3.jpeg|}}
===== Current Test Infrastructure =====
4 x c1.xlarge (2 x APP Servers + 1 x Collab Server + 1 x Mysql Slave Server) \\
1 x c3.2xlarge (1 x Storage Server + Mysql Master)
Estimated for 100% Utilization (May cost lower than expected)
APP Server - 1 x C1.xLarge + 40GB SSD = $480.66 / Month
Collab Server - 1 x C1.xLarge + 100GB SSD = $487.86 / Month
Mysql Slave Server + Load Balancer - 1 x C1.xLarge + 80GB SSD = $485.46 / Month
Mysql Master + Storage - 1 x C3.2xLarge + 160GB + 80GB SSD = $412.43 / Month
Elastic IP Address + Data Transfer (60GB per month) - 1 x Load Balancer + 1 x Collab = $12.72 / Month
###############################################################################################################
TOTAL (including another C1.xLarge APP2) = $2359.79 / Month
NOTE : Calculations were made using online calculator - https://calculator.s3.amazonaws.com/index.html
We run 11 VM's on AWS and including Learnexa (staging) and Performexa (production) site the bill for
for March 2016
EC2 $2,638.79
DataTransfer $0.84
S3 $0.04
QueueService $0.00
Other Services $0.00
Tax $0.00
#######################################
Total $2,639.67
******Sample Calculation for AWS******
All EC2 instance running - c3.2xlarge 8 vCPU & 15.0GB RAM (with 1 Year agreement with no Upfront fee)
EC2 $2308.72 (6 x c3.2xlarge instances + 3 Static IP + 100GB SSD each server (125.0 MB/s))
DataTransfer $26.91 (200GB Up and Down - No Guarantee for Internet Bandwidth)
S3 $32.07 (1TB - Fixed - 250000 GETS and PUTS opertation)
QueueService $0.00
Other Services $0.00
Tax $0.00
#######################################
Total $2367.70
#######################################
On-Demand - No Agreement
Total $2933.38 (EC2 - $2874.40)
AWS C3.2xLarge instance Benchmark - http://blog.flux7.com/blogs/benchmarks/benchmarking-network-performance-analysis-of-c3-instances-using-iperf-tool
**Note** : //We have downgraded the servers to M3.Large and the servers are currently in shutdown mode (not being used, until next testing). Still trying to find cost effective way to get maximum performance.\\ We are continuously Searching for best cloud service provider who can give us 10Gig network connectivity at a nominal cost.\\ AWS costs may change according to usage//
===== Google Cloud For Production =====
Current Hardware in production;
vCPU RAM
Proxy - 4 8
APP1 - 8 16
APP2 - 8 16
Collab - 6 16
MS+SLr - 8 16
Master - 8 20
----------
42 92GB
Closest in Google Cloud;
n1-highcpu-4 - 4 vCPU - 3.6 GB RAM
n1-highcpu-8 - 8 vCPU - 7.2 GB RAM
**Compute Cost**
n1-highcpu-4 - 4 vCPU - 3.6 GB RAM = Full Price = $0.152/Hour = $113.088/Month
n1-highcpu-4 - 4 vCPU - 3.6 GB RAM = Preemptible* Price = $0.040/Hour = $20.76/Month
n1-highcpu-8 - 8 vCPU - 7.2 GB RAM = Full Price = $0.304/Hour = $226.176/Month
n1-highcpu-8 - 8 vCPU - 7.2 GB RAM = Preemptible* Price = $0.080/Hour = $59.52/Month
**Custom vCPU and RAM**
Item Price (USD) per hour Preemptible price (USD) per hour Usage/Month (excluding Preemtible) (730Hours)
vCPU $0.03492 / vCPU $0.01002 / vCPU $25.4916
Memory $0.00468 / GB $0.00156 / GB $3.4164
**Storage Cost**
Type Price (per GB / month)
Standard provisioned space $0.04
SSD provisioned space $0.17
Snapshot storage $0.026
IO operations No additional charge
**Custom Image Storage**
Type Price
Image Storage (per GB / month) $0.085
**IP Address Pricing**
Type Price/Hour Price/Month (31 Days = 744Hours)
Static IP address (assigned but unused) $0.01 $7.44
Static IP address (assigned and in use) No charge
Ephemeral IP address (attached to instance or forwarding rule) No charge
**Internet egress rates**
Monthly Useage Network Worldwide(Excluding China but including Hong Kong) To china To Australia Incomming request
0-1 TB $0.12 $0.23 $0.19 Free
1-10 TB $0.11 $0.22 $0.18 Free
10+ TB $0.08 $0.20 $0.15 Free
* -> For Temporary Autoscaling or Batch Jobs only
Compute Engine might terminate (preempt) these instances if it requires access to those resources for other tasks.
Additionally, Compute Engine has a finite number of available preemptible instances, so you might not be able to create them during peak usage.
Please note we are avoiding Local SSD due to reliability reasons. -> https://cloud.google.com/compute/docs/disks/#localssd
Also to note Google Provides sustained use discount (not for Preemtible Instances)
For example;
Usage Level (% of month) % at which incremental is charged Example incremental rate (USD/hour) for an n1-standard-1 instance
0%-25% 100% of base rate $0.050
25%-50% 80% of base rate $0.040
50%-75% 60% of base rate $0.030
75%-100% 40% of base rate $0.020
**Sample Calculations**
1 - n1-highcpu-4 (4 vCPU - 3.6 GB RAM) + 60GB SSD = $87.87 /Month (Proxy)
5 - n1-highcpu-8 (8 vCPU - 7.2 GB RAM) + 120GB SSD = $797.12 /Month (App, Mysql, Collab)
1 - Outbound Internet Traffic = $84.00 /Month (To Americas/EMEA (500GB), Asia/Pacific (60GB))
3 - Static IP = Free /Month or $21.90 /Month (If unused)
-------------------------------------------------------------------------------------------------
Total vCPU = 44
Total RAM = 39.6
Adding 53GB RAM (to achieve ~92GB RAM Requirement) = $181.06 /Month
Adding 1 TB SSD for Content storage = $174.08 /Month
20GB custom Image Storage = $1.7 /Month (For example; collab Image - Ubuntu 10.04)
-------------------------------------------------------------------------------------------------
Grand Total = $1325.1 /Month
**Note**: //All calculations were done using official Google cloud calculator - https://cloud.google.com/products/calculator/ // \\
===== Google Cloud For QA and Dev =====
==== Estimate Without SSD ====
Compute Engine
1 x
730 total hours per month
VM class: regular
Instance type: n1-standard-2 (2 vCPU + 7.5 GB RAM)
Region: United States
Sustained Use Discount: 30%
Effective Hourly Rate: $0.070
Estimated Component Cost: $51.10 per 1 month
Persistent Disk
Storage: 100 GB
$4.00
Network Bandwidth
Egress - Americas/EMEA: 60 GB
Egress - Asia/Pacific: 60 GB
$14.40
**Total Estimated Cost: $69.50 per month**
==== Estimate With SSD ====
Compute Engine
1 x
730 total hours per month
VM class: regular
Instance type: n1-standard-2 (2 vCPU + 7.5 GB RAM)
Region: United States
Sustained Use Discount: 30%
Effective Hourly Rate: $0.070
Estimated Component Cost: $51.10 per 1 month
Persistent Disk
SSD storage: 100 GB
$17.00
Network Bandwidth
Egress - Americas/EMEA: 60 GB
Egress - Asia/Pacific: 60 GB
$14.40
**Total Estimated Cost: $82.50 per month**
===== Dedicated VPC Hosting =====
We have checked with;
https://vexxhost.com/cloud_servers/
http://www.interoute.com
https://www.ovh.com
===== OVH - Dedicated Cloud (Vmware Vcloud - Similar to Dimension Data infrastructure) =====
***Processor type***
AMD - Opteron 4386 (8 cores / 8 threads)
Intel - Xeon E5-2690V2 (10 cores / 20 threads)
***Below is a Pack each containing 2 Servers with HA preconfigured***
AMD - 16 cores/16 threads/3.1 GHz - 2 x 64 GB RAM - 2 x 300GB Datastore - 1.5 Gbps Upload / Incoming Unlimited - No Network metering - $769.00 /month
AMD - 16 cores/16 threads/3.1 GHz - 2 x 128 GB RAM - 2 x 300GB Datastore - 1.5 Gbps Upload / Incoming Unlimited - No Network metering - $1105.00 /month
Intel - 20 cores/40 Threads/3 GHz - 2 x 128 GB RAM - 2 x 300GB Datastore - 1.5 Gbps Upload / Incoming Unlimited - No Network metering - $2035.00 /month
Additional Bandwidth OVH Dedicated Cloud->Internet - upto 3 Gbps/Dedicated Cloud (Optional) - $350 /month
Veeam Backup (Virtual machine Backup)- 2 full backups (1/week) + between 12 and 18 incremental backups.(Optional) - $14 /month/VM
Static IP (One time setup fee - No monthly charge) - $3.00 /IP
Additional 1.2 TB NFS/iSCSI SSD-Accelerated Datastore Storage - $82.60 /month
Datastore and Host connection network speed (Switch Capacity) - 2 x 640 Gbps (Storage link)
Dedicated Server Network speed (Local Network) - AMD 2 x 10Gbps171.95
Intel 4 x 10Gbps
*********SAMPLE CALCULATION********
AMD 16 cores/16 threads/3.1 GHz - 2 x 64 GB RAM - 2 x 300GB Datastore - $769
3 Static IP's (Collab + Subsite + Multi-tenant) - $9
Additional 1.2 TB NFS/iSCSI SSD-Accelerated Datastore Storage - $82.60
---------------------------------------------------------------------------------
Total (For the first Month) - $860.6
From Second month and there after - $851.6
Scalable as we can add more servers as and when required + No Hardware issues to worry as they will handle it.
The details were confirmed with their technical support - +1 855 684 5463 (as on March 31-2016 - No other cost involved)
**Note**: //Vmware Vcloud license price is included with the monthly cost. Other free services include DDoS protection with no additional cost. They also Guarantee Dedicated cloud -> Internet speeds of 1.5Gbps//\\
Here are their customer's testimony\\
* Kiwatch Cloud based Surveillance : https://www.youtube.com/watch?v=W4Wqwqd_vPM&index=63&list=UUGl9Y5S09EX-3lLfAdWsW_A\\
* eduStance Cloud : https://www.youtube.com/watch?v=4H_1gFvmGK0