SlideShare uma empresa Scribd logo
1 de 84
Running Databaseswith AWS Attila Narin	AWS Solutions Architecture, EMEA
Initial Setup and ChoicesBackups and RestoreMonitoringSecurityEnhanced ReliabilityExpansion and ScalingNon-Relational DBS
[[ console screenshot ]] Database AMIs
managed and simple to deploy relational database
How do I backupmy database?
[[ console screenshot ]] RDS automated backups
[[ console screenshot ]] RDS DB snapshots
How do I restore my database from backup?
[[ console screenshot ]]restore EBS from snapshot
[[ console screenshot ]] RDS DB snapshots
[[ console screenshot ]]RDS snapshot restore
How do I monitormy database?
How do I protectmy database?
Connect to your  database using SSL mysql -h db.rds-eu-west-1.amazonaws.com      --ssl_ca=cert-mysql-ssl-ca.pem
AWS Identity and Access Management(IAM) Create User Identities Assign and Manage Security Credentials Organize Users in Groups Centrally Control User Access Add Conditions to Permissions
Control user access to the AWS API
https://Your_AWS_Account_ID.signin.aws.amazon.com/console/ec2
Use multi-factor authentication for DBAs
How do I enhance reliability?
How do I grow my database storage?
rds-modify-db-instance mydbinstance--allocated-storage 1024
My app is growing!
#1 VerticalScaling
[[ console screenshot + diagram ]]Scale verticaly
rds-modify-db-instance mydbinstance--db-instance-class db.m1.large
HorizontalScaling for read-heavyapplications #2 (a.k.a Read-Only Slaves)
Use caches #3
#4 FunctionalPartitioning
HorizontalScaling forwrite-heavyapplications #5 (a.k.aSharding)
Do I really need a relational database?
Voldemort Riak HBase Redis Cassandra MongoDB Tokyo Cabinet CouchDB
Amazon SimpleDB Simplicity – no administration required Scalability – no-touch scaling in response to load Availability – fully indexed data stored redundantly Flexibility – schema-less data model
Domain
Item
Attributes
Values
Summary
DB on Amazon EC2, EBS, etc. - wide variety of database engines   - complete administrative control  Amazon RDS - native access to MySQL (Oracle 11g coming soon…)  - offload administrative/management  tasks to AWS  - scale compute and storage easily Amazon Simple DB ,[object Object]
Free Tier, many use cases may not cost anything
Very high availability and durability without 					maintenance window,[object Object]

Mais conteúdo relacionado

Mais procurados

VMware Overview
VMware OverviewVMware Overview
VMware OverviewMadhu Bala
 
Conoce Microsoft Azure (Español)
Conoce Microsoft Azure (Español)Conoce Microsoft Azure (Español)
Conoce Microsoft Azure (Español)WarNov Apps
 
VMware Esx Short Presentation
VMware Esx Short PresentationVMware Esx Short Presentation
VMware Esx Short PresentationBarcamp Cork
 
Azure IaaS Server Lifecycle Presentation
Azure IaaS Server Lifecycle PresentationAzure IaaS Server Lifecycle Presentation
Azure IaaS Server Lifecycle PresentationDaniel Toomey
 
Vsicm51 m01 course_intro_
Vsicm51 m01 course_intro_Vsicm51 m01 course_intro_
Vsicm51 m01 course_intro_Luan Truong Duc
 
Microsoft Azure - News - October 2014
Microsoft Azure - News - October 2014Microsoft Azure - News - October 2014
Microsoft Azure - News - October 2014Daniel Toomey
 
Develop Your Own Path On Microsoft Azure
Develop Your Own Path On Microsoft AzureDevelop Your Own Path On Microsoft Azure
Develop Your Own Path On Microsoft AzureWePlus Consultancy
 
UK WVD User Group January - Jim Moyle - BC/DR with WVD
UK WVD User Group January - Jim Moyle - BC/DR with WVDUK WVD User Group January - Jim Moyle - BC/DR with WVD
UK WVD User Group January - Jim Moyle - BC/DR with WVDNeil McLoughlin
 
Microsoft Azure News - 2019 April
Microsoft Azure News - 2019 AprilMicrosoft Azure News - 2019 April
Microsoft Azure News - 2019 AprilDaniel Toomey
 
