Deployment of a Corporate Training Portal on Google Cloud Platform using Deployment Manager, Google Compute Engine & Cloud Storage
Project description
In another real-world-based project, I acted as a Cloud Specialist to implement a corporate training portal for employees. Moodle was the platform chosen to provide the training, and it’s one of the most popular e-Learning platforms among companies and universities around the world.
I used the Deployment Manager and a Moodle image, available on GCP Marketplace, using the resources of a Compute Engine.
To store the training files, in order to comply with high availability (HA) issues, I used the Cloud Storage bucket service.
Lets get Started!
we will need to check on the below items
- Create a project
- Enable Billing for your project
Moodle Deployment
Enable API: Cloud Deployment Manager V2 | Runtime Configuration
Access the Deployment Manager | Go to Cloud Deployment Manager
Click on [ + ] Deploy Marketplace Solution
Search for solutions, type moodle
Choose Moodle | Google Click to Deploy
Click on Launch.
Deployment name: do not change it, just leave it as suggested!
Machine Type: e2-medium
Administrator Email Address: inform your best e-mail
Accept the Terms and Deploy
Cloud Storage
Create a bucket on Cloud Storage
Go to Google Cloud Console and search for Cloud Storage
Create Bucket
Name your bucket: tcb-moodle-ja
Choose where to store your data |Location type |Region
Choose a default storage class for your data: Standard
Choose how to control access to objects:
Uncheck[ ]Enforce public access prevention on this bucket
Check (*) Fine-grained
Create
Upload Files: iLearnIntro.mp4 and eiLearnPDF.pdf
Editing objects permissions to allow public access
Select the file iLearnIntro.mp4
Click on the 3 dots |Edit Permissions
Click on Add Entry
Entity: Public
Name: all
UsersAccess: Reader
Click on Save
Select the file iLearnPDF.pdf
Click on the 3 dots |Edit Permissions
Click on Add Entry
Entity: Public
Name: all
UsersAccess: Reader
Click on Save
Moodle Admin Panel
Copy and Paste the Moodle instance Public IP in the browser, and make the login.
Go to Site Home | Add a new course
Course full name: Onboarding training for new employees
Course Short name: OTNE
Save and Return
Now go to Site administration | Appearance | Logos
Click on Upload a file |Choose File and select the file iLearnLogo.png
Click on Upload this file And Save changes!
Moodle Customization
Site Administration |Front Page| Front page settings.
Full site name: Corporate Training Portal
Short name for site: iLearn
Front page summary: iLearn — Corporate Training Portal
Save changes
Validating the customization: Log Out | Log In
From Site Home| Click on Turn editing on.
Add an activity or resource.
Select Page | Add
In the section General |Name| Type: Welcome!
From Content, click on Insert or edit an audio /video file go to Video guide.
In the Cloud Storage(bucket), copy the Public URL of the video object iLearnIntro.mp4 and paste in the Video source URL| Click on Insert media.
Click on Save and return to course
In the Welcome video click on Edit Settings
From Content, type the text Download Pdf below the video to add a hyperlink.
In the Cloud Storage (bucket), copy the Public URL of the PDF object iLearnPDF.pdf and paste in the Enter a URL. Select Open in new window and then, click on Create link.
Click on Save and display
The portal is up and running
Congratulations!
In case you face any issues during the deployment, please feel free to reach me on LinkedIn and don’t forget to click the like button if you enjoy reading this article