40 likes | 61 Views
Loves Cloud worked with its customer to resolve issues related to scalability, reliability, cost, availability and security through this design.
E N D
Cloud CASE STUDY Building a Multi-Tenant SaaS Application on AWS
CUSTOMER PROFILE Our customer is a major player in providing SaaS applications for Oil and Gas industry. They are based in Nordics and work extensively with large data sets to solve complex problems for their customers. Their applications use Machine Learning, Data Science and AWS Services to solve some of the most difficult tasks, accurately for their customers. GOALS During our discussion with customer CTO we zeroed in for following goals: i. Make application multi-tenant as well as scalable ii. iii. Avoid insecure Docker Compose environment variables Move production out of Docker Compose iv. Remove single point of failure, one EC2 instance running all of application and its components SOLUTION By utilizing principles of AWS' well architected framework, we implemented following solution: i. Converted web product application to web based multi-tenant SaaS application ii. Used a managed service Elastic Container Service (ECS) instead of an EC2 to run Docker iii. Converted entire infrastructure into a code through Terraform
TECH STACK This solution used following tool, platforms, services and programming languages: i. Public cloud platform–AWS. Following services are prominently used: 1. Elastic Container Service 2. Lambda 3. API Gateway 4. CloudWatch Logs 5. Key Management Service ii. MongoDB Atlas – Global cloud database service for public cloud platform, fully managed. iii. Docker - Containers for Node.js and Python 6. Simple Storage Service iv. Programming languages – Node.js, Python Amazon Amazon ECS Amazon API Gateway Amazon LAMBDA Amazon CloudWatch Key Management Amazon S3 Solution Architecture
RESULTS Based on changes implemented as per AWS' well architected framework, customer gained following in addition to predefined goals: i. New customer on-boarding takes less than 4 hours as opposed to 3-5 days it used to take previously ii. Cost of infrastructure reduced by using multi-tenant model. Separate EC2 instances are not required for various customers. iii. Entire infrastructure can be recreated in less than an hour in an event of disaster, thus reducing disaster recovery time significantly iv. Lot of functions were converted to serverless using Lambda, reducing dependency on an EC2 instance. v. Configurations and other secrets are stored in Systems Manager Parameter Store and are encrypted using AES 128-bit encryption DEV OPS DevOps for your Business Containerize Your Workloads Harness The Power of Cloud Train your Team www.loves.cloud biz@loves.cloud /lovescloud Loves Loves Cloud @loves_cloud DevOps | Cloud | Containers | Serverless Product | Consulting | Training /lovescloud M