Amazon Web Services- Supercell

Deepak
7 min readMar 11, 2021

Overview

Cloud computing is the on-demand availability of computer system resources, especially data storage (cloud storage) and computing power, without direct active management by the user. The term is generally used to describe data centers available to many users over the Internet. Large clouds, predominant today, often have functions distributed over multiple locations from central servers. If the connection to the user is relatively close, it may be designated an edge server.

What is AWS??

AWS

Amazon Web Services (AWS) is the world’s most comprehensive and broadly adopted cloud platform, offering over 200 fully featured services from data centers globally. Millions of customers — including the fastest-growing startups, largest enterprises, and leading government agencies — are using AWS to lower costs, become more agile, and innovate faster.

Why AWS

Most functionality

AWS has significantly more services, and more features within those services, than any other cloud provider–from infrastructure technologies like compute, storage, and databases–to emerging technologies, such as machine learning and artificial intelligence, data lakes and analytics, and Internet of Things. This makes it faster, easier, and more cost effective to move your existing applications to the cloud and build nearly anything you can imagine.

Largest community of customers and partners

Community
  • AWS has the largest and most dynamic community, with millions of active customers and tens of thousands of partners globally. Customers across virtually every industry and of every size, including startups, enterprises, and public sector organizations, are running every imaginable use case on AWS. The AWS Partner Network (APN) includes thousands of systems integrators who specialize in AWS services and tens of thousands of independent software vendors (ISVs) who adapt their technology to work on AWS.

Most secure

AWS is architected to be the most flexible and secure cloud computing environment available today. Our core infrastructure is built to satisfy the security requirements for the military, global banks, and other high-sensitivity organizations. This is backed by a deep set of cloud security tools, with 230 security, compliance, and governance services and features. AWS supports 90 security standards and compliance certifications, and all 117 AWS services that store customer data offer the ability to encrypt that data.

Most proven operational expertise

AWS has unmatched experience, maturity, reliability, security, and performance that you can depend upon for your most important applications. For over 14 years, AWS has been delivering cloud services to millions of customers around the world running a wide variety of use cases. AWS has the most operational experience, at greater scale, of any cloud provider.

AWS Customers list

Whether it’s technology giants, television networks, banks, food manufacturers or governments, many different organisations are using AWS to develop, deploy and host applications.

Company List that are recorded publicly :

Supercell,Aon, Adobe, Airbnb, Alcatel-Lucent, AOL, Acquia, AdRoll, AEG, Alert Logic, Autodesk, Bitdefender, BMW, British Gas, Baidu, Bristol-Myers Squibb, Canon, Capital One, Channel 4, Chef, Citrix, Coinbase, Comcast, Coursera, Disney, Docker, Dow Jones, European Space Agency, ESPN, Expedia, Financial Times, FINRA, General Electric, GoSquared, Guardian News & Media, Harvard Medical School, Hearst Corporation, Hitachi, HTC, IMDb, International Centre for Radio Astronomy Research, International Civil Aviation Organization, ITV, iZettle, Johnson & Johnson…

This list is ever ending. So lets talk about one of the Game Tech Supercell and how does it effected

Clash of Clan

Supercell Case Study

Supercell is a Finland-based mobile game developer with hundreds of millions of active players and five globally-successful titles, including Clash of Clans, Brawl Stars, and Hay Day. Supercell’s unique culture drives small teams, with only three server engineers, to develop games with independence and agility. To move faster and scale games with minimal operational overhead, Supercell migrated its 300 databases to Amazon Aurora.

The Challenge

“When Supercell launched,” says Sami Yliharju, services lead at Supercell, “the founders wanted to create a company where the focus would be on the best people making the best games.” Designing specifically for mobile lets the developers concentrate on creating the best experience for gamers — and working in small development teams helps, too. Each game team is unique, but usually includes a lead, a game designer, a game tester, an artist, a server engineer, and a game programmer. Supporting technical teams are of similar size, but have a different structure depending on their responsibilities.

