Category: General

Cost of Running Moodle as your own

As moodle is open source and have full features which are required to run a digital education platform,

  • WEB platform [online]
  • Mobile App platform [offline suppport]
  • Desktop APp as well [offline support]

there are 1000 of plugin base, an active community, 6 monthly updates so much…..

It is just we have to host it somewhere, and we are ready for the digital education environment.

and if you have a little bit of technical background, you can opt for free cloud service with major cloud provider, and this is all which is required.

Case is not like this, however, this is good for your testing lab .

In a production environment, there is a lot of things that need to be done.

Moodle also provides a hosting plan (https://moodlecloud.com/) . and you can see the cost for the running platforms.

When you actively use a system, whether for small scale or large scale, if this is adding the value in your objective/business, then, keeping the system healthy and running become a need.

so let me share the cost that may hit you for running the moodle system as your own.

I am dividing it into 3 parts. I am not including any human effort for setting and managing this platform. This cost is just about machine or hosting.

Core Service

  • Domain name
  • SSL certificate [optional, but required for many features like the app, audio/video recording, payment]
  • Computing Cost [ assuming app and Database are on the same machine]
  • Storage Cost
  • Backup Cost
  • Outbound Data transfer [bandwidth utilization cost]

External Service

  • Email Service [may be the very first thing to do after setup]
  • Any third party paid service, like zoom or bigbluebutton
  • any paid theme
  • any paid plugin that you want to use
  • any monitoring tool
  • notification service for mobile

Optimization

  • Cost of CDN [content delivery network] to optimize the performance
  • Cost of Performance monitoring tools
  • Cost of Caching servers etc.

Core services are required to run the platform. Others are optional and this is just about moodle platform.

So you may be thinking about the amount or the numbers.

Cost Matrix for Core service

I am assuming that we are on a paid AWS account. So let’s calculate it for the core services. This is just a rough idea


Assumption: site-size : 100 GB, active userbase : ~500

Cost Matrix approx onlySupported User base
[Yearly]
Domain~ 10-15 $
SSL certifcate (*)~ 200-300 $
[Monthly]
Compute~45$(t2.medium)~ 250-750 active users, concurrent active ~100
Database~70$(t2.medium)~ 250-750 active users, concurrent active ~100
Storage : Active~.12$ /GB
= 12$ /100 GB
Bandwidth*~.09 $/GB
.09*100GB = 9$
roughly calculation : (course size * active enrolledusers)
let’s assume for site size
Email~0
Backups1$/permont/10GB
~10$
depend upon storage, let’s assume, we are following gold, silver, bronze policy. 7 days, 4 weekly, 12 monthly, 1 yearly

you can say that the bill will be around 150 $ / month to keep running your platform.

Bandwidth cost is so dynamic that, let’s say you upload a video of 100 MB which is on a public page (can be viewed by without login). and it was seen by 10000 people. one person one time. then the cost for this video may be around : (10000 user * 100 MB ) *(.09/1024 MB) = 9 $

9 $ for one video of 100 MB for 10000 serving

Digital Content plays a key role in LMS. this is why Moodle has caps on it. even for the biggest plan, they allow only 1 GB of storage. Less storage, less distribution of content, less bandwidth utilization.

Disclaimer:   the above values are rough figure only.  Even the load matrix are kept by putting jmeter load test on a good course for the active numbers. the variation is because of rampup time and the activity of moodle. viewing course and attending quiz are just pole apart. However this will give you brief idea of cost  and the factors affecting cost.

there are a lot of things that can be done to optimize the cost of the running platform. I will share that in another thread.

Oracle Cloud Infrastructure vs AWS

oci_vs_aws
OCI vs AWS

If we talk about cloud, the first provider we think about is one of the top 3 providers

  • AWS Cloud
  • Microsoft Azure Cloud
  • Google Cloud

I am not going into deep market analysis but, these are market key player who drives the CLOUD Market, however, there are other vendors as well like IBM, ORACLE, Alibaba etc.

Recently, Oracle is aggressively started to push into it’s Cloud infrastructure to compete with these market giant.

Every CLOUD provider have the similar concept and business modal which values to CLOUD. They all are providing IaaS/PaaS/Saas with different pricing modal without any upfront commitment, which make CLOUD as a viable option for the utilization. The same is with oracle.

Let’s have a competitive look wrt ORACLE Cloud Infrastructure (OCI) and AWS in terms of following aspect

  • Billing
  • Services
  • Complementary Free Tier Services

#1 Billing :-

AWS and OCI, both offers similar billing modal,Pay as you go, Billing you monthly on the basis of resource utilisation

#AWSOCI
1Pay as you go modal, Monthly BillingSame
2Reservation Of Resource :
* No Upfront Commitment
* Partial Upfront
* Full Upfront
Yes, Full upfront as prepaid Manner
3 The more you use, the cheaper is the costThe more you use, the cheaper is the cost
4Budget Planning and AllocationBudget Planning is available
5Tagging for cost explorationYes

#2 Services :-

Aws offers much more service cover all domains , however, Oracle is limited for the services as of now. But both offer the basic and required set of services and resources

Services In OCI : –
OCI Services List
OCI services List : https://docs.cloud.oracle.com/en-us/iaas/Content/home.htm
Aws Services List :

In Aws, there are 100s of service in grouped in different domains,

  • Compute
  • Storage
  • Database
  • Developer Tools
  • Security, Identity, & Compliance
  • Cryptography & PKI
  • Machine Learning
  • Management & Governance
  • Migration & Transfer
  • Mobile
  • Networking & Content Delivery
  • Media Services
  • End User Computing
  • Analytics
  • Application Integration
  • Business Applications

for more about aws services, https://docs.aws.amazon.com/

#3 Complementary Free Tier Services :-

For exploration purpose, both offers some service free to use for their customers.

AWS

there are 3 different type of free program,

  • Always Free : limited quote for life time
  • 12 Month Free
  • Trial Period
AWS Free Tier : https://aws.amazon.com/free/?all-free-tier.sort-by=item.additionalFields.SortRank&all-free-tier.sort-order=asc

OCI :
  • Life Time Free
  • 300 USD Credit for 30 days
OCI: Free tier in signup : https://www.oracle.com/cloud/free/
OCI : Free Tier Services

If i see, Oracle offers the basic required service which includes (Compute + Storage + Bandwidth ) with limited quota free for the lifetime, whereas AWS offers computing and storage free for one year after signup.