Community
This blog explores the architecture patterns for building resilient architecture on AWS Cloud. In the banking & insurance domain, challenges have been observed during design phase of application migration where applications needed either active-passive DR setup, active-active setup, phase wise migration for active-active setup, active-standby solutions in single DC and so on. Expectations from business varies around building application availability, scalability and fault tolerance depending on various use cases. And that is where building resilient architecture patterns plays a vital role during design phase.
Resilient architecture is the practice to design applications which are capable to operate without impacting end users, automatically/manually failover from failures, building recovery solutions in advance if system fails to perform, detecting faults and building distributed systems, scale in/out when needed etc. AWS cloud has broad set of services which supports both infrastructure and managed services to build resilient architecture on cloud.
In this blog, we’ll explore key resilient architecture patterns, how they are implemented on AWS, and a real-life use case demonstrating these concepts in action.
Let’s look at the effective patterns you can adopt for resilient design on AWS.
1. Application using single AZ deployment
If your application requirement is single AZ deployment which will also ensure availability in case of failure within hours of RTO/RPO then you can use
AWS Services:
Benefit: If instances fail, standby can become active and load balancing can redirect traffic automatically to a healthy environment or automating start of standby instance in the absence of LB will ensure environment availability within RTO/RPO window.
2. Application using Multi-AZ deployment & Multi region deployment
If your application requirement is deploying active-active setup within 2 DC in single region with RTO/RPO of 15 mins or multi-region, active-active setup with RTO/RPO nearly zero, then you can use
Benefit: If one AZ or region fails, traffic can be redirected automatically to a healthy environment.
A money transfer company with global customers wants to ensure its platform is highly available, scalable, and resilient with multi region deployment
Component
Pattern
AWS Service
Resilience Role
Web Layer
Auto scaling, Multi-AZ
EC2 + ALB + Auto scaling
Handles traffic surges and AZ failures
API Layer
Circuit Breaker + Graceful Degradation
API Gateway + Lambda + EventBridge + RDS
Reduces pressure on downstream services, distributed architecture
Batch Processing
Queue-based decoupling
S3 + Amazon SQS + Lambda + RDS
Ensure files are not lost even if downstream fails
Database
Multi-AZ + Multi Region +CRR data
Amazon RDS PostgreSQL
Provides automated failover, cross region data replication
Traffic routing
Automated failover
Route 53 + ALB
Failover Policies
Monitoring
Observability + Auto Recovery
CloudWatch+ SNS + Lambda + Systems Manager
Detects and recovery from anomalies
Application Migration
Phase wise migration
Route53
Percentage based routing
Change Requests
Code Deployment +Testing
API Gateway + EC2 + autoscaling in another subnet
1% traffic routing for testing new deployment
Outcomes:
Resilience architecture is achieved using best practices and design the architecture using broad sets of AWS services. Adopting resilient architecture patterns helps ensure your applications stay available, responsive, and scalable.
Resources
This content is provided by an external author without editing by Finextra. It expresses the views and opinions of the author.
Carlo R.W. De Meijer The Meyer Financial Services Advisory (MIFS) at MIFSA
30 September
Alex Malyshev CEO, Co-founder at SDK.finance, FinTech software provider
Erica Andersen Marketing at smartR AI
28 September
Anurag Mohapatra Director of Fraud Strategy and Marketing at NICE Actimize
26 September
Welcome to Finextra. We use cookies to help us to deliver our services. You may change your preferences at our Cookie Centre.
Please read our Privacy Policy.