These technical teams at Supercell needed not only cloud computing services that were easy to use, powerful, and reliable, but also a set of services that matched their requirements for high-volume games performance, scalability, and rapid growth. “Similarly, we need a powerful infrastructure for running our data pipelines, analytics platform and web offerings. Choosing Amazon Web Services was an easy decision, and we’ve been using its cloud technologies since day one,” says Yliharju.

Why Choose Amazon Web Services

Supercell games require thousands of servers at any one time. For each of its players, Supercell needs a session on the server side — and the number of servers that are required grows with the number of concurrent users playing the game. The entire game infrastructure runs on Amazon Web Services (AWS). Supercell employs Amazon Elastic Compute Cloud (Amazon EC2) instances spread around multiple Availability Zones to increase availability and Amazon Simple Storage Service (Amazon S3) to store up to 10 terabytes of games event data each day. Long-term storage, backups, and archiving are handled in the low-cost Amazon Glacier storage service. Elastic Load Balancing is used to distribute incoming web and event traffic across instances. Supercell uses Amazon CloudFront, Amazon ElastiCache, Amazon API Gateway, and AWS Lambda to deliver dynamic web content around the world, using edge locations for improved latency.

Supercell is using Amazon Kinesis for real-time delivery of in-game data, handling 45 billion events per day. Whereas it recently ran its own Hadoop instances on Amazon EC2, it now uses Amazon Elastic MapReduce (Amazon EMR) to provide a managed Hadoop framework before passing the data into its data warehouse service running on top of Amazon EC2 instances. Kinesis data is also read into Amazon DynamoDB. “Amazon DynamoDB is good for use cases like ours where scalability and speed are crucial,” says Yliharju.

To monitor, manage, and control its environment, Supercell uses a range of tools in the AWS Console. Amazon CloudWatch and AWS CloudTrail allow it to monitor the current environment and give it a detailed log of all actions in the development and production environments. “The AWS API is one of the most important services for us — we use it a lot,” Yliharju says. “For example, the API commands allow us to easily manage and boot up new servers and even run full load-testing environments to simulate different situations and determine our capacity needs.” Supercell also makes good use of the Amazon API Gateway, and it uses AWS Lambda to run code in response to events and automatically manage the associated compute resources. Yliharju says, “We use AWS Lambda and the API Gateway when building API-based services that need scalability.”

The Benefits

Using AWS helps Supercell keep its focus on what it does best: developing games that keep its players happy. “Since the launch of our three games, our player base has expanded at an incredible pace,” says Yliharju. “We don’t have to worry about being able to manage our infrastructure to match our growth — AWS tools make it easy for us.”

This scalability has allowed the company to expand into China, which is home to one quarter of all Internet users and represents a huge market opportunity. “The size of our infrastructure would be very hard to maintain with a physical on-premises setup, especially as the success of game releases is not predictable,” says Yliharju.

Using Amazon Kinesis, Supercell can process data up 45 billion in-game events a day. “We collect data because our games don’t stay in the top-ten lists automatically. Success has to be earned by listening to the community and the players, providing additional features, and balancing the game to make it fair for everyone. Amazon Kinesis gives our business-critical analytics and dashboard applications the data streams they need, reliably and without delays,” Yliharju says. “Amazon Kinesis does a lot of the heavy lifting, and lets Supercell focus on delivering games that delight players worldwide.” With this insight, developers can make in-game changes either on the fly or in larger, scheduled updates. This data also provides in-depth information to the Supercell support team, helping it support the player community.

The company also benefits from AWS Enterprise Support. “AWS Support is always available whenever we need it,” Yliharju says. “We particularly like learning about upcoming AWS features and changes in advance from our technical account manager, so we have time to prepare.

“The world of gaming never sleeps. We have a 24/7 audience,” Yliharju concludes. “We owe every player a great experience, and AWS is our platform to make that happen.”

  • Focuses on developing games that keeps players happy instead of managing infrastructure
  • Expands to new regions
  • Processes up to 45 billion in-game events every day

--

--

Deepak

RHEL8 | AWS | Ansible | Docker| K8s | Jenkins