SlideShare a Scribd company logo
1 of 30
Download to read offline
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
10/11/2021
Modernize Your Applications using
RDS for PostgreSQL, Amazon MemoryDB,
and Containers
Krishna Sarabu
Sr. PostgreSQL Specialist SA
Vijay Injam
Sr. ElasiCahe Specialist SA
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Agenda
• Characteristics of Modern Applications
• Monolith to Microservices
• Microservices Architecture
• Components
• Features
• Scalability
• Performance
• Agility
• Demo
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Characteristics of Modern
Applications
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Modern application requirements
Requires more performance, scale, and availability
Users 1M+
Data volume Terabytes—petabytes
Locality Global
Performance Microsecond latency
Request rate Millions per second
Access Mobile, IoT, devices
Scale Virtually unlimited
Economics Pay as you go
Developer access Instance API access
Development Apps and storage are
decoupled
Online
gaming
Social
media
Media
streaming
E-commerce Shared economy
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Monolith to Microservices
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
App architectures & patterns have evolved
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Monolith
Monolith
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Traditional Three-Tier Architecture
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Limitations of Monolith Approach
Hard to Scale Can’t Handle
Component
Failures
Limited
options
Slow
Deployment
Process
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Concepts - Microservices
Completely
independent
Microservices
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Reference Level Architectural Components
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Build a modern Retail website
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Build a modern Retail website
c
Register Product Order
Product Service
(Microservice -3)
Cart Service
(Microservice -4)
Order Service
(Microservice -5)
User Service
(Microservice -2)
Cart
UI Service
(Microservice -1)
Fraud Service
(Microservice -7)
Alerting and monitoring Service
(Microservice -6)
c
c
Retail Website
Operational
Business Logic
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Architectural Components for retail website
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Services for Microservices
Architecture
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon EKS
• Kubernetes is an open source container orchestration
• Enables you to run containers at scale
• An API driven tool that reconciles the state of the cluster against
declarative state
• Data Plane (EC2, Managed Node Groups, and Fargate)
• Load Balancing (CLB/NLB Service Load Balancer and ALB Ingress
Controller)
• Storage (EBS and EFS CSI Drivers)
• Autoscaling (Cluster Autoscaler, Horizontal Pod Autoscaler, and Vertical
Pod Autoscaler)
• CI/CD
• Managing Clusters at Scale with GitOps
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
MemoryDB
• Durable In-memory database service
• Purpose-built for modern applications with microservices
architectures
• Multi-key atomic operations
• Redis open source API
• Supports data structures like :
Strings, Lists, Sets, Sorted Sets, Hash Tables,
HyperLogLog, Geospatial, and Streams
• Supports Multi-AZ in a region
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon RDS PostgreSQL
• Fully Managed service
• Open Source PostgreSQL compatibility
• Supported extensions like:
• PostGIS, Hstore, pglogical, etc.
• Scale compute and storage with ease
• High Availability and Durability
• Highly Secure
• KMS (Encrypt at rest, Encrypt in transit)
• IAM
• Kerberos
• Native JSON, Native Arrays support
• Read Replicas for read intensive workload horizontal scaling
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Scaling
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
EKS Scaling
• Scale Cluster with Cluster AutoScaler
• Scale Applications with Horizontal Pod AutoScaler
• Scale Applications with Vertical Pod AutoScaler
• Supports Elastic Load Balancing including including CLB, ALB and NLB
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
MemoryDB - Scaling
Feature Cluster
Node Scale Up to 500 nodes, 1 primary and 0–5 replicas per shard
Storage 100TB
Online Scaling Shards, primary nodes and read replicas
Scaling Operation
Cluster Resizing (zero-downtime)
• Horizontal Scaling to add/remove shards
• Read Scalability to add/remove replicas
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
RDS PostgreSQL Scaling
• Push button, RDS API for scale compute and memory resources.
• Storage Autoscaling
• Provision additional storage on-the-fly with zero downtime
• Scale the throughput by specifying the IOPS rate
• 1,000 IOPS to 80,000 IOPS in 1,000 IOPS increments and storage from 100 GB and 64TB.
• Read Replicas for read intensive workloads with Horizontal Scaling
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Performance
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
MemoryDB – Performance
Latency: Extremely low, microsecond to millisecond responses
Request Rate: Thousands to millions of reads and/or writes
per second
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Agility
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
EKS - Agility
• Easier to automate and scale container-based workloads for live
production environments.
• Reconciles the state of the object against declarative state.
• CI/CD integration for quick build, test and deployment.
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Demo
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Demo Architecture
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Q&A
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Thank you!

