New AWS SimSpace Weaver–Run Large-Scale Spatial Simulations in the Cloud

海外精选
re:Invent
Amazon EC2
海外精选的内容汇集了全球优质的亚马逊云科技相关技术内容。同时,内容中提到的“AWS” 是 “Amazon Web Services” 的缩写,在此网站不作为商标展示。
0
0
{"value":"Today, we’re announcing [AWS SimSpace Weaver](https://aws.amazon.com/simspaceweaver/), a new compute service to run real-time spatial simulations in the cloud and at scale. With SimSpace Weaver, simulation developers are no longer limited by the compute and memory of their hardware.\n\n\nOrganizations run simulations on situations that are rare, dangerous, or very expensive to test in the real world. For example, city managers can’t wait for a natural disaster to hit a city to test the response systems. Event planners don’t want to wait until a large sporting event to start to understand the impact the games will have on traffic. Scenarios like these need to be simulated in a safe environment in which planners can test different situations and tune each system.\n\nUntil today, spatial simulations were generally confined to being run on a single piece of hardware. If developers wanted to simulate a bigger and more complex world with lots of independent and dynamic entities, they needed to provision a bigger computer. Simulation developers were forced to make trade-offs between scale and fidelity, in other words, deciding how big the world is and how many independent entities there are.\n\nThe world we live in is complex, and the scenarios that developers want to simulate are very complex as well—for example, how traffic will be affected by a large concert or sporting event. Simulating these events requires modeling hundreds of thousands of independent dynamic entities to represent the people and vehicles. Each entity has its own set of behaviors that need to be modeled as it moves throughout the world and interacts with other entities. Simulating this at a real-world scale requires CPU and memory beyond what you can have in one instance.\n\nWith SimSpace Weaver, you can run simulations at scale across multiple [Amazon Elastic Compute Cloud (Amazon EC2)](http://aws.amazon.com/ec2) instances. It supports simulating upwards of a million independent and dynamic entities.\n\n### ++When to Use SimSpace Weaver++\nUse SimSpace Weaver when you need to increase the scale or complexity of your simulations. SimSpace Weaver is great at simulating crowds. This is very useful, for example, when you’re planning large events or planning to build infrastructure like a new stadium. It is also ideal for simulating smart cities, complete with vehicles, inhabitants, and other objects.\n\nAWS SimSpace Weaver lets you connect external clients to your simulations so that you can interact and view the simulations with multiple users in real time.\n\n\n### ++How SimSpace Weaver Works++\nWhen using SimSpace Weaver, you can parallelize your spatial simulations workloads across multiple instances. Scale your simulations across up to 10 EC2 instances by specifying the compute capacity needed for the simulation and how it should be split into partitions. SimSpace Weaver handles the provisioning of the EC2 instances, launches the simulation applications, and cleans the environment after the simulation ends.\n\nIn the following image, you can see a representation of how a spatial area, in this case, a city, is spatially partitioned across different instances. Each row represents an instance. The example simulation in this image contains 10 instances, and each instance handles 16 partitions.\n\n![image.png](https://dev-media.amazoncloud.cn/86a017a0dd4e4dbd8aa52a3797e381bc_image.png)\n\nWhen working with multiple partitions, you don’t need to worry about the complexities of transferring entities between partitions. The SimSpace Weaver data replication system handles the networking and memory management for doing the transferring, regardless of whether the partitions are in the same EC2 instance or in a different one.\n\nAnother important feature that SimSpace Weaver provides is the scheduler. The SimSpace Weaver scheduler keeps all the distributed partitions synchronized at a set simulation tick rate (10, 15, or, 30 Hz), so the simulation behaves as if it was run on one machine.\n\nSimSpace Weaver provides the infrastructure to weave together a simulation across multiple instances, but it is not a simulator. Build your simulations by integrating the AWS SimSpace Weaver C++ SDK with your code. Integrating with the SDK allows your applications to interface with the SimSpace Weaver software running in your instances. This allows SimSpace Weaver to track the global state of all your simulated entities and facilitates the transfer of entities between simulation applications. Developers building with Unreal [Engine 5](https://www.unrealengine.com/en-US/unreal-engine-5) or [Unity](https://unity.com/) can take advantage of the SimSpace Weaver out-of-the-box plugins to jump-start their projects.\n\n### ++Getting Started++\nYou can get started with SimSpace Weaver from the [AWS Management Console](http://aws.amazon.com/console) or the [AWS Command-Line Interface](http://aws.amazon.com/cli) (AWS CLI).\n\n![image.png](https://dev-media.amazoncloud.cn/a28fb12355e74f7eabb77c3aa13a4676_image.png)\n\n\nFrom the console, use our one-click sample to quickly launch your first simulation. This is a simple example of a simulation divided into four different partitions. This simulation involves spherical entities that move freely throughout the world, avoiding each other and static objects.\n\n\n![image.png](https://dev-media.amazoncloud.cn/40b8d796504e489b89cce24ddb550498_image.png)\n\nThe wizard guides you through the main steps for running a demo simulation:\n\n1. Download the client demo application. This is a prebuilt application that you use later to view the simulation running in the cloud. You can only run this demo application using a computer with Windows operating system.\n2. Start the simulation infrastructure in the cloud. SimSpace Weaver takes care of deploying all the infrastructure you need in order to run this simulation.\n3. View the simulation using the demo application you downloaded in the first step. The following image shows the result of running this simulation. Each color represents a different partition.\n\n![image.png](https://dev-media.amazoncloud.cn/d18e26b26be94584b438d84bc0d81dc7_image.png)\n\n\n### ++Available Now++\nDevelopers using SimSpace Weaver pay for the number of instances they use for the length of their simulation, with no up-front costs or licenses.\n\nSimSpace Weaver is available in the US East (Ohio), US East (Northern Virginia), US West (Oregon), Asia-Pacific (Singapore), Asia-Pacific (Sydney), Europe (Ireland), Europe (Frankfurt), and Europe (Stockholm) AWS Regions.\n\nYou can get started with SimSpace Weaver today from the console and the AWS CLI. Learn more about [SimSpace Weaver on the service page.](https://aws.amazon.com/simspaceweaver/)\n\n— [Marcia](https://twitter.com/mavi888uy)\n\n![image.png](https://dev-media.amazoncloud.cn/7f19b308b1e2439db402f0023fad5647_image.png)\n\n\n### Marcia Villalba\nMarcia Villalba is a Principal Developer Advocate for Amazon Web Services. She has almost 20 years of experience working in the software industry building and scaling applications. Her passion is designing systems that can take full advantage of the cloud and embrace the DevOps culture.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","render":"<p>Today, we’re announcing <a href=\"https://aws.amazon.com/simspaceweaver/\" target=\"_blank\">AWS SimSpace Weaver</a>, a new compute service to run real-time spatial simulations in the cloud and at scale. With SimSpace Weaver, simulation developers are no longer limited by the compute and memory of their hardware.</p>\n<p>Organizations run simulations on situations that are rare, dangerous, or very expensive to test in the real world. For example, city managers can’t wait for a natural disaster to hit a city to test the response systems. Event planners don’t want to wait until a large sporting event to start to understand the impact the games will have on traffic. Scenarios like these need to be simulated in a safe environment in which planners can test different situations and tune each system.</p>\n<p>Until today, spatial simulations were generally confined to being run on a single piece of hardware. If developers wanted to simulate a bigger and more complex world with lots of independent and dynamic entities, they needed to provision a bigger computer. Simulation developers were forced to make trade-offs between scale and fidelity, in other words, deciding how big the world is and how many independent entities there are.</p>\n<p>The world we live in is complex, and the scenarios that developers want to simulate are very complex as well—for example, how traffic will be affected by a large concert or sporting event. Simulating these events requires modeling hundreds of thousands of independent dynamic entities to represent the people and vehicles. Each entity has its own set of behaviors that need to be modeled as it moves throughout the world and interacts with other entities. Simulating this at a real-world scale requires CPU and memory beyond what you can have in one instance.</p>\n<p>With SimSpace Weaver, you can run simulations at scale across multiple <a href=\"http://aws.amazon.com/ec2\" target=\"_blank\">Amazon Elastic Compute Cloud (Amazon EC2)</a> instances. It supports simulating upwards of a million independent and dynamic entities.</p>\n<h3><a id=\"When_to_Use_SimSpace_Weaver_11\"></a><ins>When to Use SimSpace Weaver</ins></h3>\n<p>Use SimSpace Weaver when you need to increase the scale or complexity of your simulations. SimSpace Weaver is great at simulating crowds. This is very useful, for example, when you’re planning large events or planning to build infrastructure like a new stadium. It is also ideal for simulating smart cities, complete with vehicles, inhabitants, and other objects.</p>\n<p>AWS SimSpace Weaver lets you connect external clients to your simulations so that you can interact and view the simulations with multiple users in real time.</p>\n<h3><a id=\"How_SimSpace_Weaver_Works_17\"></a><ins>How SimSpace Weaver Works</ins></h3>\n<p>When using SimSpace Weaver, you can parallelize your spatial simulations workloads across multiple instances. Scale your simulations across up to 10 EC2 instances by specifying the compute capacity needed for the simulation and how it should be split into partitions. SimSpace Weaver handles the provisioning of the EC2 instances, launches the simulation applications, and cleans the environment after the simulation ends.</p>\n<p>In the following image, you can see a representation of how a spatial area, in this case, a city, is spatially partitioned across different instances. Each row represents an instance. The example simulation in this image contains 10 instances, and each instance handles 16 partitions.</p>\n<p><img src=\"https://dev-media.amazoncloud.cn/86a017a0dd4e4dbd8aa52a3797e381bc_image.png\" alt=\"image.png\" /></p>\n<p>When working with multiple partitions, you don’t need to worry about the complexities of transferring entities between partitions. The SimSpace Weaver data replication system handles the networking and memory management for doing the transferring, regardless of whether the partitions are in the same EC2 instance or in a different one.</p>\n<p>Another important feature that SimSpace Weaver provides is the scheduler. The SimSpace Weaver scheduler keeps all the distributed partitions synchronized at a set simulation tick rate (10, 15, or, 30 Hz), so the simulation behaves as if it was run on one machine.</p>\n<p>SimSpace Weaver provides the infrastructure to weave together a simulation across multiple instances, but it is not a simulator. Build your simulations by integrating the AWS SimSpace Weaver C++ SDK with your code. Integrating with the SDK allows your applications to interface with the SimSpace Weaver software running in your instances. This allows SimSpace Weaver to track the global state of all your simulated entities and facilitates the transfer of entities between simulation applications. Developers building with Unreal <a href=\"https://www.unrealengine.com/en-US/unreal-engine-5\" target=\"_blank\">Engine 5</a> or <a href=\"https://unity.com/\" target=\"_blank\">Unity</a> can take advantage of the SimSpace Weaver out-of-the-box plugins to jump-start their projects.</p>\n<h3><a id=\"Getting_Started_30\"></a><ins>Getting Started</ins></h3>\n<p>You can get started with SimSpace Weaver from the <a href=\"http://aws.amazon.com/console\" target=\"_blank\">AWS Management Console</a> or the <a href=\"http://aws.amazon.com/cli\" target=\"_blank\">AWS Command-Line Interface</a> (AWS CLI).</p>\n<p><img src=\"https://dev-media.amazoncloud.cn/a28fb12355e74f7eabb77c3aa13a4676_image.png\" alt=\"image.png\" /></p>\n<p>From the console, use our one-click sample to quickly launch your first simulation. This is a simple example of a simulation divided into four different partitions. This simulation involves spherical entities that move freely throughout the world, avoiding each other and static objects.</p>\n<p><img src=\"https://dev-media.amazoncloud.cn/40b8d796504e489b89cce24ddb550498_image.png\" alt=\"image.png\" /></p>\n<p>The wizard guides you through the main steps for running a demo simulation:</p>\n<ol>\n<li>Download the client demo application. This is a prebuilt application that you use later to view the simulation running in the cloud. You can only run this demo application using a computer with Windows operating system.</li>\n<li>Start the simulation infrastructure in the cloud. SimSpace Weaver takes care of deploying all the infrastructure you need in order to run this simulation.</li>\n<li>View the simulation using the demo application you downloaded in the first step. The following image shows the result of running this simulation. Each color represents a different partition.</li>\n</ol>\n<p><img src=\"https://dev-media.amazoncloud.cn/d18e26b26be94584b438d84bc0d81dc7_image.png\" alt=\"image.png\" /></p>\n<h3><a id=\"Available_Now_50\"></a><ins>Available Now</ins></h3>\n<p>Developers using SimSpace Weaver pay for the number of instances they use for the length of their simulation, with no up-front costs or licenses.</p>\n<p>SimSpace Weaver is available in the US East (Ohio), US East (Northern Virginia), US West (Oregon), Asia-Pacific (Singapore), Asia-Pacific (Sydney), Europe (Ireland), Europe (Frankfurt), and Europe (Stockholm) AWS Regions.</p>\n<p>You can get started with SimSpace Weaver today from the console and the AWS CLI. Learn more about <a href=\"https://aws.amazon.com/simspaceweaver/\" target=\"_blank\">SimSpace Weaver on the service page.</a></p>\n<p>— <a href=\"https://twitter.com/mavi888uy\" target=\"_blank\">Marcia</a></p>\n<p><img src=\"https://dev-media.amazoncloud.cn/7f19b308b1e2439db402f0023fad5647_image.png\" alt=\"image.png\" /></p>\n<h3><a id=\"Marcia_Villalba_62\"></a>Marcia Villalba</h3>\n<p>Marcia Villalba is a Principal Developer Advocate for Amazon Web Services. She has almost 20 years of experience working in the software industry building and scaling applications. Her passion is designing systems that can take full advantage of the cloud and embrace the DevOps culture.</p>\n"}
0
目录
关闭
contact-us