Customer Stories / Financial Services 

2024
Bill logo

BILL Uses Amazon ECS with AWS Fargate to Effectively Scale Applications

Learn how financial operations company BILL refactored its infrastructure and supported growth using Amazon ECS with AWS Fargate.

Significant reduction

in operational cost savings

150,000–200,000 requests

met per minute with automatic scaling

Ability to spin up

new environments within weeks instead of months

Increased

developer productivity with improved tools

Overview

To better accommodate growth and scale over time, financial operations company BILL wanted to migrate the on-premises architecture of its platform to Amazon Web Services (AWS) to refactor processes and increase speed and efficiency. The company began exploring services like Amazon Elastic Container Service (Amazon ECS), a fully managed container orchestration service that simplifies the deployment, management, and scaling of containerized applications.

Using services like Amazon ECS with AWS Fargate, a serverless, pay-as-you-go compute engine that organizations use to focus on building applications without managing servers, BILL improved elasticity and shifted the burden of managing servers to AWS so that its development teams can focus on growth and innovation.

coworkers mingling in an office

Opportunity | Using Amazon ECS with AWS Fargate to Refactor and Simplify the Architecture of BILL’s Core Applications

As a leading financial operations platform for small and midsize businesses (SMBs), BILL’s integrated platform helps businesses more efficiently control their payables, receivables, and spend and expense management. Hundreds of thousands of businesses rely on BILL’s proprietary member network of millions of businesses to pay or get paid faster. BILL is also a trusted partner of leading US financial institutions, accounting firms, and accounting software providers. 

BILL previously ran static web server farms continuously. However, the company wanted to migrate workloads to the cloud to better manage its volume and provide more flexibility. As BILL is at the center of customers’ day-to-day financial operations, the company strives to continuously innovate their technology to better serve their customers, while ensuring seamless updates to its daily operations. For the initial cloud project, BILL migrated its cell-based architecture to Amazon Elastic Compute Cloud (Amazon EC2), which offers secure and resizable compute capacity for virtually any workload.

Since then, BILL has continued investing in cloud technology to refactor its architecture. In 2021, the company started migrating its core applications to use Amazon ECS with AWS Fargate. BILL chose a calculated rollout for the migration, dedicating 1 quarter to develop and 1.5 quarters to roll out the changes incrementally. “Now that we’ve migrated our core applications to Amazon ECS with AWS Fargate, we have a lot of flexibility and can build other microservices using the same blueprints,” says Arvind Sharma, Senior Engineering Manager at BILL. “Our developers can move with speed and efficiency to deliver innovation for customers and microservices quickly.” 

Throughout the process, BILL received support from AWS account and specialist teams to implement the migration successfully and maintain the high security standards required for a financial operations company. “The support we’ve received from the AWS teams has been awesome and always available when we’ve needed it,” says Nick Thompson, Senior Staff Software Engineer at BILL. “It has saved us time, which is ultimately better efficiency for the company in terms of resources.”

kr_quotemark

We’ve improved velocity, achieved efficiencies, and refactored our architecture by migrating from an on-premises architecture to Amazon ECS with AWS Fargate.”

Subbu Allamaraju
Vice President of Engineering, BILL

Solution | Increasing Developer Productivity While Saving Time

BILL’s front-end application can sometimes receive around 150,000–200,000 requests per minute, so flexible scalability is essential to reduce latency and maintain transaction accuracy for customers. In addition, the company also needs to manage traffic spikes, specifically during the day because most billing transactions occur during business hours. “Using Amazon ECS with AWS Fargate, we can scale up in no time without manual intervention,” says Sharma.

With a serverless solution, BILL also manages future growth more efficiently. BILL can bring larger customers or partners onboard quickly and simply, scaling in a cost-effective way that wouldn’t have been possible with an on-premises infrastructure.

As the company looks to serve more SMBs globally, BILL will need to comply with different regulations for some countries that will require a regional presence to do business. Using Amazon ECS with AWS Fargate, BILL can quickly spin up cloud resources in other AWS Regions using blueprints. “If we need to bring up a new environment in a different country as we support customers internationally, it’s much simpler,” says Sharma. “We’ve achieved significant time savings in our operations. It used to take a couple of months and now takes a few weeks.”

