
BFAS
Non-ProfitBest Friends Animal Society(BFAS), an animal welfare not-for profit organization achieves 80% infrastructure cost reduction with AWS Serverless
About BFAS
Best Friends Animal Society, founded in its present form in 1993, is an American nonprofit 501 animal welfare organization that drives the nation’s largest sanctuary for homeless animals. BFAS does outreach nationwide with shelters, rescue groups, and members to promote pet adoption, no-kill animal rescue, and spay-and-neuter practices.
They work through an intricate network of over 3700 animal welfare shelters across the country, partnering with organizations along the way to standardize and document shelter information.
With partnerships from leading corporations such as Pawz, CreditOne, and Mini, as well as support from notable organisations, including Walmart, The Meadows Foundation, and Petco Foundation, BFAS aims to revolutionise the way the world views and cares for animals.
The Challenge
BFAS faced a challenge in providing its users with data management and searching capabilities. They needed a portal where users could filter data on fields like the year, month, and data status. This information could be obtained in a report format with data visualizations for easy perusal and quick insights.
BFAS observed that owing to the nature of social work, new organizations would frequently pop up on the radar while older oneswould enter hiatus or turn inoperational. It was essential to embed this information into the system and build an activity status for each branch to filter out outdated or dysfunctional shelters.
Another challenge was to enable collaborations among different stakeholders. They required collaboration rooms where various parties could share information securely and facilitate remote discussions to promote strategic planning.
Our Goals
BFAS partnered with AntStack to architect a serverless solution that could facilitate massive data storage. It was designed to provide quick information retrieval while configuring role-based user authentication.
Their primary goal was to build a shared platform. In this mega data store, animal shelters, rescuers, and stakeholders across the country can upload reliable information and news to coordinate adoptions and spread pet awareness
They envisioned a role-authenticated and automated account-management system where users could be assigned three roles - super admin, organisation admin, and users. The admin would have the highest privilege and control over adding, inviting, removing, and updating other users’ access.
Finally, BFAS needed a comprehensive dashboard to view user compliance, monthly data, and statistics in a cursory glance. These control would only be accessible to the super admin, and the newly joined organizations would need verification from the super admin, which could be maintained through the dashboard.
Our Impact
Robust Automated User Management System
- AntStack implements serverless technology to liberate BFAS from resource allocation and server maintenance burden, allowing cost-efficient operations and scalability.
- Our solution eases data gathering from various sources, standardises the information for public use, and produces comprehensive statistical reports using Tableau’s reporting module.
- The front end is developed using ReactJS, utilising its Native Context API for effortless information sharing across React components.
Implementing Role-based authentication
- Three unique roles - organisation admin, super admin, and user - were established based on user permissions to ensure secure and controlled access across the platform.
- Utilising Amazon Cognito and Amazon Amplify, users are authenticated against their assigned role, which grants them access to correspondence settings.
- Once authenticated, all user requests are directed to Amazon AppSync, which utilises GraphQL to service all queries efficiently.
Efficient Data Retrieval with Quick Search Feature
- Overcoming the limitations of manual registries for pet adoption, transfer, and shelter management, AntStack implements a scalable solution consisting of two databases - primary and secondary - utilising DynamoDB as the Primary Data Store for organising and maintaining data and Amazon OpenSearch for time-sensitive search queries.
- Data is initially stored in an S3 Bucket that triggers a Lambda event to update both primary and secondary databases, and the React Table library is used to implement search, filtering, row-selection actions, and both client and server-side pagination.
Streamlining Bulk Uploads
- To overcome the inefficiency of manual bulk uploads in a legacy system, the solution AntStack implements is to enable bulk uploads with files by automating the process of fetching required organisations in the background.
- Organisations successfully fetched are added to the group, with Amazon Simple Mail Service (SES) and Simple Notification Service (SNS) seamlessly integrated to notify users of successful uploads and provide information on invalid organisations in the event of unsuccessful uploads.
Optimising Data Search
- Addressing inefficient searching methods and long turnaround times to meet BFAS’s goal of standardising information for a large number of animal welfare organisations, AntStack implemented AWS OpenSearch and AWS Dynamo DB.
- OpenSearch creates index points for all fields in the data, providing a mapping between data and location, resulting in rapid access and a significant reduction in operation time per request.
Results That Speak Volumes
AntStack’s solution streamlines user management and reporting, minimising manual intervention.
By incorporating advanced reporting and data-sharing capabilities, BFAS’s efforts to consolidate information on animal welfare are significantly enhanced.

In their words
Michael Kabella
Sr. Director, Enterprise Data & Analytics
In their words
Michael Kabella
Sr. Director, Enterprise Data & Analytics