More Related Content

Similar to Modernize Apps with RDS PostgreSQL, MemoryDB & Containers

Introduction to Serverless computing and AWS Lambda | AWS Floor28
Introduction to Serverless computing and AWS Lambda | AWS Floor28Introduction to Serverless computing and AWS Lambda | AWS Floor28
Introduction to Serverless computing and AWS Lambda | AWS Floor28Amazon Web Services
 
AWSome Day Online Conference 2018 - Module 2
AWSome Day Online Conference 2018 -  Module 2AWSome Day Online Conference 2018 -  Module 2
AWSome Day Online Conference 2018 - Module 2Amazon Web Services
 
Scale Your IoT Platform, Ensure Your Connected Devices Perform - DEM07 - Chic...
Scale Your IoT Platform, Ensure Your Connected Devices Perform - DEM07 - Chic...Scale Your IoT Platform, Ensure Your Connected Devices Perform - DEM07 - Chic...
Scale Your IoT Platform, Ensure Your Connected Devices Perform - DEM07 - Chic...Amazon Web Services
 
News from re:Invent 2019
News from re:Invent 2019News from re:Invent 2019
News from re:Invent 2019Vladimir Simek
 
Java Developer on AWS 在AWS上開發Java應用
Java Developer on AWS 在AWS上開發Java應用Java Developer on AWS 在AWS上開發Java應用
Java Developer on AWS 在AWS上開發Java應用Amazon Web Services
 
From Mainframe to Microservices: Vanguard’s Move to the Cloud - ENT331 - re:I...
From Mainframe to Microservices: Vanguard’s Move to the Cloud - ENT331 - re:I...From Mainframe to Microservices: Vanguard’s Move to the Cloud - ENT331 - re:I...
From Mainframe to Microservices: Vanguard’s Move to the Cloud - ENT331 - re:I...Amazon Web Services
 
Building Modern Applications on AWS.pptx
Building Modern Applications on AWS.pptxBuilding Modern Applications on AWS.pptx
Building Modern Applications on AWS.pptxNelson Kimathi
 
AWS Tech Talks: Armazenamento Híbrido na Nuvem
AWS Tech Talks: Armazenamento Híbrido na NuvemAWS Tech Talks: Armazenamento Híbrido na Nuvem
AWS Tech Talks: Armazenamento Híbrido na NuvemAmazon Web Services LATAM
 
WIN301-Migrating Microsoft SQL Server Databases to AWS-Best Practices and Pat...
WIN301-Migrating Microsoft SQL Server Databases to AWS-Best Practices and Pat...WIN301-Migrating Microsoft SQL Server Databases to AWS-Best Practices and Pat...
WIN301-Migrating Microsoft SQL Server Databases to AWS-Best Practices and Pat...Amazon Web Services
 
Migrating Microsoft SQL Server Databases to AWS – Best Practices and Patterns...
Migrating Microsoft SQL Server Databases to AWS – Best Practices and Patterns...Migrating Microsoft SQL Server Databases to AWS – Best Practices and Patterns...
Migrating Microsoft SQL Server Databases to AWS – Best Practices and Patterns...Amazon Web Services
 
利用 Fargate - 無伺服器的容器環境建置高可用的系統
利用 Fargate - 無伺服器的容器環境建置高可用的系統利用 Fargate - 無伺服器的容器環境建置高可用的系統
利用 Fargate - 無伺服器的容器環境建置高可用的系統Amazon Web Services
 
