• Save
Designing Fault Tolerant Applications on AWS - Janakiram MSV
Upcoming SlideShare
Loading in...5
×
 

Designing Fault Tolerant Applications on AWS - Janakiram MSV

on

  • 1,513 views

 

Statistics

Views

Total Views
1,513
Views on SlideShare
1,513
Embed Views
0

Actions

Likes
2
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

Designing Fault Tolerant Applications on AWS - Janakiram MSV Designing Fault Tolerant Applications on AWS - Janakiram MSV Presentation Transcript

  • Designing  Fault  Tolerant   Applica3ons  on  AWS     Janakiram  MSV   Technology  Evangelist,  India   Amazon  Web  Services    
  • Designing  Fault-­‐Tolerant     Applica3ons  on     AWS   Janakiram  MSV   Technology  Evangelist   Amazon  Web  Services  @janakiramm   jmsv@amazon.com  
  • Based  on  the  white  paper      Building  Fault-­‐Tolerant  Applica4ons   on  AWS  
  • Agenda  •  AWS  Building  Blocks  •  Amazon  EC2  Architecture   –  AMI   –  EIP   –  EBS   –  ELB  •  HA  features  of  Amazon  RDS   –  MulN-­‐AZ    •  Summary  
  • AWS  Building  Blocks   Tools  to  access   services   Cross  Service   features   Pla4orm  building   blocks   Infrastructure   building  blocks  
  • Amazon  EC2   Flexible  Compute  Capacity  on  the  Cloud  •  ElasNc  •  Completely  Controlled  •  Flexible  •  Reliable  •  Secure  •  Inexpensive  
  • Amazon  EC2  Architecture   Region   Ephemeral   Amazon   Storage   Machine   Availability  Zone   Image   Elas3c   EC2  Instance   Block   Storage   Amazon   Security  Groups  CloudWatch   Elas3c  IP  Auto  Scale   Elas3c     Load  Balancer   Amazon  S3   EBS   EBS   Snapshot   Snapshot  
  • ElasNc  IP  •  Public  StaNc  IP  Address  •  Associated  with  an  AWS  account  •  Dynamically  assign  to  a  running  instance  •  Quickly  remap  EIP  to  any  instance  
  • ElasNc  IP   ElasNc  IP  WWW  WWW   EC2  Instance   DB   DB  
  • ElasNc  Block  Store  •  Create  storage  volumes  from  1GB  to  1TB  •  Can  be  formaVed  with  a  naNve  file  system  •  Storage  volume  is  automaNcally  replicated  within   the  same  Availability  Zone  •  Ability  to  create  point-­‐in-­‐Nme  snapshots  that  can   be  stored  on  S3  •  IntegraNon  with  Amazon  CloudWatch  to  track   performance  metrics  
  • EBS   ElasNc  IP  WWW   EC2  Instance   DB   EBS  
  • EBS   ElasNc  IP   EC2  Instance  WWW   EBS   DB  
  • Instance  Metadata  •  Used  to  build  generic  AMIs  •  Access  instance  specific  data  that  is  unique  •  Access  user  supplied  data  •  User  supplied  metadata  is  limited  to  16K    •  Metadata  is  available  at  h9p://169.254.169.254/metadata  
  • Making  the  AMI  Dynamic   169.254.169.254   Amazon   S3  
  • Dynamic  Discovery  of  the  DB  Web  Server  1   Web  Server  2   Web  Server  3       DB1   DB2   DB3   Slave   Slave   Slave       DB     Master  
  • ElasNc  Load  Balancer  •  Distribute  incoming  traffic  across  instances   running  across  Availability  Zones  •  Detect  the  health  of  instances  and  block  traffic   to  unhealthy  instances  •  Supports  sNcky  sessions  •  Supports  both  IPv4  and  IPv6  •  Request  count  and  Request  latency  metrics  in   Amazon  CloudWatch  
  • Amazon  RDS  •  Amazon  RDS  is  a  web  service  to  setup,  operate  and   scale  a  database  on  Cloud  •  Access  to  familiar  databases  like  MySQL  or  Oracle  •  Manages  patching,  backup  and  recovery  •  Supports  scale-­‐out  for  read-­‐heavy  database  workloads   on  MySQL  •  No  upfront  investment;  pay-­‐as-­‐you-­‐go  pricing  model  
  • MulN-­‐AZ  in  Amazon  RDS   Client  Applica3on   MySQL   MySQL   AutomaNc  Failover   RDS   RDS   Primary   Standby   Synchronous  ReplicaNon  Availability  Zone   Availability  Zone   1   2  
  • Summary  •  Start  with  EC2  •  AVach  an  ElasNc  IP  •  Create  and  aVach  EBS  •  Bundle  generic  AMIs  •  Associate  EC2  instances  with  the  ELB  •  Launch  RDS  DB  Instances  in  MulN-­‐AZ  
  • Resources  •  hVp://aws.amazon.com    •  hVp://aws.amazon.com/ec2    •  hVp://aws.amazon.com/ebs  •  hVp://aws.amazon.com/rds