Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: deploy with GCP #32

Open
quasar529 opened this issue Feb 3, 2023 · 2 comments
Open

release: deploy with GCP #32

quasar529 opened this issue Feb 3, 2023 · 2 comments
Assignees
Labels

Comments

@quasar529
Copy link
Contributor

Description

  • Deploy 하기 위해 GCP 사용

Details

  • Compute Engine, App Engine, Cloud Run 중 Task에 맞고 관리 및 사용이 용이한 방법 강구.

Reference / Image

https://dev.classmethod.jp/articles/cloud-run-deploy/
https://www.techtarget.com/searchcloudcomputing/tip/Compare-Google-Cloud-Run-vs-App-Engine-for-enterprise-software

@quasar529 quasar529 self-assigned this Feb 3, 2023
@quasar529
Copy link
Contributor Author

Deployment

Docker Image

  • 필요한 패키지 용량이 많아 build,push 할 때 시간소요 많다
    👉 먼저 Base Image에 모두 설치 후 나머지 파일 build 진행했다.

  • 현재 WebRTC 적용해서 Local에서 실행 확인한 feat-webrtc_recording 브랜치에서 Docker File 생성 후 Container Registry에 Push 완료

@quasar529
Copy link
Contributor Author

quasar529 commented Feb 4, 2023

Cloud Run

  • Container Registry에 Docker Image 존재하면 바로 배포 가능함.

❗ 문제

  • WebRTC 사용안됨
    • Selcet Device는 되지만 START 누르면 로딩 하다 끊기고 다시 START 누르는 화면으로 돌아감
  • 찾아보니 Network 관련 문제인듯. (굉장히 내용이 깊다.) https://github.com/whitphx/streamlit-webrtc#configure-the-turn-server-if-necessary
  • Custom TURN Server 만들고 코드 추가하는 방법 있는데 내용이 복잡하고 된다는 확신 없음
  • 일단 보류 후 Compute Engine 으로 배포 시도

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant