{"id":30504,"date":"2024-09-17T13:05:00","date_gmt":"2024-09-17T13:05:00","guid":{"rendered":"https:\/\/mainstream.eu\/?post_type=case-studies&#038;p=30504"},"modified":"2024-09-17T13:05:00","modified_gmt":"2024-09-17T13:05:00","slug":"cofa-games-2","status":"publish","type":"case-studies","link":"https:\/\/mainstream.eu\/en\/case-studies\/cofa-games","title":{"rendered":"Secure and reliable IT infrastructure on Google Cloud"},"content":{"rendered":"\n<p>How our expert team helped the gaming project &#8220;Awakening of Heroes&#8221; achieve the desired level of scalability, stability, and security on Google Cloud infrastructure.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Project goals:<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Better scalability of resources. \u00a0<\/li>\n\n\n\n<li>Achieve server stability and data security.\u00a0<\/li>\n\n\n\n<li>High coverage within targeted regions to minimize data transfer latency.\u00a0<\/li>\n\n\n\n<li>Protection against DDoS attacks.\u00a0<\/li>\n\n\n\n<li>Automated release of new application versions, ensuring game launches on newer application versions.\u00a0<\/li>\n\n\n\n<li>Continuous infrastructure improvements and maintenance. \u00a0<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Approach:<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Establish communication with the AoH team and analyze and understand their needs.\u00a0<\/li>\n\n\n\n<li>Propose an action plan in line with\u00a0project requirements.\u00a0<\/li>\n\n\n\n<li>Monitor servers and analyze all potential security issues.\u00a0<\/li>\n\n\n\n<li>Create a stable and scalable solution on the Google Cloud platform.\u00a0<\/li>\n\n\n\n<li>Define the approach for updating new versions of the client\u2019s gaming application.\u00a0<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Results:<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Creation of a secure and reliable cloud infrastructure in Google Cloud.\u00a0<\/li>\n\n\n\n<li>A solution that is functional and scalable in both directions, independently of load and region. \u00a0<\/li>\n\n\n\n<li>No significant upfront capital investments.\u00a0<\/li>\n\n\n\n<li>Financial savings and increased revenue for the project Awakening of Heroes.\u00a0<\/li>\n<\/ul>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/mainstream.eu\/en\/case-studies\/cofa-games\/#COFA_Games_and_the_Video_Game_Awakening_of_Heroes\" >COFA Games and the Video Game Awakening of Heroes<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/mainstream.eu\/en\/case-studies\/cofa-games\/#Mainstreams_approach\" >Mainstream\u2019s approach<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/mainstream.eu\/en\/case-studies\/cofa-games\/#Final_Result\" >Final Result<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"COFA_Games_and_the_Video_Game_Awakening_of_Heroes\"><\/span>COFA Games and the Video Game Awakening of Heroes<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>&#8220;Awakening of Heroes&#8221; is a free 5-on-5 MOBA (Multiplayer Online Battle Arena) game developed by the Belgrade studio COFA Games. AoH contains role-playing and battle royale elements and is created for mobile devices (Android and iOS). Since its game is simultaneously accessed by multiple players globally, the company needed\u00a0a reliable and secure game hosting solution with low latency, high scalability, and high security.\u00a0After analyzing the needs of the COFA Games team, our team suggested Google Cloud as the optimal solution for the project.\u00a0<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/mainstream.eu\/wp-content\/uploads\/2020\/08\/awakening-of-heroes-1-1024x576.jpg\" alt=\"awakegning-of-heroes-cofa-games\" class=\"wp-image-7183\" srcset=\"https:\/\/mainstream.eu\/wp-content\/uploads\/2020\/08\/awakening-of-heroes-1-1024x576.jpg 1024w, https:\/\/mainstream.eu\/wp-content\/uploads\/2020\/08\/awakening-of-heroes-1-300x169.jpg 300w, https:\/\/mainstream.eu\/wp-content\/uploads\/2020\/08\/awakening-of-heroes-1-768x432.jpg 768w, https:\/\/mainstream.eu\/wp-content\/uploads\/2020\/08\/awakening-of-heroes-1.jpg 1244w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Mainstreams_approach\"><\/span>Mainstream\u2019s approach<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Awakening of Heroes is a complex project that includes numerous components and requires extensive resource allocation. To support thousands of users from around the world at any given moment, a dynamically scalable infrastructure was needed. The project required a systematic, detailed-oriented approach. Our first task was to establish communication with the team developing the game and provide answers to the following questions:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>What are the components of the project and how do they function as a whole?<\/li>\n\n\n\n<li>Which components need the most attention?<\/li>\n\n\n\n<li>What is the client&#8217;s goal?<\/li>\n<\/ul>\n\n\n\n<p>After obtaining all the necessary information, our team designed and implemented processes and work organization, offering a specific execution plan to meet all the requirements, complete all tasks, and develop tangible solutions with the potential to enhance the entire project, including cloud migration.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Goal 1: Developing the Game Room<\/h3>\n\n\n\n<p>The Game Room is a component that virtually brings together a group of AoH players participating in a single game session. The platform chosen by our client for building this component was <a href=\"https:\/\/mainstream.eu\/en\/public-cloud\/google-cloud\/\">Google Cloud<\/a>, with our task being to build servers in three different locations:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Asia\u00a0<\/li>\n\n\n\n<li>USA\u00a0<\/li>\n\n\n\n<li>Europe\u00a0<\/li>\n<\/ul>\n\n\n\n<p><strong>Our task was to build a dynamic server infrastructure that makes scalability possible and allows the platform to integrate new players at any moment.<\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Goal 2: Server Stability and Data Security<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Server Stability\u00a0<\/h4>\n\n\n\n<p>Proper <strong>server monitoring<\/strong> was crucial for both aspects \u2013 server stability and data security \u2013 but it is also closely related to server scalability. Unlike the web hosting environment, where server monitoring is a relatively simple task, the multiplayer game environment makes the whole process more complex and requires internal monitoring within the game itself.<\/p>\n\n\n\n<p>To achieve server stability, the AoH and Mainstream teams had to work together on the following:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The AoH team makes relevant data available.<\/li>\n\n\n\n<li>ur team collects and monitors the data.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Data Security and Stability\u00a0<\/h4>\n\n\n\n<p>Since some players are highly motivated to hack the game and bypass security measures to earn virtual money or advance in the game through cheating, it was vital to make such scenarios impossible.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Goal 3: Regional Coverage and Latency Reduction<\/h3>\n\n\n\n<p>As multiplayer video games are most often played by people from around the world, players must be grouped according to their location to avoid latency or the popular &#8220;lag.&#8221; With this in mind, each region needs to have a dedicated server used exclusively for local players, which is why most such games ask players for their location information. Unlike desktop video games, mobile multiplayer games are more sensitive to latency because players access the game via WiFi, 3G, or 4G internet connections.<\/p>\n\n\n\n<p><strong>Our task was to find the right service within Google Cloud and achieve an optimal level of scalability.<\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Goal 4: Protection from DDoS Attacks<\/h3>\n\n\n\n<p>The load balancer also acts as a protective barrier against DDoS (distributed denial-of-service) attacks. Since the load balancer is also defined as one of the cloud provider&#8217;s services, it is automatically protected from a certain amount of DDoS attacks, and its use directly affects the stability and security of the servers.\u00a0<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Goal 5: Reliable and Automated Game Launch on Newer Application Versions\u00a0<\/h3>\n\n\n\n<p>Having multiple regions where a new version of the application needs to be launched can be a challenge closely related to the application version users have on their devices. There are numerous components to consider, and the process of releasing a new version involves multiple phases that do not always occur in the same order.<\/p>\n\n\n\n<p>The best practice, and the one we decided to follow, is to first release the new version in the region with the fewest players and perform a Git push on the master branch so that the CI\/CD pipeline detects the new version and its release within the auto-scaling group can be done automatically.<\/p>\n\n\n\n<p>This process is most often done through the <strong>&#8220;blue-green deployment&#8221;<\/strong> strategy, during which one server group is removed from the auto-scaling group, and new servers containing the updated application version are added.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"356\" src=\"https:\/\/mainstream.eu\/wp-content\/uploads\/2020\/08\/aoh-cofa-games-case-study-blue-green-deployment-1024x356.png\" alt=\"\" class=\"wp-image-5543\" srcset=\"https:\/\/mainstream.eu\/wp-content\/uploads\/2020\/08\/aoh-cofa-games-case-study-blue-green-deployment-1024x356.png 1024w, https:\/\/mainstream.eu\/wp-content\/uploads\/2020\/08\/aoh-cofa-games-case-study-blue-green-deployment-300x104.png 300w, https:\/\/mainstream.eu\/wp-content\/uploads\/2020\/08\/aoh-cofa-games-case-study-blue-green-deployment-768x267.png 768w, https:\/\/mainstream.eu\/wp-content\/uploads\/2020\/08\/aoh-cofa-games-case-study-blue-green-deployment.png 1244w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Goal 6: Maintenance Phase\u00a0<\/h3>\n\n\n\n<p>The work process in this phase is very similar to that used when launching a new application version. The main goal is to achieve the highest possible level of availability for each application, which is achieved by using multiple servers placed behind load balancers.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Final_Result\"><\/span>Final Result<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>The most tangible result of our work lies in aspects of financial savings and increased final project revenue. This was achieved through the establishment of an infrastructure capable of supporting the initial number of players while also expanding as the number of players and the game&#8217;s popularity grows, eliminating the need for significant upfront capital investments.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How our expert team helped the gaming project &#8220;Awakening of Heroes&#8221; achieve the desired level of scalability, stability, and security<\/p>\n","protected":false},"featured_media":23122,"template":"","meta":{"_acf_changed":false,"footnotes":""},"categories":[],"class_list":["post-30504","case-studies","type-case-studies","status-publish","has-post-thumbnail","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Secure and reliable IT infrastructure on Google Cloud - Mainstream<\/title>\n<meta name=\"description\" content=\"Discover how COFA Games, with the support of the Mainstream team, created a stable and scalable environment on Google Cloud infrastructure for the game &quot;Awakening of Heroes.&quot;\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mainstream.eu\/en\/case-studies\/cofa-games\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Secure and reliable IT infrastructure on Google Cloud - Mainstream\" \/>\n<meta property=\"og:description\" content=\"Discover how COFA Games, with the support of the Mainstream team, created a stable and scalable environment on Google Cloud infrastructure for the game &quot;Awakening of Heroes.&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mainstream.eu\/en\/case-studies\/cofa-games\/\" \/>\n<meta property=\"og:site_name\" content=\"Mainstream\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/mainstream.eu\\\/en\\\/case-studies\\\/cofa-games\\\/\",\"url\":\"https:\\\/\\\/mainstream.eu\\\/en\\\/case-studies\\\/cofa-games\\\/\",\"name\":\"Secure and reliable IT infrastructure on Google Cloud - Mainstream\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mainstream.eu\\\/sr\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/mainstream.eu\\\/en\\\/case-studies\\\/cofa-games\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/mainstream.eu\\\/en\\\/case-studies\\\/cofa-games\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/mainstream.eu\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/cofa-games-case-study.svg\",\"datePublished\":\"2024-09-17T13:05:00+00:00\",\"description\":\"Discover how COFA Games, with the support of the Mainstream team, created a stable and scalable environment on Google Cloud infrastructure for the game \\\"Awakening of Heroes.\\\"\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/mainstream.eu\\\/en\\\/case-studies\\\/cofa-games\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/mainstream.eu\\\/en\\\/case-studies\\\/cofa-games\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/mainstream.eu\\\/en\\\/case-studies\\\/cofa-games\\\/#primaryimage\",\"url\":\"https:\\\/\\\/mainstream.eu\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/cofa-games-case-study.svg\",\"contentUrl\":\"https:\\\/\\\/mainstream.eu\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/cofa-games-case-study.svg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/mainstream.eu\\\/en\\\/case-studies\\\/cofa-games\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/mainstream.eu\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Secure and reliable IT infrastructure on Google Cloud\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/mainstream.eu\\\/sr\\\/#website\",\"url\":\"https:\\\/\\\/mainstream.eu\\\/sr\\\/\",\"name\":\"Mainstream\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/mainstream.eu\\\/sr\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Secure and reliable IT infrastructure on Google Cloud - Mainstream","description":"Discover how COFA Games, with the support of the Mainstream team, created a stable and scalable environment on Google Cloud infrastructure for the game \"Awakening of Heroes.\"","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/mainstream.eu\/en\/case-studies\/cofa-games\/","og_locale":"en_US","og_type":"article","og_title":"Secure and reliable IT infrastructure on Google Cloud - Mainstream","og_description":"Discover how COFA Games, with the support of the Mainstream team, created a stable and scalable environment on Google Cloud infrastructure for the game \"Awakening of Heroes.\"","og_url":"https:\/\/mainstream.eu\/en\/case-studies\/cofa-games\/","og_site_name":"Mainstream","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/mainstream.eu\/en\/case-studies\/cofa-games\/","url":"https:\/\/mainstream.eu\/en\/case-studies\/cofa-games\/","name":"Secure and reliable IT infrastructure on Google Cloud - Mainstream","isPartOf":{"@id":"https:\/\/mainstream.eu\/sr\/#website"},"primaryImageOfPage":{"@id":"https:\/\/mainstream.eu\/en\/case-studies\/cofa-games\/#primaryimage"},"image":{"@id":"https:\/\/mainstream.eu\/en\/case-studies\/cofa-games\/#primaryimage"},"thumbnailUrl":"https:\/\/mainstream.eu\/wp-content\/uploads\/2023\/12\/cofa-games-case-study.svg","datePublished":"2024-09-17T13:05:00+00:00","description":"Discover how COFA Games, with the support of the Mainstream team, created a stable and scalable environment on Google Cloud infrastructure for the game \"Awakening of Heroes.\"","breadcrumb":{"@id":"https:\/\/mainstream.eu\/en\/case-studies\/cofa-games\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mainstream.eu\/en\/case-studies\/cofa-games\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mainstream.eu\/en\/case-studies\/cofa-games\/#primaryimage","url":"https:\/\/mainstream.eu\/wp-content\/uploads\/2023\/12\/cofa-games-case-study.svg","contentUrl":"https:\/\/mainstream.eu\/wp-content\/uploads\/2023\/12\/cofa-games-case-study.svg"},{"@type":"BreadcrumbList","@id":"https:\/\/mainstream.eu\/en\/case-studies\/cofa-games\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/mainstream.eu\/en\/"},{"@type":"ListItem","position":2,"name":"Secure and reliable IT infrastructure on Google Cloud"}]},{"@type":"WebSite","@id":"https:\/\/mainstream.eu\/sr\/#website","url":"https:\/\/mainstream.eu\/sr\/","name":"Mainstream","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mainstream.eu\/sr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/mainstream.eu\/en\/wp-json\/wp\/v2\/case-studies\/30504","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mainstream.eu\/en\/wp-json\/wp\/v2\/case-studies"}],"about":[{"href":"https:\/\/mainstream.eu\/en\/wp-json\/wp\/v2\/types\/case-studies"}],"version-history":[{"count":0,"href":"https:\/\/mainstream.eu\/en\/wp-json\/wp\/v2\/case-studies\/30504\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mainstream.eu\/en\/wp-json\/wp\/v2\/media\/23122"}],"wp:attachment":[{"href":"https:\/\/mainstream.eu\/en\/wp-json\/wp\/v2\/media?parent=30504"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mainstream.eu\/en\/wp-json\/wp\/v2\/categories?post=30504"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}