Skip to content

Conversation

@ncduy0303
Copy link

@ncduy0303 ncduy0303 commented Nov 12, 2025

Description

Enable deployment to GCP using Terrraform. Migrate existing services as needed.

Public website is at https://cs3219-ay2526s1-g13.com.

TODO: Deploy piston engine for code execution, temporarily switch to using available public API https://emkc.org/api/v2/piston/execute for deployed application

Migrations

Mongo DB -> Mongo DB Atlas # separated from GCP
Each service -> GCP Cloud Run
Redis -> GCP Memorystore
Kafka & RabbitMQ -> GCP Pub/Sub

Deployment Guide

  • Use scripts/init-piston-languages.sh to containerize all services and push to GCP Cloud Storage, when there are code changes in the services.
  • Use terraform to deploy. It will retrieve the latest Docker images from the GCP Cloud Storage.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • I have run pnpm lint and pnpm format
  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules

@ncduy0303 ncduy0303 force-pushed the ncduy0303/deploy-gcp branch from f6f5b83 to a53ba73 Compare November 12, 2025 02:46
Copy link

@DanielJames0302 DanielJames0302 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM !!

@DanielJames0302 DanielJames0302 merged commit 0fe4b2f into dev Nov 12, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants