The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

583063 (1) [Avatar] Offline
#1
Can you cover some best practices for deploying the services to multiple regions. Looking to leverage global tables in dynamodb but unsure how this works with multiple regions. Since the tables are global already (had to do this in the interface, since I couldn't get the global table plug-in to work)
Yan Cui (73) [Avatar] Offline
#2
Hey, the serverless framework's own blog has a good step-by-step guide for this.

To automate these, I would leverage the fact that we have a build.sh script that can do more than calling one sls command at a time, and use the build.sh to create_domain, deploy to multiple regions, link up DB global tables, etc. All these operations are idempotent AFAIK and can be repeated, so you can run the build.sh script on every push and deploy to all the regions.