What’s New in VMware vSphere 7?
What’s New in VMware vSphere 7?What’s New in VMware vSphere 7?
What’s New in VMware vSphere 7?Insight
 
Microsoft Azure News - 2019 May
Microsoft Azure News - 2019 MayMicrosoft Azure News - 2019 May
Microsoft Azure News - 2019 MayDaniel Toomey
 
Microsoft azure certification training course
Microsoft azure certification training courseMicrosoft azure certification training course
Microsoft azure certification training courseMallikaDumati
 
Microsoft Azure
Microsoft AzureMicrosoft Azure
Microsoft AzureSoumya De
 
48. Azure Active Directory - Part 1
48. Azure Active Directory - Part 148. Azure Active Directory - Part 1
48. Azure Active Directory - Part 1Shawn Ismail
 
Take the spaghetti out of windows azure – an insight for it pro techies part 2
Take the spaghetti out of windows azure – an insight for it pro techies part 2Take the spaghetti out of windows azure – an insight for it pro techies part 2
Take the spaghetti out of windows azure – an insight for it pro techies part 2Microsoft TechNet - Belgium and Luxembourg
 

Mais procurados (20)

VMware Overview
VMware OverviewVMware Overview
VMware Overview
 
VMware
VMwareVMware
VMware
 
Build cloud os in one day belgium
Build cloud os in one day   belgiumBuild cloud os in one day   belgium
Build cloud os in one day belgium
 
Conoce Microsoft Azure (Español)
Conoce Microsoft Azure (Español)Conoce Microsoft Azure (Español)
Conoce Microsoft Azure (Español)
 
VMware Esx Short Presentation
VMware Esx Short PresentationVMware Esx Short Presentation
VMware Esx Short Presentation
 
Momo Techtalks - Globant
Momo Techtalks - GlobantMomo Techtalks - Globant
Momo Techtalks - Globant
 
Azure IaaS Server Lifecycle Presentation
Azure IaaS Server Lifecycle PresentationAzure IaaS Server Lifecycle Presentation
Azure IaaS Server Lifecycle Presentation
 
Vsicm51 m01 course_intro_
Vsicm51 m01 course_intro_Vsicm51 m01 course_intro_
Vsicm51 m01 course_intro_
 
Microsoft Azure - News - October 2014
Microsoft Azure - News - October 2014Microsoft Azure - News - October 2014
Microsoft Azure - News - October 2014
 
Develop Your Own Path On Microsoft Azure
Develop Your Own Path On Microsoft AzureDevelop Your Own Path On Microsoft Azure
Develop Your Own Path On Microsoft Azure
 
UK WVD User Group January - Jim Moyle - BC/DR with WVD
UK WVD User Group January - Jim Moyle - BC/DR with WVDUK WVD User Group January - Jim Moyle - BC/DR with WVD
UK WVD User Group January - Jim Moyle - BC/DR with WVD
 
Microsoft Azure News - 2019 April
Microsoft Azure News - 2019 AprilMicrosoft Azure News - 2019 April
Microsoft Azure News - 2019 April
 
What’s New in VMware vSphere 7?
What’s New in VMware vSphere 7?What’s New in VMware vSphere 7?
What’s New in VMware vSphere 7?
 
Microsoft Azure News - 2019 May
Microsoft Azure News - 2019 MayMicrosoft Azure News - 2019 May
Microsoft Azure News - 2019 May
 
Microsoft azure certification training course
Microsoft azure certification training courseMicrosoft azure certification training course
Microsoft azure certification training course
 
Microsoft Azure
Microsoft AzureMicrosoft Azure
Microsoft Azure
 
VMWARE ESX
VMWARE ESXVMWARE ESX
VMWARE ESX
 
48. Azure Active Directory - Part 1
48. Azure Active Directory - Part 148. Azure Active Directory - Part 1
48. Azure Active Directory - Part 1
 
Take the spaghetti out of windows azure – an insight for it pro techies part 2
Take the spaghetti out of windows azure – an insight for it pro techies part 2Take the spaghetti out of windows azure – an insight for it pro techies part 2
Take the spaghetti out of windows azure – an insight for it pro techies part 2
 
