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.

asked a year ago97 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions