Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
AWS Cloud Projects

You're reading from   AWS Cloud Projects Strengthen your AWS skills through practical projects, from websites to advanced AI applications

Arrow left icon
Product type Paperback
Published in Oct 2024
Publisher Packt
ISBN-13 9781835889282
Length 266 pages
Edition 1st Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
Pedro Santos Pedro Santos
Author Profile Icon Pedro Santos
Pedro Santos
Ivo Pinto Ivo Pinto
Author Profile Icon Ivo Pinto
Ivo Pinto
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Part 1: Beginner Level Projects FREE CHAPTER
2. Chapter 1: Deploying and Interacting with AWS Services 3. Chapter 2: Creating a Personal Website 4. Part 2: Intermediate Level Projects
5. Chapter 3: Building a Recipe-Sharing Application 6. Chapter 4: Building a Serverless Recipe-Sharing Application 7. Chapter 5: Implementing an Image Analyzer to Detect Photo Friendliness 8. Chapter 6: Architecting a Content Translation Pipeline 9. Part 3: Advanced Level Projects
10. Chapter 7: Implementing a Chatbot Using Machine Learning 11. Chapter 8: Building a Business Intelligence Application 12. Chapter 9: Exploring Future Work 13. Index 14. Other Books You May Enjoy

Architecture

There are separate ways to render a webpage in the users’ preferred languages. You can use specific framework tools, such as i18n in React, or infrastructure redirection, such as Lambda@Edge.

Important note

This is a practical AWS book, not a specific web framework one, so this chapter implements the infrastructure redirection method.

However, how do you identify a user’s preferred language? You can add a button at the top for the user to choose the language. This is a common approach. However, you can do better. You will make it automatically detect the users’ preferences based on request properties.

After deciding how you want to implement the language rendering, and going back to the solution requirements, you will notice that they are similar to Chapters 2 and 3. However, since this is a proof of concept, and you want to minimize time to market, you decide to re-use the static architecture, with a configuration that automatically detects...

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 €18.99/month. Cancel anytime