+55 21 3828-2384 +55 21 99573-2384 contato@kxc.com.br Careers

Case study

ABRADEE — Project ONEE

AWS infrastructure for Project ONEE, a nationwide energy education event: 70% more students, 100% uptime and zero failures.

100%uptime throughout the event

About the client

ABRADEE and Project ONEE

ABRADEE (Associação Brasileira de Distribuidores de Energia Elétrica, the Brazilian Association of Electric Power Distributors) brings together the leading distribution companies in Brazil's power sector.

Project ONEE (Olimpíada Nacional de Eficiência Energética, Brazil's National Energy Efficiency Olympiad) is a nationwide education initiative for elementary, middle and high school students that promotes conscious energy use through interactive digital games.

The 2026 edition of ONEE featured four educational games built in Unity WebGL and hosted entirely on AWS, plus a management portal, a WordPress website and a download area for the desktop installers. KXC managed all of it, from the ground up to go-live.

The challenge

Scaling to tens of thousands of concurrent students

The event had a fixed date and time, and no room for failure. Each Unity WebGL game is a download of about 70 MB, so a single traffic spike could generate terabytes of data transfer within minutes.

The client needed an architecture that would:

  • handle unpredictable loads;
  • deliver low latency to users across Brazil;
  • keep the backend and the database stable during peaks;
  • provide full, real-time visibility into what was happening;
  • keep costs predictable.

The solution

An elastic, end-to-end architecture on AWS

KXC designed and deployed a multi-tier architecture:

  • the games and the portal ran on AWS Amplify, with automated CI/CD from GitHub;
  • the NestJS backend ran on Amazon ECS with AWS Fargate, with auto scaling;
  • the database was provisioned on Amazon Aurora MySQL Serverless v2, which adjusts capacity automatically;
  • the installers were delivered through Amazon CloudFront from a private Amazon S3 bucket.

Before the event, the team ran load tests with Grafana k6 that simulated 50,000 concurrent users, validating the architecture's limits and tuning the database parameters in real time.

AWS services used

  • AWS Amplify
  • Amazon ECS on Fargate
  • Aurora MySQL Serverless v2
  • Amazon CloudFront
  • AWS WAF
  • Application Load Balancer
  • AWS CodePipeline
  • AWS Secrets Manager
  • Amazon CloudWatch
  • Amazon ECR
  • Amazon Lightsail
  • Amazon S3

Results

Infrastructure that held up at peak

  • 100% uptime, +23% vs. the previous edition: no downtime at all during the 19 days of the event.
  • 758,000 registrations, +70% vs. the previous edition: the platform handled 758,000 student registrations with no impact on performance or user experience.
  • 32% in savings: the elastic architecture and hands-on infrastructure management lowered operating costs compared with the previous edition.
  • Fewer support tickets: platform stability and proactive resolution of production incidents reduced support requests during the event.
  • Error rate below 0.01%: the web games recorded virtually no server errors throughout the event.
  • 50,000 concurrent users validated: load testing with Grafana k6 confirmed the architecture's capacity before go-live.

The event by the numbers

100%
uptime (+23% vs. the previous edition)
+70%
more students served
32%
lower operating costs
15.7M
requests processed in 19 days
758K
student registrations on the platform

What the client says

KXC delivered a solid architecture and stood by us throughout the event, solving every issue in real time. We had the peace of mind to focus on teaching while the infrastructure took care of itself.

ONEE team, ABRADEE

Technical architecture

Every piece in the right place

The stack was built in the us-east-1 Region on a multi-AZ VPC that separates the public tiers (Application Load Balancer, NAT gateway and bastion/VPN) from the private tiers (Amazon ECS with Fargate and Aurora MySQL), with a complete CI/CD pipeline: GitHub → AWS CodePipeline → AWS CodeBuild → Amazon ECR → Amazon ECS.

AWS Amplify

5 apps with automated CI/CD from GitHub: the Unity WebGL games and the ONEE portal.

Amazon ECS with Fargate

NestJS backend with auto scaling (70% CPU and 80% memory targets), from 1 to 10 tasks.

Aurora MySQL Serverless v2

Elastic database with adjustable minimum and maximum capacity (ACUs), 7-day backups and a tuned parameter group.

CloudFront + S3

Desktop installers (.exe) delivered through the CDN, with Origin Access Control (OAC) for the private bucket.

AWS WAF

12 active rules: managed rules, SQL injection and XSS protection, rate limiting and geo-blocking (BR/US).

CodePipeline + CodeBuild

Complete CI/CD: a push to GitHub triggers the Docker image build and an automated deployment to ECS.

CloudWatch + Grafana

Real-time monitoring: ECS logs and ALB, RDS, WAF and Amplify metrics in a single dashboard.

Secrets Manager + ACM

Protected database credentials and a wildcard SSL certificate for *.onee.org.br.

Book a call with one of our specialists

Fill in your details and the service you need. We'll get in touch to find a time that works for you.