he mobile client sends player events via the Game Analytics Pipeline to an Amazon Simple Storage Service (Amazon S3) bucket. AWS Glue transforms and marks players as ACTIVE, INACTIVE, or CHURN for data scientists. Data scientists prepare player data, test algorithms, and build a model with 10% of the dataset. Data scientists launch model training on 80% of the dataset and store the model in Amazon S3. The remaining 20% are used to test the model accuracy. The mobile client asks which ingame player retention action should be triggered (display promotional offer, give coins, give items, and so on). Batch Inference: A periodic AWS Glue job triggers a batch transformation job on the entire dataset, and copies the results in a player profile table in Amazon DynamoDB. The AWS Lambda function checks the player profile churn prediction and chooses the most appropriate retention action. Real-Time Inference: The Lambda function checks the player profile, and evaluates churn probability on the