By using a fully managed serverless solution, BILL saves on operational costs and reduces complexity for its technical staff so that they can focus on development using on-demand testing environments. BILL is also gaining time savings in operations by using AWS Fargate Spot, which facilitates running interruption-tolerant Amazon ECS tasks at up to a 70 percent discount compared with AWS Fargate prices, for its nonproduction environments. “Because AWS Fargate is serverless, we can expand internationally as business picks up and everything scales up automatically,” says Sharma. “We also don’t have to worry about the operational cost. We build it, and the serverless AWS solution takes care of everything.”

Architecture Diagram

BILL's Cell-Based Architecture

Outcome | Investing More in a Serverless AWS Solution

Now that the migration of the company’s core applications is complete, BILL is focusing on migrating additional applications to the cloud. BILL plans to continue investing in its serverless solution to reduce operational overhead and increase efficiency. “We’ve improved velocity, achieved efficiencies, and refactored our architecture by migrating from an on-premises architecture to Amazon ECS with AWS Fargate,” says Subbu Allamaraju, Vice President of Engineering at BILL.

About BILL

BILL is a leading financial operations platform for small and midsize businesses. BILL’s integrated platform helps businesses more efficiently control their payables, receivables, and spend and expense management.

AWS Services Used

Amazon ECS

Amazon Elastic Container Service (Amazon ECS) is a fully managed container orchestration service that simplifies your deployment, management, and scaling of containerized applications.  

Learn more »

AWS Fargate

AWS Fargate is a serverless, pay-as-you-go compute engine that lets you focus on building applications without managing servers. AWS Fargate is compatible with both Amazon Elastic Container Service (Amazon ECS) and Amazon Elastic Kubernetes Service (Amazon EKS).

Learn more »

Amazon EC2

Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides secure, resizable compute capacity in the cloud. It is designed to make web-scale cloud computing easier for developers.

Learn more »

More Financial Services Customer Stories

Showing results: 5-8
Total results: 506

no items found 

  • Americas

    Altruist Empowers Financial Advisors with Innovation and Trust at Scale

    Using AWS, Altruist maintains system stability and security alongside efficiency-driving tools that financial advisors depend on to deliver better outcomes to more clients at lower costs.
    2025
  • United States

    Affirm Reduces Manual Security Response Efforts by 50% with AWS Partner Expel

    Affirm is a payment network that empowers consumers and helps merchants drive growth through flexible and transparent financing options. The company wanted to streamline its security operations program to address manual triage, decentralized tooling, and increasing alert fatigue. AWS Partner Expel offered a managed detection and response (MDR) service that integrated seamlessly with Affirm’s Amazon Web Services (AWS) environment. Expel MDRTM centralizes monitoring, automates routine tasks, and enhances detection and response workflows Expel reduced the volume of security alerts fielded by engineers by 50 percent and helped Affirm scale the foundations of its security operations program efficiently.

    2025
  • United States

    MarketReader Launches Its Real-Time Market Analysis Platform and AI Newsletter in Eight Months Using Nasdaq® and AWS

    MarketReader is an artificial intelligence (AI) analytics platform providing the financial sector with data-driven explanations of real-time asset movement. During development, MarketReader experienced delays in data delivery and received incomplete datasets from its initial data provider—which reduced the quality of the platform’s insights. To launch its differentiated product, the MarketReader team moved to cloud-based data solutions from AWS Partner Nasdaq, hosted on Amazon Web Services (AWS), to obtain direct access to high-quality, real-time market data for all US-listed securities. This approach elevated MarketReader’s US market coverage, increased data delivery time by 98 percent, and helped the platform go live within eight months. MarketReader now delivers timely, accurate insights. It publishes a daily newsletter in only seven minutes, driving customer engagement and expanding the newsletter’s reach up to 400 percent beyond MarketReader’s current client base.

    2025
  • United States

    Reducing Costs by 90% and Improving Scalability Using Amazon DynamoDB with Venmo

    Learn how Venmo in the financial services industry modernized its architecture with a purpose-built scaling solution using Amazon DynamoDB.
    2024
1 127

Get Started

Organizations of all sizes across all industries are transforming their businesses and delivering on their missions every day using AWS. Contact our experts and start your own AWS journey today.