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 年前102 查看次数
没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则