Start typing and press Enter to search

ECOMM SERVERLESS: TECH STORY

SERVING UP SHOPPING WITH SERVERLESS

One of the largest multinational software companies in the world with dozens of enterprise and small business product lines makes a sharp move into dominating the mobile- first ecommerce marketplace. The goal of the new product line is to allow customers to create new shopping experiences for its audience in a matter of minutes.

 

THE PROBLEM

In order to provide a robust service with low cost of ownership, the SaaS product needed to  easily leverage existing eComm services, require minimal setup and deployment across all mobile devices, and sit within a hosting architecture that is automated, scalable and affordable.

 

THE APPROACH 

We designed serverless architecture in AWS using SAM and Cloud Formation (as well as Lambda, api gateway, Cloudwatch, Insights, Dynamodb, and Cloud front) which provides an automated, highly secure storefront hosting service for all business users with low initial costs that allows for instantaneous scaling and provisioning as end user traffic grows.

We designed the application templates as PWA’s to provide native-like user experiences simply across devices which leverage drag and drop store building to provide user-friendly mobile shopping experiences with swipe, tap, and pinch navigation and one-tap-buying.

We configured a strong security model where: 

  • each lambda function can do only what it’s allowed to do, 
  • The system detects ZIP files that are being uploaded and prevents malicious actions like infinitely recurring archives
  • Protection against DDOS attacks, with lots of logic, including:
    • Limit the number of actions that can take place concurrently
    • Throttling on lambda functions
    • Various custom logic

All deployment is fully automated and can be set up via APIs or command line tools. 

 
 

THE RESULTS 

The new SaaS product was launched in May, with the first few dozen customers already online. Each PWA deployment was fully automated and set up via APIs or command line tools and took 15 minutes or less. Our customer expects to have over 5,000 business users by 2022.
 
Enthusiasm for the serverless architecture is spreading across the dozens of product lines and is expected to serve as a model for future migrations.