Case Study
Three AWS-Centric Projects Help Agari Maintain Email Security Leadership
Executive Summary
Agari is the Trusted Email Identity Company™, protecting brands and people from devastating phishing and socially-engineered attacks. Over several months, Clearscale partnered with Agari on three diverse projects — all requiring extensive AWS expertise in several areas ranging from staff augmentation to database migration.
Project 1: Staff Augmentation
Clearscale was initially enlisted to provide Agari with short-term staff augmentation services in the areas of AWS ElasticSearch and AWS ElastiCache for Redis.
For ElasticSearch, the services entailed application architecture and development services and included the review and analyses of Agari’s data pipelines, caching strategy, and more. For AWS ElastiCache, Clearscale reviewed and analyzed slow logs, searching options and queries, Agari’s data rotation strategy, and other components.
Clearscale was also responsible for numerous DevOps services including infrastructure architecture and various tasks related to Amazon RDS, DynamoDB, ElastiCache Redis and ElasticSearch.
All requests from Agari were input into Jira, a project tracking system. Clearscale successfully executed them based on priority and urgency. Detailed reports were delivered for all completed tasks.
“I really appreciated how responsive Clearscale was as the project hit unexpected issues and how they effectively solved them. Clearscale was always easy to communicate with and our project manager kept us in the loop. “No surprises” is a great thing to get from any partner.”
Abhijit Dey
SVP, Product Development
Project 2: Sensor Monitoring
Pleased with Clearscale’s deep expertise and on-time delivery, Agari next tasked the company with developing a monitoring solution to gather health information for its secure email gateway hosted sensors that help intercept malicious messages and block or redirect them to quarantine for further incident investigation. The project also required a monitoring dashboard to improve metrics visibility and filtering.
The Clearscale team designed, tested and deployed a solution that uses Prometheus, an open source monitoring system for metrics aggregation, and Grafana Lab’s Grafana, an open source platform for visualizing metrics.
A highly available configuration of Prometheus was installed in a cluster with Amazon Elastic Kubernetes Service (Amazon EKS). Prometheus’ AlertManager communicates alerts to PagerDuty, an incident management platform. Persistent storage — the storage volumes that remain available beyond the life of individual containers — was used for historic data from Prometheus. Amazon Aurora was integrated with Grafana to build the dashboards for both every day and special use.
In addition, the Clearscale team delivered automation tools to setup and monitor the solution, along with documentation. Now, all newly created sensors can be set up with monitoring and registered in the monitoring system.
After implementing the new monitoring solution, Agari has been able to grow its network of sensors worry-free and at a much lower cost compared to other solutions.
Project 3: Database Migration
Agari then entrusted Clearscale with yet another project: this one requiring a proof of concept (POC) for migrating two self-hosted databases (on AWS EC2 instances) to AWS RDS/ PostgreSQL and Aurora.
The project presented a number of challenges. One of the databases was PostgreSQL 9.3 and the other was Citus 6.0 on PostgreSQL 9.5. Neither PostgreSQL version is still being supported.
Citus had primarily been used for distributed queries and batch loading. With a new version released, the transition would be much more cumbersome. In addition, no more than one hour of downtime was acceptable for the migration process. Performance had to be maintained at the same level.
Clearscale’s solution entailed using Amazon Relational Database Service (Amazon RDS) with one master and two slaves using c5.xlarge instances for the Postgres 9.3 database. Two three-node Aurora clusters were configured to host the Citus data.
Data migration was performed using Bucardo, an asynchronous, multi-master, master-slave table-based replication system.
Clearscale reviewed the current data schema and architecture, created a transition plan, defined migration tools, conducted a POC of the migration, and assisted with query performance tests.
Following the POC, Agari was able to plan the migration of its production databases to a managed AWS offering. The result: reduced environment complexity and less administrative burden required to manage the self-hosted databases.
General Results
All project requirements were met and Agari’s expectations exceeded, thanks to Clearscale’s focus on collaboration and open communication, its AWS expertise, and the on-time delivery of its well thought out solutions.
Specifically for the sensor monitoring project, the custom-built monitoring system provides a versatile means of tracking health and performance of hundreds of hosted sensors. This eliminates costly licensing and adds flexibility.
Perhaps most important, Agari gained a value-added and trusted partner that it can count on for future projects.
Ready to Take the Next Step?
Connect With Our Cloud Experts To Begin Your Cloud Journey
