- Newest
- Most votes
- Most comments
Hello,
Thank you for explaining your use-case in details.
As per my analysis on your use-case, I would suggest you to kindly go with option2 for your architecture. However, this may require you to modify your Lambda code's and make sure that the environment behaves different for each of the client's available.
I understand that this may be additional work for you, however, with option1 this would be most expensive option. You'd incur costs for multiple instances of ECS, Lambda functions, S3 buckets, and other resources in each environment.
With Option 2, a single AV infrastructure that handles multiple client sites within the same environment—is recommended because it is cost-effective, easier to manage, and scalable. This approach allows you to share resources across sites, reducing duplication and lowering costs. It also centralizes management, making updates and maintenance simpler. Although it requires careful design to handle multiple sites securely and efficiently, the benefits of reduced operational overhead and improved scalability make it the more practical solution for most scenarios.
Hi,
It seems like you are trying to convert an existing application to support multi-tenancy, given the provided requirements. Thus, I would strongly suggest you to review AWS Well-Architected Framework SaaS Lens for more information on best practices and recommendations for multi-tenant environments. There are multiple new design considerations that you must take into account now.
For example, if you consider to share the same SQS queue between multiple clients/tenants, you will have to adjust your design so that messages from one client do not block or significantly delay messages from other clients (Noisy Neighbor). There is a blog post covering different design approaches for Using Amazon SQS in a Multi-Tenant SaaS Solution.
All in all, you might want to search more information on multi-tenant and SaaS enabled patterns since that is your new requirement.
Best regards,
Relevant content
- How do I monitor my transit gateway and Site-to-Site VPN on a transit gateway using Network Manager?AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 2 years ago
thank you for your answer, how can i adapt the current solution to handle multi-sites for each environment?, alarm error notification for each different sites,... how can i do error handling.