583063 (1) [Avatar] Offline
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 (68) [Avatar] Offline
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.