Website / application for implementation without borders on a server without a server

I plan to use AWS to host a global website with clients around the world. We will have a website and application, and we will use the server architecture. I will also consider the multi-regional DynamoDB so that users can get closer to the region to access the nearest database instance.

My question is about the best design for implementing a solution that is not blocked in one specific region, and we are a limitless implementation. I also consider high traffic and a large number of users in different countries.

I look at this https://aws.amazon.com/getting-started/serverless-web-app/module-1/ , but I need to select a region. I almost need a router before this with several S3 buckets, but I don’t know how to do it. For example, how do users access a copy of the landing page closest to their region? How do mobile app users call lambda functions in their region?

If you could point me to a publication or article or just your answer, I would be very grateful.

Note: would it be interesting if the Google Cloud Platform is also an option?

Thank you!

+4
source share
1 answer

S3

S3 CloudFront, .

Create Distribution S3 Origin Domain Name.

: CloudFront, . .


API

API- Edge-Optimized Regional.

Edge-Optimized AWS API , API- . .

Regional API, . Route 53. , .

SO

. Edge-Optimized, Regional.


DynamoDB/Lambda

DynamoDB Lambda - , .

DynamoDB - .

, AWS ,

. Edge-Optimized API Gateway, DynamoDB Lambda , .

Update

, DynamoDB Global Tables, . - , - Global Tables ( , , ).

AWS

: US West (Oregon), US East (Ohio), US East (N. Virginia), EU (Frankfurt), EU West (Ireland). , , , .

, Lambda @Edge CloudFront.

AWS_REGION , ( ) , (, API). , Lambda @Edge API, (YMMV).

+3

Source: https://habr.com/ru/post/1695123/


All Articles