Se ha denunciado esta presentación.
Utilizamos tu perfil de LinkedIn y tus datos de actividad para personalizar los anuncios y mostrarte publicidad más relevante. Puedes cambiar tus preferencias de publicidad en cualquier momento.

Building High Availability Apps on Lightsail: Load Balancing and Block Storage - AWS Online Tech Talks

1.886 visualizaciones

Publicado el

Learning Objectives:
- Learn how to build for high availability on Lightsail
- Explore Lightsail's newest features - Block storage and Load Balancing
- See Lightsail in action with live demos

  • Inicia sesión para ver los comentarios

Building High Availability Apps on Lightsail: Load Balancing and Block Storage - AWS Online Tech Talks

  1. 1. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Emily Kruger, Sr Product Manager Gabriel Gosselin, Web Development Engineer February 2018 Building High Availability Apps on Amazon Lightsail
  2. 2. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Lightsail: Cloud made easy • Bundled compute, storage, networking • Fully configured servers • Low, predictable price • Intuitive, global Lightsail console • Easy growth path • Access to AWS services • Tailored API & CLI
  3. 3. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Plans offer bundled resources for simple monthly price
  4. 4. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Lightsail launches in 2017 10 global regions 8 languages Windows Server Additional block storage Load Balancers
  5. 5. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. High Availability (HA): characteristic of systems that are durable and likely to operate continuously without failure for a long time
  6. 6. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Fault tolerance The ability for a system to remain in operation even if some of the components used to build the system fail Good news – most higher-level AWS services are built with fault tolerance in mind Fault tolerance versus redundancy Redundancy A system design in which a component is duplicated so if it fails there will be a backup Depends on how your architect your application – it’s on you!
  7. 7. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Major building blocks for HA architectures • Availability Zones (AZ) • Load Balancers • Static IPs • Replication and backups
  8. 8. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Build for High Availability on Lightsail Start simple • Single Instance • Static IP • Block Storage • Snapshots Add Load Balancer • 2+ Instances • Cross-AZ Connect AWS services • Managed DB (RDS) • Object storage (S3)
  9. 9. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Lightsail Block storage • Highly available • Low-latency performance • Scalable • Secure Attached Disk 25 GB Attached Disk 50 GB Lightsail Instance System Disk 30 GB
  10. 10. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Lightsail Load Balancers • Easy to use • Scalable • Highly available • Automated health checks • Integrated certificate support
  11. 11. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Availability Zone B How Lightsail load balancing works Availability Zone A HTTPS Traffic HTTP Traffic Lightsail Instance 2 Lightsail Instance 1 Lightsail Instance 3 Lightsail Load Balancer Lightsail Instance (Unhealthy)
  12. 12. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Connecting AWS Services • Access to many of 100+ AWS Services • Enable VPC peering in Lightsail • Create and manage AWS resources through AWS console • Connect to Lightsail-based apps using peering or public network
  13. 13. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What AWS services can you connect to Lightsail? ✓ Managed databases (RDS) ✓ Compute instance (EC2) ✓ Containers (ECS) ✓ Data warehouse (Amazon Redshift) ✓ Big data—Hadoop (EMR) ✓ In memory data store/cache (ElastiCache) ✓ Object storage (Amazon S3) ✓ CDN (CloudFront) ✓ AWS Database (DynamoDB) ✓ Serverless compute (Lambda) ✓ Email service (SES) ✓ Message queuing (SQS) Connect from AWS accountConnect with VPC peering ✓ Managed databases (RDS) ✓ Compute instance (EC2) ✓ Containers (ECS) ✓ Data warehouse (Amazon Redshift) ✓ Big data—Hadoop (EMR) ✓ In memory data store/cache (ElastiCache) ✓ Object storage (Amazon S3) ✓ CDN (CloudFront) ✓ AWS Database (DynamoDB) ✓ Serverless compute (Lambda) ✓ Email service (SES) ✓ Message queuing (SQS)
  14. 14. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. High(er) Availability architecture – single instance Availability Zone B Lightsail Instance Block Storage Availability Zone A Lightsail Instance Block Storage Static IP Traffic Snapshot Recreate instance from snapshot
  15. 15. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Highly Available architecture – multi-tier Availability Zone A Lightsail Load Balancer Traffic Database (Amazon RDS) Lightsail instances Availability Zone B Lightsail instances Connected via VPC Peering Object storage (S3) Database (Amazon RDS) As a Multi-AZ deployment
  16. 16. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Demo: Build your HA application
  17. 17. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Thank you!

×