[REPEAT 1] Executing a Large-Scale Migration to AWS (ENT205-R1) - AWS re:Inve...
[REPEAT 1] Executing a Large-Scale Migration to AWS (ENT205-R1) - AWS re:Inve...[REPEAT 1] Executing a Large-Scale Migration to AWS (ENT205-R1) - AWS re:Inve...
[REPEAT 1] Executing a Large-Scale Migration to AWS (ENT205-R1) - AWS re:Inve...Amazon Web Services
 
Hands-On Building and Deploying .NET Applications on AWS (DEV331-R1) - AWS re...
Hands-On Building and Deploying .NET Applications on AWS (DEV331-R1) - AWS re...Hands-On Building and Deploying .NET Applications on AWS (DEV331-R1) - AWS re...
Hands-On Building and Deploying .NET Applications on AWS (DEV331-R1) - AWS re...Amazon Web Services
 
Data Design for Microservices - DevDay Austin 2017 Day 2
Data Design for Microservices - DevDay Austin 2017 Day 2Data Design for Microservices - DevDay Austin 2017 Day 2
Data Design for Microservices - DevDay Austin 2017 Day 2Amazon Web Services
 
PaaS – From Code to Running Application using AWS Elastic Beanstalk (DEV323) ...
PaaS – From Code to Running Application using AWS Elastic Beanstalk (DEV323) ...PaaS – From Code to Running Application using AWS Elastic Beanstalk (DEV323) ...
PaaS – From Code to Running Application using AWS Elastic Beanstalk (DEV323) ...Amazon Web Services
 

Similar to Modernize Apps with RDS PostgreSQL, MemoryDB & Containers (20)

Introduction to Serverless computing and AWS Lambda | AWS Floor28
Introduction to Serverless computing and AWS Lambda | AWS Floor28Introduction to Serverless computing and AWS Lambda | AWS Floor28
Introduction to Serverless computing and AWS Lambda | AWS Floor28
 
AWSome Day Online Conference 2018 - Module 2
AWSome Day Online Conference 2018 -  Module 2AWSome Day Online Conference 2018 -  Module 2
AWSome Day Online Conference 2018 - Module 2
 
AWS Containers Day.pdf
AWS Containers Day.pdfAWS Containers Day.pdf
AWS Containers Day.pdf
 
Scale Your IoT Platform, Ensure Your Connected Devices Perform - DEM07 - Chic...
Scale Your IoT Platform, Ensure Your Connected Devices Perform - DEM07 - Chic...Scale Your IoT Platform, Ensure Your Connected Devices Perform - DEM07 - Chic...
Scale Your IoT Platform, Ensure Your Connected Devices Perform - DEM07 - Chic...
 
News from re:Invent 2019
News from re:Invent 2019News from re:Invent 2019
News from re:Invent 2019
 
Java Developer on AWS 在AWS上開發Java應用
Java Developer on AWS 在AWS上開發Java應用Java Developer on AWS 在AWS上開發Java應用
Java Developer on AWS 在AWS上開發Java應用
 
Java-Developer-on-AWS
Java-Developer-on-AWSJava-Developer-on-AWS
Java-Developer-on-AWS
 
From Mainframe to Microservices: Vanguard’s Move to the Cloud - ENT331 - re:I...
From Mainframe to Microservices: Vanguard’s Move to the Cloud - ENT331 - re:I...From Mainframe to Microservices: Vanguard’s Move to the Cloud - ENT331 - re:I...
From Mainframe to Microservices: Vanguard’s Move to the Cloud - ENT331 - re:I...
 
Building Modern Applications on AWS.pptx
Building Modern Applications on AWS.pptxBuilding Modern Applications on AWS.pptx
Building Modern Applications on AWS.pptx
 
AWS Tech Talks: Armazenamento Híbrido na Nuvem
AWS Tech Talks: Armazenamento Híbrido na NuvemAWS Tech Talks: Armazenamento Híbrido na Nuvem
AWS Tech Talks: Armazenamento Híbrido na Nuvem
 