Vmware vsphere Training
Vmware vsphere TrainingVmware vsphere Training
Vmware vsphere Training
 

Destaque

AWS Summit 2011: Data Storage Solutions in the AWS Cloud
AWS Summit 2011: Data Storage Solutions in the AWS CloudAWS Summit 2011: Data Storage Solutions in the AWS Cloud
AWS Summit 2011: Data Storage Solutions in the AWS CloudAmazon Web Services
 
Architecting for the Cloud: Demo and Best Practicses - Janakiram MSV
Architecting for the Cloud: Demo and Best Practicses - Janakiram MSVArchitecting for the Cloud: Demo and Best Practicses - Janakiram MSV
Architecting for the Cloud: Demo and Best Practicses - Janakiram MSVAmazon Web Services
 
AWS Customer Presentation - kikin
AWS Customer Presentation -  kikinAWS Customer Presentation -  kikin
AWS Customer Presentation - kikinAmazon Web Services
 
AWS 101 business seminar in Taipei
AWS 101 business seminar in TaipeiAWS 101 business seminar in Taipei
AWS 101 business seminar in TaipeiAmazon Web Services
 
AWS Office Hours: Amazon Elastic MapReduce
AWS Office Hours: Amazon Elastic MapReduce AWS Office Hours: Amazon Elastic MapReduce
AWS Office Hours: Amazon Elastic MapReduce Amazon Web Services
 
(SOV202) Choosing Among AWS Managed Database Services | AWS re:Invent 2014
(SOV202) Choosing Among AWS Managed Database Services | AWS re:Invent 2014(SOV202) Choosing Among AWS Managed Database Services | AWS re:Invent 2014
(SOV202) Choosing Among AWS Managed Database Services | AWS re:Invent 2014Amazon Web Services
 
Tokyo Cabinet & Tokyo Tyrant
Tokyo Cabinet & Tokyo TyrantTokyo Cabinet & Tokyo Tyrant
Tokyo Cabinet & Tokyo Tyrant輝 子安
 
(DAT202) Managed Database Options on AWS
(DAT202) Managed Database Options on AWS(DAT202) Managed Database Options on AWS
(DAT202) Managed Database Options on AWSAmazon Web Services
 
(CMP201) All You Need To Know About Auto Scaling
(CMP201) All You Need To Know About Auto Scaling(CMP201) All You Need To Know About Auto Scaling
(CMP201) All You Need To Know About Auto ScalingAmazon Web Services
 
All you need to know about Auto scaling - Pop-up Loft
All you need to know about Auto scaling - Pop-up LoftAll you need to know about Auto scaling - Pop-up Loft
All you need to know about Auto scaling - Pop-up LoftAmazon Web Services
 
ARC201 Microservices Architecture @ AWS re:Invent 2015
ARC201 Microservices Architecture @ AWS re:Invent 2015ARC201 Microservices Architecture @ AWS re:Invent 2015
ARC201 Microservices Architecture @ AWS re:Invent 2015Mitoc Group
 

Destaque (14)

AWS Summit 2011: Data Storage Solutions in the AWS Cloud
AWS Summit 2011: Data Storage Solutions in the AWS CloudAWS Summit 2011: Data Storage Solutions in the AWS Cloud
AWS Summit 2011: Data Storage Solutions in the AWS Cloud
 
Running databases on AWS
Running databases on AWSRunning databases on AWS
Running databases on AWS
 
Architecting for the Cloud: Demo and Best Practicses - Janakiram MSV
Architecting for the Cloud: Demo and Best Practicses - Janakiram MSVArchitecting for the Cloud: Demo and Best Practicses - Janakiram MSV
Architecting for the Cloud: Demo and Best Practicses - Janakiram MSV
 
What's New at AWS - March 2011
What's New at AWS - March 2011What's New at AWS - March 2011
What's New at AWS - March 2011
 
AWS Customer Presentation - kikin
AWS Customer Presentation -  kikinAWS Customer Presentation -  kikin
AWS Customer Presentation - kikin
 
