Introducing Amazon GameLift Anywhere – Run Your Game Servers on Your Own Infrastructure

海外精选
re:Invent
Amazon Gamelift
海外精选的内容汇集了全球优质的亚马逊云科技相关技术内容。同时,内容中提到的“AWS” 是 “Amazon Web Services” 的缩写,在此网站不作为商标展示。
0
0
{"value":"In 2016, we launched [Amazon GameLift](https://aws.amazon.com/gamelift), a dedicated hosting solution that securely deploys and automatically scales fleets of session-based multiplayer game servers to meet worldwide player demand.\n\nWith [Amazon GameLift](https://aws.amazon.com/gamelift), you can create and upload a game server build once, replicate, and then deploy across [multiple AWS Regions](https://aws.amazon.com/blogs/gametech/amazon-gamelift-is-now-easier-to-manage-fleets-across-regions/) and [AWS Local Zones](https://aws.amazon.com/blogs/gametech/amazon-gamelift-launches-support-for-aws-local-zones/) to reach your players with low-latency experiences across the world. GameLift also includes standalone features for low-cost game fleets with [GameLift FleetIQ](https://aws.amazon.com/blogs/aws/amazon-gamelift-fleetiq-and-spot-instances-save-up-to-90-on-game-server-hosting/) and player matchmaking with [GameLift FlexMatch](https://aws.amazon.com/blogs/gametech/matchmaking-your-way-amazon-gamelift-flexmatch-and-game-session-queues/).\n\nGame developers asked us to reduce the wait time to deploy a candidate server build to the cloud each time they needed to test and iterate their game during the development phase. In addition, our customers told us that they often have ongoing bare-metal contracts or on-premises game servers and want the flexibility to use their existing infrastructure with cloud servers.\n\nToday we are announcing the general availability of **[Amazon GameLift Anywhere](https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-creating-anywhere.html)**, which decouples game session management from the underlying compute resources. With this new release, you can now register and deploy any hardware, including your own local workstations, under a logical construct called an Anywhere Fleet.\n\n\nBecause your local hardware can now be a GameLift-managed server, you can iterate on the server build in your familiar local desktop environment, and any server error can materialize in seconds. You can also set breakpoints in your environment’s debugger, thereby eliminating trial and error and further speeding up the iteration process.\n\n\n![image.png](https://dev-media.amazoncloud.cn/f1d9a9a7606c4a83b46cf9a15ce4c943_image.png)\n\nHere are the major benefits for game developers to use GameLift Anywhere.\n\n- **Faster game development** – Instantly test and iterate on your local workstation while still leveraging GameLift FlexMatch and Queue services.\n- **Hybrid server management** – Deploy, operate, and scale dedicated game servers hosted in the cloud or on-premises, all from a single location.\n- **Streamline server operations** – Reduce cost and operational complexity by unifying server infrastructure under a single game server orchestration layer.\n\nDuring the beta period of GameLift Anywhere, lots of customers gave feedback. For example, [Nitro Games](https://www.nitrogames.com/) has been an [Amazon GameLift](https://aws.amazon.com/cn/gamelift/?trk=cndc-detail) customer since 2020 and have used the service for player matchmaking and managing dedicated game servers in the cloud. Daniel Liljeqvist, Senior DevOps Engineer at Nitro Games said “With GameLift Anywhere we can easily debug a game server on our local machine, saving us time and making the feedback loop much shorter when we are developing new games and features.”\n\nGameLift Anywhere resources such as locations, fleets, and compute are managed through the same highly secure AWS API endpoints as all AWS services. This also applies to generating the authentication tokens for game server processes that are only valid for a limited amount of time for additional security. You can leverage [AWS Identity and Access Management](https://aws.amazon.com/iam/) ([AWS IAM](https://aws.amazon.com/cn/iam/?trk=cndc-detail)) roles and policies to fully manage access to all the GameLift Anywhere endpoints.\n\t\n### ++Getting Started with GameLift Anywhere++\nBefore creating your GameLift fleet in your local hardware, you can create custom locations to run your game builds or scripts. Choose **Locations** in the left navigation pane of the [GameLift console](https://console.aws.amazon.com/gamelift/locations) and select **Create location**.\n\n![image.png](https://dev-media.amazoncloud.cn/ed7f60802acf4c89b35ca9bf050ee284_image.png)\n\n\nYou can create a custom location of your hardware that you can use with your GameLift Anywhere fleet to test your games.\n\n![image.png](https://dev-media.amazoncloud.cn/350b5216caab45d0b6bf6223b23ef2b6_image.png)\n\n\n**Choose **Fleets** from the left navigation pane, then choose Create fleet** to add your GameLift Anywhere fleet in the desired location.\n\n![image.png](https://dev-media.amazoncloud.cn/ffd34c66c75542769947f691c98c62b2_image.png)\n\nChoose **Anywhere** on the **Choose compute type** step.\n\n![image.png](https://dev-media.amazoncloud.cn/f3e39b526500499d8758af8c2df15c4f_image.png)\n\n\nDefine your fleet details, such as a fleet name and optional items. For more information on settings, see [Create a new GameLift fleet](https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-creating-all.html) in the AWS documentation.\n\n![image.png](https://dev-media.amazoncloud.cn/07c8c1007b3148a28a7b880f9f5d4676_image.png)\n\n\nOn the **Select locations** step, select the custom location that you created. The home AWS Region is automatically selected as the Region you are creating the fleet in. You can use the home Region to access and use your resources.\n\n\n![image.png](https://dev-media.amazoncloud.cn/9b791f70f2254c18995def280a2facd4_image.png)\n\nAfter completing the fleet creation steps to create your Anywhere fleet, you can see active fleets in both the managed EC2 instances and the Anywhere location. You also can integrate remote on-premises hardware by adding more GameLift Anywhere locations, so you can manage your game sessions from one place. To learn more, see [Create a new GameLift fleet](https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-creating-all.html) in the AWS documentation.\n\n![image.png](https://dev-media.amazoncloud.cn/1f4ff1cf53de499081102bcf890173f9_image.png)\n\nYou can register your laptop as a compute resource in the fleet that you created. Use the fleet-id created in the previous step and add a ```compute-name``` and your laptop’s ```ip-address```.\n\n\n```\\n\$ aws gamelift register-compute \\\\\\n --compute-name ChannyDevLaptop \\\\\\n --fleet-id fleet-12345678-abcdefghi \\\\\\n --ip-address 10.1.2.3\\n```\nNow, you can start a debug session of your game server by retrieving the authorization token for your laptop in the fleet that you created.\n\n```\\n\$ aws gamelift get-compute-auth-token \\\\\\n --fleet-id fleet-12345678-abcdefghi \\\\\\n --compute-name ChannyDevLaptop\\n\\n```\n\nTo run a debug instance of your game server executable, your game server must call ```InitSDK()```. After the process is ready to host a game session, the game server calls ```ProcessReady()```. To learn more, see [Integrating games with custom game servers](https://docs.aws.amazon.com/gamelift/latest/developerguide/integration-custom-intro.html) and [Testing your integration](https://docs.aws.amazon.com/gamelift/latest/developerguide/integration-testing-local.html) in the AWS documentation.\n\n### ++Now Available++\n[Amazon GameLift](https://aws.amazon.com/cn/gamelift/?trk=cndc-detail) Anywhere is available in all Regions where [Amazon GameLift](https://aws.amazon.com/cn/gamelift/?trk=cndc-detail) is available. GameLift offers a [step-by-step developer guide](https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-intro.html), [API reference guide](http://docs.aws.amazon.com/gamelift/latest/apireference/Welcome.html), and [GameLift SDKs](http://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-supported.html). You can also see for yourself how easy it is to test [Amazon GameLift](https://aws.amazon.com/cn/gamelift/?trk=cndc-detail) using [our sample game](https://us-west-2.console.aws.amazon.com/gamelift/home?region=us-west-2#/r/fleets/sample) to get started.\n\nGive it a try, and please send feedback to [AWS re:Post for Amazon GameLift](https://repost.aws/tags/TAF8-XUqojTsadH5jSz3IfGQ/amazon-game-lift) or through your usual AWS support contacts.\n\n– [Channy](https://twitter.com/)\n\n\n![4cb1206ddc6551fff41080fcf865b37.png](https://dev-media.amazoncloud.cn/c7eca6e84dc74829afcb865689b690ed_4cb1206ddc6551fff41080fcf865b37.png)\n\n### **[Channy Yun](https://aws.amazon.com/blogs/aws/author/channy-yun/)**\nChanny Yun is a Principal Developer Advocate for AWS, and passionate about helping developers to build modern applications on latest AWS services. A pragmatic developer and blogger at heart, he loves community-driven learning and sharing of technology, which has funneled developers to global AWS Usergroups. His main topics are open-source, container, storage, network & security, and IoT. Follow him on Twitter at @channyun.\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\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>In 2016, we launched <a href=\\"https://aws.amazon.com/gamelift\\" target=\\"_blank\\">Amazon GameLift</a>, a dedicated hosting solution that securely deploys and automatically scales fleets of session-based multiplayer game servers to meet worldwide player demand.</p>\\n<p>With <a href=\\"https://aws.amazon.com/gamelift\\" target=\\"_blank\\">Amazon GameLift</a>, you can create and upload a game server build once, replicate, and then deploy across <a href=\\"https://aws.amazon.com/blogs/gametech/amazon-gamelift-is-now-easier-to-manage-fleets-across-regions/\\" target=\\"_blank\\">multiple AWS Regions</a> and <a href=\\"https://aws.amazon.com/blogs/gametech/amazon-gamelift-launches-support-for-aws-local-zones/\\" target=\\"_blank\\">AWS Local Zones</a> to reach your players with low-latency experiences across the world. GameLift also includes standalone features for low-cost game fleets with <a href=\\"https://aws.amazon.com/blogs/aws/amazon-gamelift-fleetiq-and-spot-instances-save-up-to-90-on-game-server-hosting/\\" target=\\"_blank\\">GameLift FleetIQ</a> and player matchmaking with <a href=\\"https://aws.amazon.com/blogs/gametech/matchmaking-your-way-amazon-gamelift-flexmatch-and-game-session-queues/\\" target=\\"_blank\\">GameLift FlexMatch</a>.</p>\\n<p>Game developers asked us to reduce the wait time to deploy a candidate server build to the cloud each time they needed to test and iterate their game during the development phase. In addition, our customers told us that they often have ongoing bare-metal contracts or on-premises game servers and want the flexibility to use their existing infrastructure with cloud servers.</p>\n<p>Today we are announcing the general availability of <strong><a href=\\"https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-creating-anywhere.html\\" target=\\"_blank\\">Amazon GameLift Anywhere</a></strong>, which decouples game session management from the underlying compute resources. With this new release, you can now register and deploy any hardware, including your own local workstations, under a logical construct called an Anywhere Fleet.</p>\n<p>Because your local hardware can now be a GameLift-managed server, you can iterate on the server build in your familiar local desktop environment, and any server error can materialize in seconds. You can also set breakpoints in your environment’s debugger, thereby eliminating trial and error and further speeding up the iteration process.</p>\n<p><img src=\\"https://dev-media.amazoncloud.cn/f1d9a9a7606c4a83b46cf9a15ce4c943_image.png\\" alt=\\"image.png\\" /></p>\n<p>Here are the major benefits for game developers to use GameLift Anywhere.</p>\n<ul>\\n<li><strong>Faster game development</strong> – Instantly test and iterate on your local workstation while still leveraging GameLift FlexMatch and Queue services.</li>\\n<li><strong>Hybrid server management</strong> – Deploy, operate, and scale dedicated game servers hosted in the cloud or on-premises, all from a single location.</li>\\n<li><strong>Streamline server operations</strong> – Reduce cost and operational complexity by unifying server infrastructure under a single game server orchestration layer.</li>\\n</ul>\n<p>During the beta period of GameLift Anywhere, lots of customers gave feedback. For example, <a href=\\"https://www.nitrogames.com/\\" target=\\"_blank\\">Nitro Games</a> has been an [Amazon GameLift](https://aws.amazon.com/cn/gamelift/?trk=cndc-detail) customer since 2020 and have used the service for player matchmaking and managing dedicated game servers in the cloud. Daniel Liljeqvist, Senior DevOps Engineer at Nitro Games said “With GameLift Anywhere we can easily debug a game server on our local machine, saving us time and making the feedback loop much shorter when we are developing new games and features.”</p>\\n<p>GameLift Anywhere resources such as locations, fleets, and compute are managed through the same highly secure AWS API endpoints as all AWS services. This also applies to generating the authentication tokens for game server processes that are only valid for a limited amount of time for additional security. You can leverage <a href=\\"https://aws.amazon.com/iam/\\" target=\\"_blank\\">AWS Identity and Access Management</a> ([AWS IAM](https://aws.amazon.com/cn/iam/?trk=cndc-detail)) roles and policies to fully manage access to all the GameLift Anywhere endpoints.</p>\\n<h3><a id=\\"Getting_Started_with_GameLift_Anywhere_24\\"></a><ins>Getting Started with GameLift Anywhere</ins></h3>\\n<p>Before creating your GameLift fleet in your local hardware, you can create custom locations to run your game builds or scripts. Choose <strong>Locations</strong> in the left navigation pane of the <a href=\\"https://console.aws.amazon.com/gamelift/locations\\" target=\\"_blank\\">GameLift console</a> and select <strong>Create location</strong>.</p>\\n<p><img src=\\"https://dev-media.amazoncloud.cn/ed7f60802acf4c89b35ca9bf050ee284_image.png\\" alt=\\"image.png\\" /></p>\n<p>You can create a custom location of your hardware that you can use with your GameLift Anywhere fleet to test your games.</p>\n<p><img src=\\"https://dev-media.amazoncloud.cn/350b5216caab45d0b6bf6223b23ef2b6_image.png\\" alt=\\"image.png\\" /></p>\n<p><strong>Choose <strong>Fleets</strong> from the left navigation pane, then choose Create fleet</strong> to add your GameLift Anywhere fleet in the desired location.</p>\n<p><img src=\\"https://dev-media.amazoncloud.cn/ffd34c66c75542769947f691c98c62b2_image.png\\" alt=\\"image.png\\" /></p>\n<p>Choose <strong>Anywhere</strong> on the <strong>Choose compute type</strong> step.</p>\\n<p><img src=\\"https://dev-media.amazoncloud.cn/f3e39b526500499d8758af8c2df15c4f_image.png\\" alt=\\"image.png\\" /></p>\n<p>Define your fleet details, such as a fleet name and optional items. For more information on settings, see <a href=\\"https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-creating-all.html\\" target=\\"_blank\\">Create a new GameLift fleet</a> in the AWS documentation.</p>\\n<p><img src=\\"https://dev-media.amazoncloud.cn/07c8c1007b3148a28a7b880f9f5d4676_image.png\\" alt=\\"image.png\\" /></p>\n<p>On the <strong>Select locations</strong> step, select the custom location that you created. The home AWS Region is automatically selected as the Region you are creating the fleet in. You can use the home Region to access and use your resources.</p>\\n<p><img src=\\"https://dev-media.amazoncloud.cn/9b791f70f2254c18995def280a2facd4_image.png\\" alt=\\"image.png\\" /></p>\n<p>After completing the fleet creation steps to create your Anywhere fleet, you can see active fleets in both the managed EC2 instances and the Anywhere location. You also can integrate remote on-premises hardware by adding more GameLift Anywhere locations, so you can manage your game sessions from one place. To learn more, see <a href=\\"https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-creating-all.html\\" target=\\"_blank\\">Create a new GameLift fleet</a> in the AWS documentation.</p>\\n<p><img src=\\"https://dev-media.amazoncloud.cn/1f4ff1cf53de499081102bcf890173f9_image.png\\" alt=\\"image.png\\" /></p>\n<p>You can register your laptop as a compute resource in the fleet that you created. Use the fleet-id created in the previous step and add a <code>compute-name</code> and your laptop’s <code>ip-address</code>.</p>\\n<pre><code class=\\"lang-\\">\$ aws gamelift register-compute \\\\\\n --compute-name ChannyDevLaptop \\\\\\n --fleet-id fleet-12345678-abcdefghi \\\\\\n --ip-address 10.1.2.3\\n</code></pre>\\n<p>Now, you can start a debug session of your game server by retrieving the authorization token for your laptop in the fleet that you created.</p>\n<pre><code class=\\"lang-\\">\$ aws gamelift get-compute-auth-token \\\\\\n --fleet-id fleet-12345678-abcdefghi \\\\\\n --compute-name ChannyDevLaptop\\n\\n</code></pre>\\n<p>To run a debug instance of your game server executable, your game server must call <code>InitSDK()</code>. After the process is ready to host a game session, the game server calls <code>ProcessReady()</code>. To learn more, see <a href=\\"https://docs.aws.amazon.com/gamelift/latest/developerguide/integration-custom-intro.html\\" target=\\"_blank\\">Integrating games with custom game servers</a> and <a href=\\"https://docs.aws.amazon.com/gamelift/latest/developerguide/integration-testing-local.html\\" target=\\"_blank\\">Testing your integration</a> in the AWS documentation.</p>\\n<h3><a id=\\"Now_Available_78\\"></a><ins>Now Available</ins></h3>\\n<p>Amazon GameLift Anywhere is available in all Regions where Amazon GameLift is available. GameLift offers a <a href=\\"https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-intro.html\\" target=\\"_blank\\">step-by-step developer guide</a>, <a href=\\"http://docs.aws.amazon.com/gamelift/latest/apireference/Welcome.html\\" target=\\"_blank\\">API reference guide</a>, and <a href=\\"http://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-supported.html\\" target=\\"_blank\\">GameLift SDKs</a>. You can also see for yourself how easy it is to test [Amazon GameLift](https://aws.amazon.com/cn/gamelift/?trk=cndc-detail) using <a href=\\"https://us-west-2.console.aws.amazon.com/gamelift/home?region=us-west-2#/r/fleets/sample\\" target=\\"_blank\\">our sample game</a> to get started.</p>\\n<p>Give it a try, and please send feedback to <a href=\\"https://repost.aws/tags/TAF8-XUqojTsadH5jSz3IfGQ/amazon-game-lift\\" target=\\"_blank\\">AWS re:Post for Amazon GameLift</a> or through your usual AWS support contacts.</p>\\n<p>– <a href=\\"https://twitter.com/\\" target=\\"_blank\\">Channy</a></p>\\n<p><img src=\\"https://dev-media.amazoncloud.cn/c7eca6e84dc74829afcb865689b690ed_4cb1206ddc6551fff41080fcf865b37.png\\" alt=\\"4cb1206ddc6551fff41080fcf865b37.png\\" /></p>\n<h3><a id=\\"Channy_Yunhttpsawsamazoncomblogsawsauthorchannyyun_88\\"></a><strong><a href=\\"https://aws.amazon.com/blogs/aws/author/channy-yun/\\" target=\\"_blank\\">Channy Yun</a></strong></h3>\n<p>Channy Yun is a Principal Developer Advocate for AWS, and passionate about helping developers to build modern applications on latest AWS services. A pragmatic developer and blogger at heart, he loves community-driven learning and sharing of technology, which has funneled developers to global AWS Usergroups. His main topics are open-source, container, storage, network &amp; security, and IoT. Follow him on Twitter at @channyun.</p>\n"}
目录
亚马逊云科技解决方案 基于行业客户应用场景及技术领域的解决方案
联系亚马逊云科技专家
亚马逊云科技解决方案
基于行业客户应用场景及技术领域的解决方案
联系专家
0
目录
关闭