Home > other >  Please consult
Please consult

Time:09-28

Our app master server is now in the east, now want to improve the speed of global users access to the app. I see you said use S3 + Cloudfont. My understanding is the main server + multiple regions of the S3 + Cloudfont mean? Or is the server should also open several regions, and then do the data synchronization first? More food, I wish to be why?

CodePudding user response:

Static resource
Single S3 + cloudfront
See http://docs.aws.amazon.com/zh_cn/AmazonCloudFront/latest/DeveloperGuide/DownloadDistS3AndCustomOrigins.html
More detailed configuration, such as
* *.jpg -> http://xxx.cloudfront.net/. JPG
/*. *. CSS js -> http://xxx.s3-website-us-east-1.amazonaws.com/*. CSS

Dynamic resource to
Single region ec2 + cloudfront

Later if the bottleneck is found in ec2 - "cloudfont section
Then look at whether by deploying more region ec2 to solve
  •  Tags:  
  • AWS
  • Related