Jarvis AI
Talent Solutions
Public Sector
About
Contact Us
image
CloudServerlessAWS LambdaAWS SAM

DMVInvest: A Full Serverless Application Built with AWS SAM

How ASCENDING helped DMVInvest, a DC-Maryland-Virginia real estate investment firm, replace a single-server hosting setup with a fully serverless AWS SAM application, cutting infrastructure and maintenance costs by more than 80%.

DMVInvest: A Full Serverless Application Built with AWS SAM case study
80%+Reduction in cost to manage servers, databases, and maintenance overhead
10+ Lambda FunctionsAPI functions plus 3 scheduled jobs powering each environment
ZeroSingle points of failure after retiring the dedicated server model

DMVInvest, a firm that helps domestic and foreign investors select, purchase, manage, and operate real estate across DC, Maryland, and Virginia, needed a backend that could scale with its growing customer base without the overhead of managing dedicated servers. ASCENDING designed and built a fully serverless application on AWS SAM, replacing a traditional single-server setup with an architecture that scales automatically and only charges for what it uses.

Background

DMVInvest (dmvinvest.com) connects investors with real estate opportunities across the DC-Maryland-Virginia region, guiding customers who target a minimum 6% APR through the full lifecycle of selecting, purchasing, managing, and operating their properties. As a B2C business, DMVInvest depends on accurately delivering property information at scale, processing a steady stream of transactions, and keeping customers informed through timely messages and emails about home deals. To support its expanding customer base, DMVInvest needed a dashboard and online presence that was cost-effective, flexible, and easy to operate.

The Challenge

DMVInvest originally ran its site on a static, dedicated server rented from GoDaddy or a similar provider, with separate services bolted on for database and email functionality. That setup was simple to stand up but increasingly difficult to operate as the business grew.

  • Capacity planning was largely guesswork, leading to redundant, underutilized resources during off-peak hours.
  • The dedicated server represented a single point of failure that could take the entire site offline if it failed.
  • Lambda's 50 MB deployment package limit threatened to block functions that depended on multiple third-party libraries.
  • Serverless CI/CD tooling was far less mature than traditional CI/CD, leaving fewer proven options to automate source, test, build, and deployment stages.

Why ASCENDING

ASCENDING is an AWS Select Consulting Partner staffed entirely by AWS-certified engineers, with deep experience in serverless and microservice architecture and AWS infrastructure automation across organizations of many sizes. ASCENDING and DMVInvest had already collaborated successfully on other engagements, giving both sides an established relationship and mutual trust that made ASCENDING the natural choice to lead the migration to serverless.

The Solution

ASCENDING built each layer of the application independently and assembled them into a single serverless system, using AWS CloudFront for the front end, Amazon API Gateway integrated with AWS Lambda as the back end, and Amazon DynamoDB as the database. This division of responsibility meant developers no longer had to manage networking, firewalls, CPU, memory, or storage — AWS handled availability, scalability, and security, while the pay-per-use model kept costs low.

Serverless AWS SAM architecture for DMVInvest, from frontend clients through API Gateway, Lambda, Cognito, DynamoDB, S3, and SMS

  1. Frontend clients send HTTP requests to Amazon API Gateway, which invokes the corresponding AWS Lambda function and returns the response back to the client.
  2. Amazon Cognito handles authentication and authorization for every request that passes through API Gateway.
  3. Lambda functions carry out the business logic — creating, updating, deleting, and searching property listings, with querying and pagination implemented directly against DynamoDB — then interact with other AWS and third-party services, including Amazon S3 and an SMS provider, via their SDKs.
  4. To work around Lambda's 50 MB package size limit, ASCENDING packaged shared dependencies into Lambda layers, keeping individual function deployments lean.
  5. ASCENDING used AWS CodeBuild alongside a generated template.yaml to manage the serverless CI/CD pipeline end to end — source, test, build, and deployment — reducing the ongoing maintenance overhead of the release process.

The resulting environment runs more than 10 Lambda API functions alongside 3 scheduled Lambda jobs, covering everything from property CRUD operations to recurring background tasks.

The Outcome

Moving DMVInvest from a single dedicated server to a fully serverless AWS SAM application eliminated its single point of failure and gave the business a platform that scales automatically with demand.

  • Cut the cost of managing servers, databases, and maintenance overhead by more than 80%.
  • Removed the single point of failure inherent to the previous dedicated-server architecture.
  • Standardized DMVInvest's application deployment process and gave the team clearer visibility into cloud resource usage, application load, and budget.
  • Delivered a pay-per-use architecture that keeps costs low as DMVInvest's transaction volume grows.
Technology Used

Built with AWS Serverless Services

AWS SAMAWS LambdaAmazon API GatewayAmazon DynamoDBAmazon CloudFrontAmazon CognitoAmazon S3AWS CodeBuild

Ready to write your success story?

Talk to our team about your cloud, AI, or staffing challenges.