Skip to content

Backend App Using NodeJS, ExpressJS, and The cloud computing part required by the Rebage application ☁

Notifications You must be signed in to change notification settings

Rebage-Bangkit2022/Rebage-Cloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Rebage - Cloud Computing

The cloud technology used in Rebage

Powered by:

Google Cloud Platform, offered by Google, is a suite of cloud computing services that runs on the same infrastructure that Google uses internally for its end-user products, such as Google Search, Gmail, Google Drive, and YouTube.

Wiki of Home: Home - Wiki

The cloud technology that used in this project:

  • Google Cloud Platform (suite of cloud computing services)
  • Cloud SQL (for app database - dev environment)
  • App Engine (for deploying the app)
  • Cloud Storage (for storing the assets)
  • Vertex AI (for machine learning)
  • Cloud Monitoring (for get info on all services)

Important Notes

  • The folder called "endpoint" contains the code for the backend of the web-app. This backend code is used to handle the requests and send the response to the client. The backend code is written in Express.js. Now, the backend code is not used in this project because not suitable.

  • The folder called "endpoint" is project in the internal implementation stage, the service and the account used is a personal account. The changes made are an application testing that is expected to be perfect when the application enters the final stage.

  • The folder called "final-endpoint" contains the code for the backend of the mobile-app. This backend code is used to handle the requests and send the response to the client. The backend code is written in Node.js with Express.js framework. Currently, the backend code is used in this project because of the suitable.

  • The folder called "final-endpoint" is project in the actual implementation stage, the service and the account used is a educational account purpose from Bangkit 2022. The changes made are an application testing that is expected to be perfect when the application enters the final stage.

Technology Used

There are three uses of technology in Google Cloud. Among them are Cloud SQL, App Engine, and Vertex AI. These three services are used as application service needs on the cloud side to process all requests and data services.

Cloud SQL

This sql service has been deployed on devevelopment environment.

Service details:

Database Type   : PostgreSQL
Version         : 14
vCPUs           : 1
Memory          : 1.7 GB
Storage         : 10 GB

Docs: cloud-sql-postgres-docs

App Engine

This app service has been deployed.

Service details:

runtime: nodejs
env: flex
manual_scaling:
    instances: 1
resources:
    cpu: 2
    memory_gb: 4
    disk_size_gb: 10

Docs: app-engine-docs

Cloud Storage

This storage service has been deployed.

Location Type   : Region
Location        : asia-southeast1
Storage Class   : Standard

Docs: cloud-storage-docs

Vertex AI

This service model has been deployed.

Detail info:

Model name      : ssd_mobnet_50k
Region          : asia-southeast1
Version         : 1
Endpoint name   : rebage-ml-endpoint

Docs: ai-platform-docs

Cloud Monitoring

This monitoring service has been deployed.

Detail info:

Cloud SQL       : Deadlocks Count, CPU Usage [MEAN]
App Engine      : Response Count, Logs, CPU Utilization [MEAN]
Cloud Storage   : Request Count, Total Bytes [MEAN]
Vertex AI       : Prediction Count [MEAN], Latencies [50th Precentile]

Docs: cloud-monitoring-docs

This application still under development changes are expected to be perfect when the application enters the final stage.