[{"data":1,"prerenderedAt":77},["ShallowReactive",2],{"pattern-aurora-serverless-global-db-cdk":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":15,"extension":16,"framework":17,"gitHub":18,"highlight":6,"introBox":24,"language":29,"level":30,"meta":31,"patternArch":32,"resources":64,"s3URL":6,"services":6,"stem":72,"testing":73,"videoId":6,"__hash__":76},"patterns\u002Fpatterns\u002Faurora-serverless-global-db-cdk.json","Amazon Aurora Serverless Primary to Secondary Global Database",null,{"text":8},[9],"Delete the stack: \u003Ccode>cdk destroy --all\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fnihilson-gnanadason.json",{"text":13},[14],"cdk deploy --all","Create an Aurora Serverless Global database to replicate across regions","json","AWS CDK",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Faurora-serverless-global-db-cdk","serverless-patterns\u002Faurora-serverless-global-db-cdk","aurora-serverless-global-db-cdk","bin\u002Faurora-global-db-multistack.ts",{"headline":25,"text":26},"How it works",[27,28],"The pattern provisions an Amazon Aurora serverless v2 global database enabling data replication from the primary to secondary region. The regional primary cluster contains a serverless database instance and supports both writes and reads. The regional secondary cluster contains a serverless database instance and supports only reads. In the unlikely event of a regional degradation or outage, the secondary region can be promoted to read and write capabilities in less than 1 minute","Also the pattern adopts the multiple stack capability of CDK to provision the resources across the primary and secondary regions.","TypeScript","300",{},{"icon1":33,"group1":37,"group2":43,"icon2":46,"line1":50,"icon3":54,"icon4":57,"line2":59,"line3":63},{"x":34,"y":34,"service":35,"label":36},20,"fargate","Primary Cluster AWS Fargate",{"x":38,"y":39,"w":40,"h":41,"label":42},55,1,45,49,"Primary Region",{"x":38,"y":44,"w":40,"h":41,"label":45},50,"Secondary Region",{"x":47,"y":34,"service":48,"label":49},80,"aurora","Primary Amazon Aurora",{"from":51,"to":52,"label":53},"icon1","icon2","read\u002Fwrite",{"x":34,"y":55,"service":35,"label":56},70,"Secondary Cluster AWS Fargate",{"x":47,"y":55,"service":48,"label":58},"Secondary Amazon Aurora",{"from":60,"to":61,"label":62},"icon3","icon4","read",{"from":51,"to":61,"label":62},{"bullets":65},[66,69],{"text":67,"link":68},"Using Aurora Serverless V2","https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonRDS\u002Flatest\u002FAuroraUserGuide\u002Faurora-serverless-v2.html",{"text":70,"link":71},"Amazon Aurora Global Database","https:\u002F\u002Faws.amazon.com\u002Frds\u002Faurora\u002Fglobal-database\u002F","patterns\u002Faurora-serverless-global-db-cdk",{"text":74},[75],"See the GitHub repo for detailed testing instructions.","IfiET_E0Fa8KqScLB6HTRsisAM8_0hOHrk44TMhK2-A",1778846883397]