AWS 101 business seminar in Taipei
AWS 101 business seminar in TaipeiAWS 101 business seminar in Taipei
AWS 101 business seminar in Taipei
 
AWS Office Hours: Amazon Elastic MapReduce
AWS Office Hours: Amazon Elastic MapReduce AWS Office Hours: Amazon Elastic MapReduce
AWS Office Hours: Amazon Elastic MapReduce
 
(SOV202) Choosing Among AWS Managed Database Services | AWS re:Invent 2014
(SOV202) Choosing Among AWS Managed Database Services | AWS re:Invent 2014(SOV202) Choosing Among AWS Managed Database Services | AWS re:Invent 2014
(SOV202) Choosing Among AWS Managed Database Services | AWS re:Invent 2014
 
Tokyo Cabinet & Tokyo Tyrant
Tokyo Cabinet & Tokyo TyrantTokyo Cabinet & Tokyo Tyrant
Tokyo Cabinet & Tokyo Tyrant
 
(DAT202) Managed Database Options on AWS
(DAT202) Managed Database Options on AWS(DAT202) Managed Database Options on AWS
(DAT202) Managed Database Options on AWS
 
(CMP201) All You Need To Know About Auto Scaling
(CMP201) All You Need To Know About Auto Scaling(CMP201) All You Need To Know About Auto Scaling
(CMP201) All You Need To Know About Auto Scaling
 
All you need to know about Auto scaling - Pop-up Loft
All you need to know about Auto scaling - Pop-up LoftAll you need to know about Auto scaling - Pop-up Loft
All you need to know about Auto scaling - Pop-up Loft
 
Deep Dive on Amazon Redshift
Deep Dive on Amazon RedshiftDeep Dive on Amazon Redshift
Deep Dive on Amazon Redshift
 
ARC201 Microservices Architecture @ AWS re:Invent 2015
ARC201 Microservices Architecture @ AWS re:Invent 2015ARC201 Microservices Architecture @ AWS re:Invent 2015
ARC201 Microservices Architecture @ AWS re:Invent 2015
 

Semelhante a Running Databases with AWS - Setup, Monitoring, Security, Scaling and Non-Relational Options

