[{"data":1,"prerenderedAt":229},["ShallowReactive",2],{"content-svc-dynamodb-guides-using-dynamodbto-build-webapps-11-dynamodb-test":3},{"markdown":4,"frontMatterAttributes":5,"bodyRaw":21,"menu":22,"menuType":225,"isCollapseableMenu":25,"nextDocItem":182,"previousDocItem":152,"contributorPaths":226,"contentName":228,"slug":178,"readingTime":30},"\u003Ch1>Deploy and Load Test\u003C\u002Fh1>\n\u003Cp>In this step it&#39;s time to deploy your migrated application to the cloud and conduct various tests to ensure that your database is provisioned correctly. This section will guide you on how to perform load tests to verify the correct configuration of your table.\u003C\u002Fp>\n\u003Cp>Before you begin, make sure you have completed the necessary steps to deploy your application using AWS CDK. You can find the code in the resources.\u003C\u002Fp>\n\u003Cp>To load test your application, you can utilize tools like \u003Ca href=\"https:\u002F\u002Fwww.artillery.io\u002F\">Artillery.io\u003C\u002Fa>, which allows you to run load tests against your serverless applications. I have included a video in the resources that demonstrates how to run Artillery in a Lambda function for load testing.\u003C\u002Fp>\n\u003Cp>During the load testing process, it&#39;s important to monitor the performance and metrics of your application. \u003Ca href=\"https:\u002F\u002Faws.amazon.com\u002Fcloudwatch\u002F\">Amazon CloudWatch\u003C\u002Fa> provides a powerful monitoring solution, and you can use AWS CDK to build CloudWatch dashboards for visualizing and analyzing your application&#39;s metrics. The resources include a video that explains how to build Amazon CloudWatch dashboards using AWS CDK.\u003C\u002Fp>\n\u003Cp>By deploying your application and conducting load tests while monitoring the performance metrics, you can ensure that your database is provisioned correctly and that your application is capable of handling the expected workload.\u003C\u002Fp>\n",{"title":6,"order":7,"youtubeVideoID":8,"resources":9},"Deploy and Load Test",12,"z-RywG7Xfk8",[10,14,18],{"link":11,"text":12,"type":13},"https:\u002F\u002Fgithub.com\u002Fmavi888\u002Fcdk-migrated-app-infra\u002Ftree\u002FdynamoDB\u002Flib","Get the code","code",{"link":15,"type":16,"text":17},"https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=B0pDPSQcAf4","video","Load test your serverless applications | Run Artillery in a Lambda function",{"link":19,"type":16,"text":20},"https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=0VNKHIcQ5wk","Building Amazon CloudWatch dashboards with AWS CDK","# Deploy and Load Test\n\nIn this step it's time to deploy your migrated application to the cloud and conduct various tests to ensure that your database is provisioned correctly. This section will guide you on how to perform load tests to verify the correct configuration of your table.\n\nBefore you begin, make sure you have completed the necessary steps to deploy your application using AWS CDK. You can find the code in the resources.\n\nTo load test your application, you can utilize tools like [Artillery.io](https:\u002F\u002Fwww.artillery.io\u002F), which allows you to run load tests against your serverless applications. I have included a video in the resources that demonstrates how to run Artillery in a Lambda function for load testing.\n\nDuring the load testing process, it's important to monitor the performance and metrics of your application. [Amazon CloudWatch](https:\u002F\u002Faws.amazon.com\u002Fcloudwatch\u002F) provides a powerful monitoring solution, and you can use AWS CDK to build CloudWatch dashboards for visualizing and analyzing your application's metrics. The resources include a video that explains how to build Amazon CloudWatch dashboards using AWS CDK.\n\nBy deploying your application and conducting load tests while monitoring the performance metrics, you can ensure that your database is provisioned correctly and that your application is capable of handling the expected workload.\n",[23,34,62,96,130,179,217],{"title":24,"collapsible":25,"isCollapsed":26,"content":27},"Introduction",false,true,[28],{"title":24,"order":29,"time":30,"path":31,"id":32,"link":33},1,"2 min","introduction","introduction.md","\u002Fcontent\u002Fservice\u002Fdynamodb\u002Fguides\u002Fusing-dynamodbto-build-webapps\u002Fintroduction",{"title":35,"collapsible":25,"isCollapsed":26,"content":36},"1. Hosting Your Application with App Runner",[37,48],{"title":38,"order":39,"youtubeVideoID":8,"resources":40,"time":30,"path":45,"id":46,"link":47},"What is AWS App Runner?",2,[41],{"link":42,"text":43,"type":44},"https:\u002F\u002Faws.amazon.com\u002FApp Runner\u002F","AWS App Runner","service","01-apprunnerintro","01-apprunnerintro.md","\u002Fcontent\u002Fservice\u002Fdynamodb\u002Fguides\u002Fusing-dynamodbto-build-webapps\u002F01-apprunnerintro",{"title":49,"order":50,"youtubeVideoID":51,"resources":52,"time":30,"path":59,"id":60,"link":61},"AWS AppRunner Demo",3,"jOwQdXbmHC4",[53,56],{"link":54,"text":55,"type":13},"https:\u002F\u002Fgithub.com\u002Fmavi888\u002Fnodeexpress-backend-app","NodeJS application code",{"link":57,"type":13,"text":58},"https:\u002F\u002Fgithub.com\u002Fmavi888\u002Fcdk-migrated-app-infra\u002Ftree\u002Fapprunner","AWS CDK infrastructure code","02-apprunnerdemo","02-apprunnerdemo.md","\u002Fcontent\u002Fservice\u002Fdynamodb\u002Fguides\u002Fusing-dynamodbto-build-webapps\u002F02-apprunnerdemo",{"title":63,"collapsible":25,"isCollapsed":26,"content":64},"2.Understanding DynamoDB Basics",[65,81],{"title":66,"order":67,"youtubeVideoID":68,"resources":69,"time":77,"path":78,"id":79,"link":80},"Amazon DynamoDB 101",4,"tkj2r7kFcpM",[70,73],{"link":71,"text":72,"type":44},"https:\u002F\u002Faws.amazon.com\u002Fdynamodb\u002F","Amazon DynamoDB service page",{"link":74,"type":75,"text":76},"https:\u002F\u002Faws.amazon.com\u002Fdynamodb\u002Fpricing\u002F","pricing","Amazon DynamoDB pricing","3 min","03-dynamodb-intro","03-dynamodb-intro.md","\u002Fcontent\u002Fservice\u002Fdynamodb\u002Fguides\u002Fusing-dynamodbto-build-webapps\u002F03-dynamodb-intro",{"title":82,"order":83,"youtubeVideoID":84,"resources":85,"time":30,"path":93,"id":94,"link":95},"Amazon DynamoDB under the hood",5,"ZhXqNcbR4n0",[86,90],{"link":87,"text":88,"type":89},"https:\u002F\u002Fwww.usenix.org\u002Fconference\u002Fatc22\u002Fpresentation\u002Felhemali","Amazon DynamoDB: A Scalable, Predictably Performant, and Fully Managed NoSQL Database Service","article",{"link":91,"type":89,"text":92},"https:\u002F\u002Fwww.theregister.com\u002F2022\u002F11\u002F14\u002Fmeet_the_database_that_supports\u002F","Meet the database that supports Amazon.com","04-dynamodb-underthehood","04-dynamodb-underthehood.md","\u002Fcontent\u002Fservice\u002Fdynamodb\u002Fguides\u002Fusing-dynamodbto-build-webapps\u002F04-dynamodb-underthehood",{"title":97,"collapsible":25,"isCollapsed":26,"content":98},"3.Designing Your DynamoDB Table",[99,110,121],{"title":100,"order":101,"youtubeVideoID":102,"resources":103,"time":77,"path":107,"id":108,"link":109},"Is DynamoDB the right database for you?",6,"TpeP3Cmz5PE",[104],{"link":105,"text":106,"type":89},"https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fdatabase\u002Fhow-to-determine-if-amazon-dynamodb-is-appropriate-for-your-needs-and-then-plan-your-migration\u002F","How to determine if Amazon DynamoDB is appropriate for your needs, and then plan your migration","05-dynamo-rightforyou","05-dynamo-rightforyou.md","\u002Fcontent\u002Fservice\u002Fdynamodb\u002Fguides\u002Fusing-dynamodbto-build-webapps\u002F05-dynamo-rightforyou",{"title":111,"order":112,"youtubeVideoID":113,"resources":114,"time":30,"path":118,"id":119,"link":120},"Introduction to Single Table Design",7,"lWCch8GEK4E",[115],{"link":116,"text":117,"type":16},"https:\u002F\u002Fyoutu.be\u002FQ6-qWdsa8a4","7 Common DynamoDB Patterns for Modeling and Building an App with Alex De Brie","06-dynamodb-singletable","06-dynamodb-singletable.md","\u002Fcontent\u002Fservice\u002Fdynamodb\u002Fguides\u002Fusing-dynamodbto-build-webapps\u002F06-dynamodb-singletable",{"title":122,"order":123,"youtubeVideoID":124,"resources":125,"time":30,"path":127,"id":128,"link":129},"Design a DynamoDB table with Single Table Design",8,"JLZOI8patlw",[126],{"link":116,"text":117,"type":16},"07-dynamodb-singletable-modeling","07-dynamodb-singletable-modeling.md","\u002Fcontent\u002Fservice\u002Fdynamodb\u002Fguides\u002Fusing-dynamodbto-build-webapps\u002F07-dynamodb-singletable-modeling",{"title":131,"collapsible":25,"isCollapsed":25,"content":132},"4.Implementing DynamoDB in Your Application",[133,143,152,171],{"title":134,"order":135,"youtubeVideoID":136,"resources":137,"time":30,"path":140,"id":141,"link":142},"Provision Amazon DynamoDB table and indexes with AWS CDK",9,"4o1KzB2AAk4",[138],{"link":11,"text":139,"type":13},"AWS CDK code","08-dynamo-cdkinfra","08-dynamo-cdkinfra.md","\u002Fcontent\u002Fservice\u002Fdynamodb\u002Fguides\u002Fusing-dynamodbto-build-webapps\u002F08-dynamo-cdkinfra",{"title":144,"order":145,"youtubeVideoID":146,"resources":147,"time":77,"path":149,"id":150,"link":151},"Code your application",10,"9ftDmRMEfDM",[148],{"link":54,"text":12,"type":13},"09-dynamodb-app","09-dynamodb-app.md","\u002Fcontent\u002Fservice\u002Fdynamodb\u002Fguides\u002Fusing-dynamodbto-build-webapps\u002F09-dynamodb-app",{"title":153,"order":154,"youtubeVideoID":155,"resources":156,"time":77,"path":168,"id":169,"link":170},"How to Migrate Data to DynamoDB?",11,"qEQqL3KiOOc",[157,161,165],{"link":158,"text":159,"type":160},"https:\u002F\u002Fdocs.aws.amazon.com\u002Famazondynamodb\u002Flatest\u002Fdeveloperguide\u002FS3DataImport.HowItWorks.html","DynamoDB data import from Amazon S3: how it works","docs",{"link":162,"text":163,"type":164},"https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fdatabase\u002Fperforming-a-live-migration-from-a-mongodb-cluster-to-amazon-dynamodb\u002F","Performing a Live Migration from a MongoDB Cluster to Amazon DynamoDB","blog",{"link":166,"type":16,"text":167},"https:\u002F\u002Fyoutu.be\u002F_6ym3IRrRxo","🆕 Step functions Distributed map - Run 10k parallel serverless executions!","10-dynamodb-migrate","10-dynamodb-migrate.md","\u002Fcontent\u002Fservice\u002Fdynamodb\u002Fguides\u002Fusing-dynamodbto-build-webapps\u002F10-dynamodb-migrate",{"title":6,"order":7,"youtubeVideoID":8,"resources":172,"time":30,"path":176,"id":177,"link":178},[173,174,175],{"link":11,"text":12,"type":13},{"link":15,"type":16,"text":17},{"link":19,"type":16,"text":20},"11-dynamodb-test","11-dynamodb-test.md","\u002Fcontent\u002Fservice\u002Fdynamodb\u002Fguides\u002Fusing-dynamodbto-build-webapps\u002F11-dynamodb-test",{"title":180,"collapsible":25,"isCollapsed":26,"content":181},"5.Adding Event-Driven Characteristics",[182,190,204],{"title":183,"order":184,"youtubeVideoID":185,"time":186,"path":187,"id":188,"link":189},"DynamoDB Streams",13,"M0GJzjsw5So","1 min","12-dynamo-streams","12-dynamo-streams.md","\u002Fcontent\u002Fservice\u002Fdynamodb\u002Fguides\u002Fusing-dynamodbto-build-webapps\u002F12-dynamo-streams",{"title":191,"order":192,"youtubeVideoID":193,"resources":194,"time":186,"path":201,"id":202,"link":203},"Acting on Stream Events",14,"RL0l2Wz3deQ",[195,198],{"link":196,"text":197,"type":13},"https:\u002F\u002Fgithub.com\u002Fmavi888\u002Fcdk-migrated-app-infra","Code Repository",{"link":199,"type":16,"text":200},"https:\u002F\u002Fyoutu.be\u002F8Yv_V4havbc","Unlock the Power of EventBridge Pipes: Integrate Across Platforms with Ease!","13-dynamodb-ebpipes","13-dynamodb-ebpipes.md","\u002Fcontent\u002Fservice\u002Fdynamodb\u002Fguides\u002Fusing-dynamodbto-build-webapps\u002F13-dynamodb-ebpipes",{"title":205,"order":206,"youtubeVideoID":207,"resources":208,"time":186,"path":214,"id":215,"link":216},"Filtering Subscription Messages",15,"36iMOJQUAuE",[209,212,213],{"link":210,"text":211,"type":164},"https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Fintroducing-payload-based-message-filtering-for-amazon-sns\u002F","Introducing payload-based message filtering for Amazon SNS",{"link":196,"text":197,"type":13},{"link":199,"type":16,"text":200},"14-dynamodb-sns","14-dynamodb-sns.md","\u002Fcontent\u002Fservice\u002Fdynamodb\u002Fguides\u002Fusing-dynamodbto-build-webapps\u002F14-dynamodb-sns",{"title":218,"collapsible":25,"isCollapsed":26,"content":219},"Conclusion",[220],{"title":218,"order":221,"time":186,"path":222,"id":223,"link":224},16,"conclusion","conclusion.md","\u002Fcontent\u002Fservice\u002Fdynamodb\u002Fguides\u002Fusing-dynamodbto-build-webapps\u002Fconclusion","LIST",[227],"content\u002Fcontributors\u002Fmarcia-villalba.json","Using DynamoDB to build WebApps",1792578866996]