Simplifying multi-tenancy with SaaS applications on AWS Fargate (SVS329)

Building a SaaS on AWS Fargate: Key Pillars for Customer Trust

1. Availability: Ensuring your software is available when customers need it

  • Isolation is key to minimize downtime impact
    • Container orchestration like Amazon ECS allows for versioned deployments and automatic rollbacks
    • Cellular architecture with multiple isolated cells to limit the impact of failures
    • Resource throttling and isolation at multiple levels (activity, compute, underlying resources)

2. Security: Keeping customer data secure

  • Microservices and container isolation provide security boundaries
    • Network isolation using VPC and security groups
    • Granular IAM roles per container/task to limit access
    • Tenant-scoped data access control using IAM conditions
  • Auditing and monitoring using tools like Amazon ECS FireLens

3. Agility: Delivering new features customers need

  • Reduce maintenance burden with AWS Fargate
    • Automatic OS and agent patching, no EC2 instance management
    • Use AWS CDK and pre-built patterns to speed up infrastructure setup
  • Leverage event-driven and asynchronous architectures to optimize costs

4. Cost Optimization: Ensuring your business remains viable long-term

  • Monitor tenant-level resource consumption and pricing
  • Leverage AWS Fargate pricing models like Spot instances for cost savings
  • Consider asynchronous, batch-oriented workloads to reduce always-on costs

Key takeaways:

  • Isolation and compartmentalization are critical for building highly available and secure SaaS systems
  • Reduce operational overhead with AWS Fargate to enable faster feature development
  • Closely monitor resource consumption and leverage cost-saving strategies to maintain business viability

Your Digital Journey deserves a great story.

Build one with us.

Cookies Icon

These cookies are used to collect information about how you interact with this website and allow us to remember you. We use this information to improve and customize your browsing experience, as well as for analytics.

If you decline, your information won’t be tracked when you visit this website. A single cookie will be used in your browser to remember your preference.

Talk to us