AWS re:Invent 2016: Managing and Supporting the Windows Platform on AWS (GPSS...
AWS re:Invent 2016: Managing and Supporting the Windows Platform on AWS (GPSS...AWS re:Invent 2016: Managing and Supporting the Windows Platform on AWS (GPSS...
AWS re:Invent 2016: Managing and Supporting the Windows Platform on AWS (GPSS...Amazon Web Services
 
Best Practices for Security at Scale
Best Practices for Security at Scale Best Practices for Security at Scale
Best Practices for Security at Scale Amazon Web Services
 
Aws meetup ssm
Aws meetup ssmAws meetup ssm
Aws meetup ssmAdam Book
 
Cloud Workshop - Presentation
Cloud Workshop - PresentationCloud Workshop - Presentation
Cloud Workshop - PresentationNAILBITER
 
Security Best Practices
Security Best PracticesSecurity Best Practices
Security Best PracticesIan Massingham
 
Security Best Practices: AWS AWSome Day Management Track
Security Best Practices: AWS AWSome Day Management TrackSecurity Best Practices: AWS AWSome Day Management Track
Security Best Practices: AWS AWSome Day Management TrackIan Massingham
 
Best Practices for Security at Scale
Best Practices for Security at ScaleBest Practices for Security at Scale
Best Practices for Security at ScaleAmazon Web Services
 
Aws principle services: IAM,VPC, EC2, Cloudwatch
Aws principle services: IAM,VPC, EC2, CloudwatchAws principle services: IAM,VPC, EC2, Cloudwatch
Aws principle services: IAM,VPC, EC2, Cloudwatchsawsan slii
 
CSS 17: NYC - The AWS Shared Responsibility Model in Practice
CSS 17: NYC - The AWS Shared Responsibility Model in PracticeCSS 17: NYC - The AWS Shared Responsibility Model in Practice
CSS 17: NYC - The AWS Shared Responsibility Model in PracticeAlert Logic
 

Semelhante a Running Databases with AWS - Setup, Monitoring, Security, Scaling and Non-Relational Options (20)

AWS re:Invent 2016: Managing and Supporting the Windows Platform on AWS (GPSS...
AWS re:Invent 2016: Managing and Supporting the Windows Platform on AWS (GPSS...AWS re:Invent 2016: Managing and Supporting the Windows Platform on AWS (GPSS...
AWS re:Invent 2016: Managing and Supporting the Windows Platform on AWS (GPSS...
 
AWS Migration Day - Windows Workloads
AWS Migration Day - Windows WorkloadsAWS Migration Day - Windows Workloads
AWS Migration Day - Windows Workloads
 
Security Best Practices
Security Best PracticesSecurity Best Practices
Security Best Practices
 
Best Practices for Security at Scale
Best Practices for Security at Scale Best Practices for Security at Scale
Best Practices for Security at Scale
 
Deep Dive: Amazon RDS
Deep Dive: Amazon RDSDeep Dive: Amazon RDS
Deep Dive: Amazon RDS
 
Srikanth aws
Srikanth awsSrikanth aws
Srikanth aws
 
Intro to AWS Security
Intro to AWS SecurityIntro to AWS Security
Intro to AWS Security
 
Aws meetup ssm
Aws meetup ssmAws meetup ssm
Aws meetup ssm
 
Security & Compliance (Part 1)
Security & Compliance (Part 1)Security & Compliance (Part 1)
Security & Compliance (Part 1)
 
Cloud Workshop - Presentation
Cloud Workshop - PresentationCloud Workshop - Presentation
Cloud Workshop - Presentation
 
Security Best Practices
Security Best PracticesSecurity Best Practices
Security Best Practices
 
Security Best Practices
Security Best PracticesSecurity Best Practices
Security Best Practices
 
Security Best Practices: AWS AWSome Day Management Track
Security Best Practices: AWS AWSome Day Management TrackSecurity Best Practices: AWS AWSome Day Management Track
Security Best Practices: AWS AWSome Day Management Track
 
Security Best Practices
Security Best PracticesSecurity Best Practices
Security Best Practices
 
Day2
Day2Day2
Day2
 
Security best practices
Security best practices Security best practices
Security best practices
 
AWS _Course Content.pdf
AWS _Course Content.pdfAWS _Course Content.pdf
AWS _Course Content.pdf
 
Best Practices for Security at Scale
Best Practices for Security at ScaleBest Practices for Security at Scale
Best Practices for Security at Scale
 
Aws principle services: IAM,VPC, EC2, Cloudwatch
Aws principle services: IAM,VPC, EC2, CloudwatchAws principle services: IAM,VPC, EC2, Cloudwatch
Aws principle services: IAM,VPC, EC2, Cloudwatch
 
CSS 17: NYC - The AWS Shared Responsibility Model in Practice
CSS 17: NYC - The AWS Shared Responsibility Model in PracticeCSS 17: NYC - The AWS Shared Responsibility Model in Practice
CSS 17: NYC - The AWS Shared Responsibility Model in Practice
 

Mais de Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Amazon Web Services
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Amazon Web Services
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Amazon Web Services
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Amazon Web Services
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...Amazon Web Services
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsAmazon Web Services
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareAmazon Web Services
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSAmazon Web Services
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAmazon Web Services
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareAmazon Web Services
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWSAmazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon Web Services
 

Mais de Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Último

08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 

Último (20)

08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 

Running Databases with AWS - Setup, Monitoring, Security, Scaling and Non-Relational Options

Notas do Editor

  1. What we’ll talk about…
  2. Open the discussion: when building a system, we generally focus on application code and maintenance, but databases deserve a special focus as well.Few developers understand databases well, few teams have a dedicated DBA.They are here since a lot of time and projects teams focus more on app/web layer, hiding the DB behind persistence frameworks. (devs isolated from the DB).From the app point of view, the DB is a black bow that answers to SQL queries.Still, maintaining a DB present several challenges, and we're going to see how typical DB-admin scenarios can be handled in AWS.data is central to your application.data should be available, fault tolerant, scalable.AWS is the perfect platform for this, it's there when you need it, it can grow to suit your needs, and allows you to be fault tolerant.
  3. Let's get started: here is a classic 3-tier application that all of us know, with web-servers, app-servers, and databases…If you want to install your relational DB with EC2, you start an instance, attach an EBS volume and install your DB service .Matt already showed you how to do this ..simple: start an instance, attach an EBS volume, install your favorite DB service, you're good to go
  4. Sometimes, you don't even have to install the DB server yourself, there's a lot of pre-packaged AMIs for most of the DBs
  5. it's all about "removing the muck"  -- Matt Wood ;)Compare
  6. or, you can also create a database server with RDS.RDS is a managed MySQL server
  7. The first problem you need to solve when running a production database is …
  8. EC2+EBS+RDBMS = Do It YourselfQuickly explain how snapshots work.Stored in S3 for high durability.Incremental snapshots.To snapshot a DB, don't forget to freeze the filesystem ..Can be automated with API/CLI
  9. RDS special featureTalk about the backup window: 30 minutes (but backup time lower than 30 minutes)Can be disabled.
  10. RDS takes care automatically of freezing the DB filesystem
  11. RDS keeps snapshots until you delete them
  12. Same mechanism as automated backups, snapshots are triggered by the user/DBARDS keeps snapshots until you delete them
  13. Can be automated using API / CLIYou have to maintain your snapshots and schedule backups manually
  14. RDS keeps snapshots until you delete them
  15. Test and prod environments can be twins !!It's easy to create test environmentsDuring dev, create a test environment based on real dataNoticed how easy it is to create a server from snapshots / backups ? You can use this to create test/dev servers too !Differences between development and production environments can cause failure when promoting one to the other. Something as little as different instance sizes, for instance, can cause issue
  16. Because the DB can be the bottleneck of your application, you need to keep an eye on it.You also want to avoid outages due to rookie mistakes (disk full) and be the first informed when your DB performance is degraded .
  17. CloudWatch !but you're free to use Nagios/Cacti/…
  18. RDS monitoring gives you more metricsYou can create an alarm that sends an email when a specific value cross goes beyond or below a threshold value
  19. Btw, if you need to access your DB from outside AWS datacentre, you can connect to your RDS instance using SSL …Public key can be downloaded from AWS
  20. Create a SG for databases that can only be accessed by app servers (=source)Security groups act as a firewall around a group of instances and allows you to control access to your [DB] Instances.
  21. You can authorize specific IP address ranges or specific EC2 security groups
  22. use a bastion hostCan be launched by CLIYou open a maintenance door to your realm only when needed
  23. Bastion host can be terminated or stopped
  24. Only enable certain users to be able to delete DB instances, etc. + show MFACreate User Identities - Add Users (unique identities that can interact with AWS services) to your AWS account. A User can be an individual, a system, or an application with a need to access AWS services.Assign and Manage Security Credentials - Assign security credentials such as access keys to each User, with the ability to rotate or revoke these credentials as needed.Organize Users in Groups - Create IAM Groups to simplify the management of permissions for multiple Users.Centrally Control User Access - Control the operations that each User can perform, including access to APIs for specific AWS Services and resources.Add Conditions to Permissions - Use conditions such as time of day, source IP address, or protocol (e.g. SSL) to control how and when a User can access AWS.View a Single AWS Bill - Receive a single bill which represents the activity of all of the Users within a single AWS account.The bottom line is that IAM allows you to control user acces to AWS API
  25. IAM also allows you to give console access to some of your users (developers, etc.)
  26. IAM also allows you to give console access to some of your users (developers, etc.)
  27. What happens if someone steals the DBA password?There are different mitigation techniques like key rotation, etc. but the best one is …
  28. Signing up is easy, you purchase a device from gemalto ($13) and you register in AWS
  29. Reliability of my databaseMulti-AZ
  30. Talk about AZs + sync replication+ failover + maintenance, backup, etcWhen you select this option, Amazon automatically provisions and maintains a synchronous standby replica in a different Availability Zone.The primary DB Instance is synchronously replicated across Availability Zones to the standby replica to provide data redundancy.Note that you can't use the standby for read/write.
  31. In the event of a planned or unplanned outage of your primary DB Instance, Amazon RDS automatically switches to the standby replica. The automatic failover mechanism simply changes the canonical name record (CNAME) of the main DB Instance to point to the standby DB Instance
  32. Keep in mind that multi-AZ deployments are not a scaling solution for reads and do not allow you to use the standby replica to serve read traffic.
  33. Snapshot your existing volumeCreate a new volume from the snapshotShutdown your databaseUnmount the old volumeMount new volumeRestart your databaseCan be scripted but drawback is downtime
  34. You can change the type size of a DB instance in a matter of minutes, so avoid spending too much time on figuring out what is the best size for you … do some real tests !Without downtime
  35. Allocated storage in Gb
  36. At some point, a growing application just gets bigger than the architecture can support."There is no silver bullet" -> devs will understand this !
  37. Start with the easy solution: on the "real world", you by faster hardware. Here, you use larger instance types
  38. It's easy to start bigger instances: stop instance, start with largerMount ???
  39. You can change the type size of a DB instance in a matter of minutes, so avoid spending too much time on figuring out what is the best size for you … do some real tests !
  40. Lots of reads ?
  41. A master-slave replicated cluster is a set of multiple databases that sync data in a single direction. The master database is the custodian of all data, and is the one you write to: inserts, deletes, and updates. The slave database replicates data from the master, and holds a copy of it. This is the one you read from: select statements. This separation frees up resources on the master, which is often cpu bound, and allows you to make joins again without killing overall performance, since the slave handles the operation, not the master.RDS-RR uses the MySQL async replication system.+ transparent app integration (proxy, JDBC drivers, …)+ different sizes for RR + "autoscale" RRBut, if replication lag too big, your app must be aware of this –avoid read-after-write
  42. Some people fear RRs because they think of clusters and operational cost and management complexity…But in AWS, easy to setup (RDS – RR)
  43. When you create a RR, RDS takes a snapshot of the source DB and begins replication. As a result, you will experience a brief I/O suspension on your source DB Instance as the snapshot occursI/O suspension is mitigated if the source DB Instance is a Multi-AZ deployment, because snapshots are taken from the Multi-AZ standby.
  44. Noticed in the previous popup that you can pick the AZ for a new RR ?Because RR can be deployed un other AZs, you can put RRs where another website deployment exists.Follow high availability recommendations from Matt's presentationWhy just 5 RRs per DB instance? There's a point where you see diminishing results:Apps that are mostly reading data tend to scale out better (writes doesn't scale out at all, you're duplicating write queries on a bunch of machines: writes must be executed on every machine for the replication to work)How busy is the master with writes? If the master is busy with writes, slaves are too! -> as the master reaches its limits, the effectiveness of scaling out with replication drops
  45. Measure replication lag with CloudWatch.Smart DB load-balancers can use this metric to avoid using RRs that are left behind.
  46. Use RR to run BI applications.BI or reporting apps only read databasesThey perform heavy queries (joins, stats, etc.) that impact the production database (-> degrade performance)BI apps can run on temporary read replicas(remember the API /CLI! This can be scripted)
  47. Lots of reads ?
  48. From the source: memcache is a high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load.Remember: caching makes sense if it takes you more time to get data out of the database than it does getting it from the cacheLike all caches, if your application data-access pattern is completely random, caching will not help you; it will make things worse: lots of cache-miss.Still, EC2 makes it easy to adjust the size of your memcached fleet.Also: if you want to write data that you will need back later, memcache will not help youStrategy: Cache everything that is slow to query, fetch, or calculate. Memcached is generic, not only for DBs: you can cache complete portions of web pages that are expensive to compute and doesn't change too often (tag clouds, etc.)Some people might argue that you can use caches for write-heavy scenarios by writing directly to the cache, but it's a nightmare to manage and if a cache fails before you commit to the database, your data is lost. Whereas in read scenarios, if you loose a cache, you recreate the data from the database.Problem in scaling a fleet of memcached is the maintenance of indexes and cache pre-warming
  49. Lots of writes ?As an application gets bigger, or if read/write ratio is low, write workload eventually gets too intensive for some part of the system to handle.What you see is that RRs can't keep up with the master anymore. (in sync-rep, master is subjected to extra-load + wait for slaves to execute changes it sends to them -> master shows strain first)
  50. >> separate parts in your database schema (e.g. in a blog, separate articles from comments)
  51. You can implement scaling techniques for each partition, ex: use different instance sizes for each partition depending on load (use CW to measure this)Works well, combined with RR.Downside is complexity: your app must be aware of the DB it uses, more backups to track (slightly more difficult to restore a whole system)Problem is that one partition can grow larger than what a single master + RRs can handle, and you're back to the starting point
  52. Sharding = break a single logical dataset and distribute it across several servers.All database servers share the same schema, but they have different datasets.Advantages:Write scaling. To be efficient, write workload should be divided into completely separated sets of serversAbility to add more capacity as the dataset growsProperly designed sharded architectures can scale linearly with added servers. But for this, you need to achieve complete isolation between servers (so you don't add overhead when you add servers)Some applications fit well with this paradigm (if yours does, you're lucky !!). Typical examples are multitenant apps where each user data is completely independent (ex: Salesforce). User Id + mod (or hash) can be used as the hash key to find which server it maps to.Unfortunately, a lot of apps don't have a single clear sharding key (things get worse with social apps) -> data duplication and denormalization is often requiredDownside: A lot of queries become hard or impossible to perform in sharded environments. Data is processed separetely, then aggregated in the application code.
  53. Sharding = break a single logical dataset and distribute it across several servers.All database servers share the same schema, but they have different datasets.Advantages:Write scaling. To be efficient, write workload should be divided into completely separated sets of serversAbility to add more capacity as the dataset growsProperly designed sharded architectures can scale linearly with added servers. But for this, you need to achieve complete isolation between servers (so you don't add overhead when you add servers)Some applications fit well with this paradigm (if yours does, you're lucky !!). Typical examples are multitenant apps where each user data is completely independent. User Id + mod (or hash) can be used as the hash key to find which server it maps to.Unfortunately, a lot of apps don't have a single clear sharding key (things get worse with social apps) -> data duplication and denormalization is often requiredDownside: A lot of queries become hard or impossible to perform in sharded environments. Data is processed separetely, then aggregated in the application code.
  54. Offload static content data , big BLOBs to S3
  55. Increasingly popular. No relational schema, eventual consistency, designed for availability (R&W performance), no transaction locking. Designed for scale, fault tolerance built-in.Key/value stores, significant performance gains.Other have a document approach, excellent for unstructured data.Social games use it a lot.Lots of choices available !
  56. Many applications do not require the overhead introduced by a full-fledged RDBMSDon’t require complex transactions or joinsSimply want to store data items (set it and forget it)Want to be free from scaling , availability, and data model constraints of relational databaseFor users who:Principally utilize index and query functions rather than more complex relational database functions Don’t want any administrative burden at all in managing their structured data Want a service that scales automatically up or down in response to demand, without user intervention Require the highest availability and can’t tolerate downtime for data backup or software maintenance
  57. LimitsFollowing is a table that describes current limits within Amazon SimpleDB.Parameter Restriction Domain size 10 GB per domain Domain size 1 billion attributes per domain Domain name 3-255 characters (a-z, A-Z, 0-9, '_', '-', and '.') Domains per account 250 Attribute name-value pairs per item 256 Attribute name length 1024 bytes Attribute value length 1024 bytes Item name length 1024 bytes Attribute name, attribute value, and item name allowed characters All UTF-8 characters that are valid in XML documents.Control characters and any sequences that are not valid in XML are returned Base64-encoded. For more information, see Working with XML-Restricted Characters.Attributes per PutAttributes operation 256 Attributes requested per Select operation 256 Items per BatchPutAttributesoperation 25 Maximum items in Selectresponse 2500 Maximum query execution time 5 seconds Maximum number of unique attributes per Selectexpression 20Maximum number of comparisons per Selectexpression 20Maximum response size for Select 1MB
  58. Use cases:RDS:gumi, one of the largest social gaming companies in Japan, relies on Amazon RDS to enable 10 million unique users play daily on its gaming platform built on AWSAmazon.com’s Customer Experience Analytics Team uses Amazon RDS to store and query customer simulation data.SimpleDB:NetflixAlexa stores over 12 million objects in Amazon SimpleDB, and performs over 5 million queries against it daily.