Managed NoSQL databases
Managed NoSQL databasesManaged NoSQL databases
Managed NoSQL databases
 
ARC205_Born in the Cloud
ARC205_Born in the CloudARC205_Born in the Cloud
ARC205_Born in the Cloud
 
WIN301-Migrating Microsoft SQL Server Databases to AWS-Best Practices and Pat...
WIN301-Migrating Microsoft SQL Server Databases to AWS-Best Practices and Pat...WIN301-Migrating Microsoft SQL Server Databases to AWS-Best Practices and Pat...
WIN301-Migrating Microsoft SQL Server Databases to AWS-Best Practices and Pat...
 
Migrating Microsoft SQL Server Databases to AWS – Best Practices and Patterns...
Migrating Microsoft SQL Server Databases to AWS – Best Practices and Patterns...Migrating Microsoft SQL Server Databases to AWS – Best Practices and Patterns...
Migrating Microsoft SQL Server Databases to AWS – Best Practices and Patterns...
 
利用 Fargate - 無伺服器的容器環境建置高可用的系統
利用 Fargate - 無伺服器的容器環境建置高可用的系統利用 Fargate - 無伺服器的容器環境建置高可用的系統
利用 Fargate - 無伺服器的容器環境建置高可用的系統
 
[REPEAT 1] Executing a Large-Scale Migration to AWS (ENT205-R1) - AWS re:Inve...
[REPEAT 1] Executing a Large-Scale Migration to AWS (ENT205-R1) - AWS re:Inve...[REPEAT 1] Executing a Large-Scale Migration to AWS (ENT205-R1) - AWS re:Inve...
[REPEAT 1] Executing a Large-Scale Migration to AWS (ENT205-R1) - AWS re:Inve...
 
Hands-On Building and Deploying .NET Applications on AWS (DEV331-R1) - AWS re...
Hands-On Building and Deploying .NET Applications on AWS (DEV331-R1) - AWS re...Hands-On Building and Deploying .NET Applications on AWS (DEV331-R1) - AWS re...
Hands-On Building and Deploying .NET Applications on AWS (DEV331-R1) - AWS re...
 
AWS re:Invent recap
AWS re:Invent recapAWS re:Invent recap
AWS re:Invent recap
 
Data Design for Microservices - DevDay Austin 2017 Day 2
Data Design for Microservices - DevDay Austin 2017 Day 2Data Design for Microservices - DevDay Austin 2017 Day 2
Data Design for Microservices - DevDay Austin 2017 Day 2
 
PaaS – From Code to Running Application using AWS Elastic Beanstalk (DEV323) ...
PaaS – From Code to Running Application using AWS Elastic Beanstalk (DEV323) ...PaaS – From Code to Running Application using AWS Elastic Beanstalk (DEV323) ...
PaaS – From Code to Running Application using AWS Elastic Beanstalk (DEV323) ...
 

Recently uploaded

Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Velvetech LLC
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....kzayra69
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanyChristoph Pohl
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作qr0udbr0
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesŁukasz Chruściel
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...OnePlan Solutions
 

Recently uploaded (20)

Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New Features
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
 

