Best way to share common code between EC2 containers in a monorepo

0

Hello,

I am working on a project that involves running multiple services on EC2 instances, each of which is built from a separate package within a monorepo. The services share some common code and packages (Typescript), and I am trying to find the best way to manage this shared code.

I have considered using a shared file system like EFS, but I am wondering if there are any other recommended approaches. Specifically, I am wondering if there is a way to manage shared dependencies using a package manager like PNPM or a build system like Turborepo.

Could you provide any guidance or best practices for sharing code between EC2 containers in a monorepo? I would appreciate any suggestions you may have.

Thank you for the help.

已提問 1 年前檢視次數 99 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南