Minimum resources required to install and run Sunbird-ED on any cloud provider
- vCPUs: 48
- RAM: 192 GB
- Domain Name
- SSL Certificate: The FullChain, consisting of the private key and Certificate+CA_Bundle, is mandatory for installation.
- Google OAuth Credentials: Create credentials
- Google V3 ReCaptcha Credentials: Create credentials
- Email Service Provider
- MSG91 SMS Service Provider API Token (Optional): Required for sending OTPs to registered email addresses during user registration or password reset.
- YouTube API Token (Optional): Necessary for uploading video content directly via YouTube URL.
- jq
- yq (for YAML processing)
- rclone
- Terraform
- Terragrunt
- Linux / MacOS / GitBash (Windows)
- Python 3
- PyJWT Python Package (install via pip)
- kubectl
- helm
- Postman CLI
- For cloud-specific tools, follow the instructions in the respective README file based on your provider.
Example for Azure: terraform/azure/README.md
- Existing files in the following locations will be backed up with a
.bakextension, and the files will be overwritten:~/.config/rclone/rclone.conf~/.kube/config
- In the instructions below,
demois used as the environment name. You can replace it with your desired environment name, such asdev,stage, etc.
-
Clone the repository:a
git clone https://github.com/project-sunbird/sunbird-ed-installer.git
-
Copy the template directory:
cd terraform/<cloud-provider> # Replace <cloud-provider> with your cloud provider (e.g., azure, aws, gcp) cp -r template demo cd demo
-
Fill in the variables in
demo/global-values.yaml. take reference from [terraform/azure/README.md] -
Log in to your cloud provider:
# If cloud provider is Azure az login --tenant AZURE_TENANT_ID # If cloud provider is AWS aws configure # If cloud provider is GCP gcloud auth login
-
Run the installation script:
time ./install.sh
This installation setup creates the following default users with different roles. You can update the passwords using the "Forgot Password" option or create new users using APIs.
| Role | Email/User Name | Password |
|---|---|---|
| Admin | [email protected] | Admin@123 |
| Content Creator | [email protected] | Creator@123 |
| Content Reviewer | [email protected] | Reviewer@123 |
| Book Creator | [email protected] | Bookcreator@123 |
| Book Reviewer | [email protected] | BookReviewer@123 |
| Public User 1 | [email protected] | User1@123 |
| Public User 2 | [email protected] | User2@123 |
cd terraform/<cloud-provider>/<env>
time ./install.sh destroy_tf_resources