Modernize Apps with RDS PostgreSQL, MemoryDB & Containers

  • 1. © 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 10/11/2021 Modernize Your Applications using RDS for PostgreSQL, Amazon MemoryDB, and Containers Krishna Sarabu Sr. PostgreSQL Specialist SA Vijay Injam Sr. ElasiCahe Specialist SA
  • 2. © 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Agenda • Characteristics of Modern Applications • Monolith to Microservices • Microservices Architecture • Components • Features • Scalability • Performance • Agility • Demo
  • 3. © 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Characteristics of Modern Applications
  • 4. © 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Modern application requirements Requires more performance, scale, and availability Users 1M+ Data volume Terabytes—petabytes Locality Global Performance Microsecond latency Request rate Millions per second Access Mobile, IoT, devices Scale Virtually unlimited Economics Pay as you go Developer access Instance API access Development Apps and storage are decoupled Online gaming Social media Media streaming E-commerce Shared economy
  • 5. © 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Monolith to Microservices
  • 6. © 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved. App architectures & patterns have evolved
  • 7. © 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Monolith Monolith
  • 8. © 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Traditional Three-Tier Architecture
  • 9. © 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Limitations of Monolith Approach Hard to Scale Can’t Handle Component Failures Limited options Slow Deployment Process
  • 10. © 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Concepts - Microservices Completely independent Microservices
  • 11. © 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Reference Level Architectural Components
  • 12. © 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Build a modern Retail website
  • 13. © 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Build a modern Retail website c Register Product Order Product Service (Microservice -3) Cart Service (Microservice -4) Order Service (Microservice -5) User Service (Microservice -2) Cart UI Service (Microservice -1) Fraud Service (Microservice -7) Alerting and monitoring Service (Microservice -6) c c Retail Website Operational Business Logic
  • 14. © 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Architectural Components for retail website
  • 15. © 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Services for Microservices Architecture
  • 16. © 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon EKS • Kubernetes is an open source container orchestration • Enables you to run containers at scale • An API driven tool that reconciles the state of the cluster against declarative state • Data Plane (EC2, Managed Node Groups, and Fargate) • Load Balancing (CLB/NLB Service Load Balancer and ALB Ingress Controller) • Storage (EBS and EFS CSI Drivers) • Autoscaling (Cluster Autoscaler, Horizontal Pod Autoscaler, and Vertical Pod Autoscaler) • CI/CD • Managing Clusters at Scale with GitOps
  • 17. © 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved. MemoryDB • Durable In-memory database service • Purpose-built for modern applications with microservices architectures • Multi-key atomic operations • Redis open source API • Supports data structures like : Strings, Lists, Sets, Sorted Sets, Hash Tables, HyperLogLog, Geospatial, and Streams • Supports Multi-AZ in a region
  • 18. © 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon RDS PostgreSQL • Fully Managed service • Open Source PostgreSQL compatibility • Supported extensions like: • PostGIS, Hstore, pglogical, etc. • Scale compute and storage with ease • High Availability and Durability • Highly Secure • KMS (Encrypt at rest, Encrypt in transit) • IAM • Kerberos • Native JSON, Native Arrays support • Read Replicas for read intensive workload horizontal scaling
  • 19. © 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Scaling
  • 20. © 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved. EKS Scaling • Scale Cluster with Cluster AutoScaler • Scale Applications with Horizontal Pod AutoScaler • Scale Applications with Vertical Pod AutoScaler • Supports Elastic Load Balancing including including CLB, ALB and NLB
  • 21. © 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved. MemoryDB - Scaling Feature Cluster Node Scale Up to 500 nodes, 1 primary and 0–5 replicas per shard Storage 100TB Online Scaling Shards, primary nodes and read replicas Scaling Operation Cluster Resizing (zero-downtime) • Horizontal Scaling to add/remove shards • Read Scalability to add/remove replicas
  • 22. © 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved. RDS PostgreSQL Scaling • Push button, RDS API for scale compute and memory resources. • Storage Autoscaling • Provision additional storage on-the-fly with zero downtime • Scale the throughput by specifying the IOPS rate • 1,000 IOPS to 80,000 IOPS in 1,000 IOPS increments and storage from 100 GB and 64TB. • Read Replicas for read intensive workloads with Horizontal Scaling
  • 23. © 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Performance
  • 24. © 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved. MemoryDB – Performance Latency: Extremely low, microsecond to millisecond responses Request Rate: Thousands to millions of reads and/or writes per second
  • 25. © 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Agility
  • 26. © 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved. EKS - Agility • Easier to automate and scale container-based workloads for live production environments. • Reconciles the state of the object against declarative state. • CI/CD integration for quick build, test and deployment.
  • 27. © 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Demo
  • 28. © 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Demo Architecture
  • 29. © 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Q&A
  • 30. © 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Thank you!