Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Implementing Cloud Design Patterns for AWS

You're reading from   Implementing Cloud Design Patterns for AWS Solutions and design ideas for solving system design problems

Arrow left icon
Product type Paperback
Published in Apr 2019
Publisher Packt
ISBN-13 9781789136203
Length 274 pages
Edition 2nd Edition
Tools
Arrow right icon
Authors (4):
Arrow left icon
Clive Harber Clive Harber
Author Profile Icon Clive Harber
Clive Harber
Sean Keery Sean Keery
Author Profile Icon Sean Keery
Sean Keery
Rick Farmer Rick Farmer
Author Profile Icon Rick Farmer
Rick Farmer
Marcus Young Marcus Young
Author Profile Icon Marcus Young
Marcus Young
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Section 1: The Basics
2. Introduction to Amazon Web Services FREE CHAPTER 3. Core Services - Building Blocks for Your Product 4. Availability Patterns - Understanding Your Needs 5. Security - Ensuring the Integrity of Your Systems 6. Section 2: DevOps Patterns
7. Continuous Deployment - Introducing New Features with Minimal Risk 8. Ephemeral Environments - Sandboxes for Experiments 9. Operation and Maintenance - Keeping Things Running at Peak Performance 10. Application Virtualization - Using Cloud Native Patterns for Your Workloads 11. Antipatterns - Avoiding Counterproductive Solutions 12. Section 3: Persistence Patterns
13. Databases - Identifying Which Type Fits Your Needs 14. Data Processing - Handling Your Data Transformation 15. Observability - Understanding How Your Products Are Behaving 16. Anti-Patterns - Bypassing Inferior Options 17. Other Books You May Enjoy

Load balancing

Our instances are running, but there is no way to access them outside of AWS. We will use a classic Elastic Load Balancing (ELB) for our examples, but the ALB offers a number of additional features for web traffic. These include more advanced health checks, better redirection, and a more complete pool management component.

Global Traffic Manager

In this case, we will use a DNS record to point at the public IP addresses of both instances. This creates a Global Traffic Manager (GTM) service in front of them by adding this to the bottom of main.tf:

# Global Traffic Management using DNS
resource "aws_route53_record" "www" {
zone_id = "${aws_route53_zone.book.zone_id}"
name...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image