Skip to main content

FiftyFive Tech

Email Us sales@fiftyfivetech.io
Get in Touch
Top-down aerial view of a teal river winding through golden brown reeds

Cloud & modernisation

From scientific script to serverless groundwater analysis on AWS

FiftyFive turned a Python groundwater model into an authenticated AWS Lambda service, cutting each calculation to 2–3 minutes with automatic scaling.

Discuss moving your code to the cloud
Industry
Environmental science
Region
Europe
Solution
Serverless Python groundwater model on AWS Lambda
Story

About the client

The client develops tools that estimate groundwater levels from sedimentation data. Its scientific method existed as a Python script: accurate, but not something authenticated users could call as a dependable service. The client wanted the same logic delivered as a production application.

Challenge

Heavy scientific code behind a secure API

  • Access control. Users had to be authenticated before any calculation ran.
  • Heavy computation. Calculations were demanding enough to exhaust runtime resources.
  • Timeouts. Long-running executions risked hitting API Gateway timeouts.
  • Storage growth. Sedimentation result files accumulated and needed regular clean-up.
  • Peaks in demand. Compute capacity had to scale when many calculation requests arrived at once.
Solution

What FiftyFive built

FiftyFive provided custom software development, backend engineering and cloud deployment. The team: deployed the Python groundwater analysis on AWS Lambda for event-driven, auto-scaling execution; built an API service on Lambda that handles authentication, request routing and execution triggers; optimised the Python code to cut execution time and computation overhead; configured Lambda concurrency scaling for variable workloads; scheduled an EventBridge job that deletes outdated groundwater-level data automatically; added CloudWatch monitoring and performance logging.

How the solution works

  1. Request and authentication

    • A user's calculation request arrives through the API.
    • An API-layer Lambda function authenticates the user, routes the request and triggers the calculation, so no computation runs for an unauthenticated caller.
  2. Calculation

    • The optimised Python groundwater model runs as a Lambda function.
    • Lambda's concurrency scaling adds capacity as requests increase, so peak periods do not queue behind a fixed number of servers.
  3. Housekeeping

    • An EventBridge schedule runs as a cron job and deletes outdated groundwater-level result files, keeping storage from growing without limit.
  4. Monitoring

    • CloudWatch collects logs and performance metrics, giving the team ongoing visibility of execution times and failures.

Technology stack

PythonThe groundwater-level calculation, optimised for speed
AWS LambdaEvent-driven execution of the calculation and the API service
Amazon API GatewayEntry point for calculation requests
Amazon EventBridgeScheduled deletion of outdated result files
Amazon CloudWatchMonitoring and performance logging

What the solution enabled

Outcomes

Business transformation

2–3 min

Per calculation

Auto

Clean-up of outdated result files

1

Production service the client operates

2–3 minutes per calculation

The optimised architecture brought groundwater-level processing time down to 2–3 minutes.

Authenticated access only

Every calculation runs behind user authentication.

Scaling without fixed servers

Lambda concurrency scaling handles peaks in calculation requests.

Automatic clean-up

Scheduled deletion removes outdated result files without manual work.

FiftyFive Technologies turned a European environmental-science company's Python script for calculating groundwater levels from sedimentation data into a production cloud service. The script runs on AWS Lambda behind an authenticated API, with Lambda concurrency scaling for peak demand, an Amazon EventBridge schedule that deletes outdated result files, and Amazon CloudWatch monitoring. After FiftyFive optimised the Python code, a groundwater-level calculation completes in 2–3 minutes, and the client now operates the application in production.

FAQ

Technical questions

How do you turn a Python research script into a production service?

For a European environmental-science company, FiftyFive Technologies deployed an optimised Python groundwater model on AWS Lambda behind an authenticated API, configured concurrency scaling for peak demand, scheduled clean-up of old result files with Amazon EventBridge and added Amazon CloudWatch monitoring. A calculation now completes in 2–3 minutes.

Discuss moving your scientific or analytical code to the cloud with FiftyFive's engineers.

Book a call

Project snapshot

Industry
Environmental science
Region
Europe
Services
Custom software development, backend engineering, cloud engineering
Status
In production
Core technologies
Python, AWS Lambda, API Gateway, EventBridge, CloudWatch