Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Hands-On: Building a Multi-Region Active-Active Solution (ARC315-R1) - AWS re:Invent 2018

945 views

Published on

Do you need a highly available global application? Join us to build a global serverless application with active-active multi-region architectures using Amazon DynamoDB and Amazon Route 53. You must bring your own laptop, have an AWS account, and a Facebook developer account for this session. This hands-on workshop includes a Route 53 domain, Amazon API Gateway, Amazon Cognito, AWS Cloud9, and other services in the Ireland and Singapore regions. This workshop is similar to SRV326 (Building a Serverless Application). It’s best to use a personal or new account. You will receive $25 of AWS credit to cover any expenses incurred in this workshop.

  • //DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT ......................................................................................................................... ......................................................................................................................... //DOWNLOAD PDF EBOOK here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... //DOWNLOAD EPUB Ebook here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... //DOWNLOAD doc Ebook here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... //DOWNLOAD PDF EBOOK here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... //DOWNLOAD EPUB Ebook here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... //DOWNLOAD doc Ebook here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

Hands-On: Building a Multi-Region Active-Active Solution (ARC315-R1) - AWS re:Invent 2018

  1. 1. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Hands-On: Building a Multi-Region Active-Active Solution Jay Shin Cloud Architect Consultant AWS Professional Services A R C 3 1 5 Eng-Hwa Tan Solutions Architect AWS
  2. 2. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Agenda Hands-On Workshop Overview AWS Multi-Region Active-Active Services Get started!
  3. 3. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Hands-On repeats Tuesday, November 27 ARC315 Hands-On: Building a Multi-Region Active-Active Solution 3:15 PM – 5:30 PM | Venetian, Level 2, Venetian I Thursday, November 29 ARC315 Hands-On: Building a Multi-Region Active-Active Solution 2:30 PM – 4:45 PM | Mirage, Mirage Event Center C1
  4. 4. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Related breakouts Tuesday, Nov 27 ARC209 Architecture Patterns for Multi-Region Active-Active Applications 5:30 PM - 6:30 PM | Aria East, Level 2, Mariposa 5 Wednesday, Nov 28 ARC402- Building Multi-Region Microservices 2:30 PM - 3:30 PM | Mirage, Grand Ballroom D, Table 10 Thursday, Nov 29 ARC415- Building Multi-Region Persistence with MySQL 1:00 PM - 2:00 PM | Aria West, Level 3, Starvine 3, Table 3
  5. 5. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  6. 6. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Multi-Region Active-Active Trouble Ticketing System • Customers create trouble tickets • System is available in 2 Regions – Ireland and Singapore • Active-Active system
  7. 7. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. What you’ll be doing Users Ticketing App in Region 1 Ticketing App in Region 2 Active-Active Can still create tickets! Can create tickets [ticket.wildrydes.com] [ticket.wildrydes.com]
  8. 8. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Multi-region architecture AWS Region 1 (Ireland) Amazon Cognito Amazon S3 Static Website AWS Region 2 (Singapore) Amazon API Gateway - Regional Amazon DynamoDB AWS Lambda - App Amazon API Gateway - Regional Amazon DynamoDB AWS Lambda - App DynamoDB Global Table Users Amazon Route 53 AWS CloudFormation IAM Amazon CloudFront
  9. 9. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  10. 10. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Route 53 Routing and Health Check Route 53 routing policy determines how Route 53 responds to queries Route 53 health check monitors the health of your web application Configure DNS failover that Route 53 will route your traffic from an unhealthy resource to a healthy resource Route 53 Active-active DNS failover configuration actively returns more than one resource On failure, Route 53 fails back to the heathy region per routing policy
  11. 11. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon API Gateway regional endpoints Multiple ways to configure your API Gateway endpoints • Edge-optimized endpoint : access to an API by geographically distributed clients through an Amazon CloudFront distribution • Regional endpoint : directly to the region-specific API Gateway • Private endpoint : access private API resources inside a VPC Regional API can create a custom domain name for specific region and different region
  12. 12. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. The customer feedback application uses two AWS Lambda functions AWS Lambda Amazon API Gateway Lambda Amazon DynamoDB Customer Ticketing microservices: Lambda is a serverless compute service that runs your code in response to events Automatically run code in response to multiple events such as HTTP requests via Amazon API Gateway and table updates in Amazon DynamoDB *New* AWS Lambda functions now support up to 15 minutes per execution! Ticket-Get Ticket-Post
  13. 13. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. DynamoDB Global Tables Build high performance, globally distributed applications Low latency reads & writes to locally available tables Disaster proof with multi-region redundancy Easy to set up and no application rewrites required
  14. 14. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Other AWS services Amazon Cognito - federation and authentication Amazon CloudFront - content delivery and serve HTTPS requests for S3 bucket Amazon S3 buckets - static website hosting AWS CloudFormation + AWS SAM - configuration management AWS Identity and Access Management (IAM) - AWS resource permissions AWS Cloud9 - cloud-based integrated development environment (IDE) Amazon Cognito AWS CloudFormation Amazon CloudFront Amazon S3 IAM
  15. 15. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Replication Code We still want to access our code in the event of a regional outage. We may need to make updates or deploy elsewhere. AWS CodeCommit supports backing up or replicating to another region Data Our data needs to be available in a second region so that our service can continue to operate DynamoDB global tables replicates data automatically across your choice of AWS regions. Templates We might need to quickly deploy or make updates to our app while the service is failed over Enable Amazon S3 cross-region replication stores AWS CloudFormation templates It’s easy to forget…
  16. 16. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  17. 17. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Workshop requirements Administrator access to a working AWS account Ability to purchase a domain name via Route 53 • We’ll provide $25 in AWS Credits to each participant Facebook Developer Account • Participants will set up a developer account to configure sign-in for the app Each workshop participant will configure components themselves—this lab is hands-on. Participants will have a choice of using the AWS CLI, or using the AWS console https://bit.ly/ARC315
  18. 18. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Your tasks 1. Build a single region service (60 min) – Build an API and UI Layer 2. Stand up a second AWS Region (10 min) 3. Configure DNS health checks and active-active routing (30 min) 4. Test failover (20 min) Provided AWS CloudFormation templates will help “catch up” to the next section if you get stuck Work together with your table/team and help each other out Jay, Eng-Hwa, Support Teams are all here to help - ask us questions
  19. 19. Thank you! © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Jay Shin, Eng-Hwa Tan jayshin@amazon.com, enghwtan@amazon.com
  20. 20. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.

×