Cobber App Partner Portal Case Study – How Containers on AWS Super‑Charged Bulky‑Goods Deliveries

by | May 2, 2025

About Cobber App

Cobber App is an Australian peer‑to‑peer delivery platform dedicated to moving large or bulky second‑hand goods sustainably. Users simply open the Cobber mobile apps to request a vetted driver with transparent, instant pricing. Drivers with utes, vans or trailers earn flexible income by accepting jobs that fit their schedule.

Business Challenge

The integration bottleneck

Cobber planned to partner with online marketplaces, furniture recyclers and charity shops. Each partner wanted an embedded booking widget so buyers could arrange delivery without leaving the host site. Unfortunately, Cobber’s monolithic back end made external integrations risky and time‑consuming—averaging 3 – 4 weeks of bespoke coding per partner.

Unpredictable traffic & rigid data

Weekend garage‑sale campaigns generated huge, short‑lived spikes that the single VM struggled to absorb, hurting user experience. The existing SQL schema also resisted rapid changes to partner‑specific metadata, slowing iterations and growth.

Compliance & revenue share

Splitting card payments between Cobber, drivers and partners required compliant marketplace payouts—adding security scope Cobber’s small team wanted to avoid.

Solution Architecture

Lanex Australia designed a containerised, serverless architecture centred on AWS and open‑standard tooling:

LayerTechnologyReason
EdgeAWS API GatewaySecure entry; throttling & usage plans per partner.
ComputeDocker containers on Amazon ECS with AWS FargateAuto‑scales by task; no servers to patch.
Micro‑servicesNode.js Booking, Auth & Payment servicesEach shipped as an independent image for rapid CI/CD.
DataMongoDB Atlas global clusterFlexible documents; auto‑scales storage & tier on load spikes.
PaymentsStripe ConnectPCI DSS out‑scoped; automated revenue‑share payouts.
Portal Widget40 kB JavaScript bundle in an <iframe>; parent‑iframe communication via postMessage with origin checks.
CI/CDGitHub Actions → Amazon ECR → ECS blue/greenImage promotion in < 10 min; zero‑downtime.
ObservabilityAmazon CloudWatch & AWS X‑Rayp95 latency alerting; root‑cause tracing.
SecurityIAM least‑privilege, Secrets Manager, WAFMeets Cobber’s ISO‑27001 roadmap.

Implementation Timeline

PhaseDurationActivities
Discovery & design1 weekCurrent‑state review, load‑profile modelling, widget UX wireframes.
MVP build4 weeksContainerisation, Atlas cluster, Stripe Connect onboarding.
Pilot partner rollout2 weeksiframe SDK docs, API rate‑limit tests, security penetration test.
Full launch1 weekDNS cut‑over, CloudWatch alarms, data migration to Atlas.

Total elapsed time: 8 weeks from kick‑off to first production booking.

Outcomes & Success Metrics

KPIBeforeAfter
Partner onboarding time3 – 4 weeks< 1 day self‑serve
Peak traffic sustained≈ 200 RPS1 000 RPS @ < 200 ms p95
Booking growth from partner sites0 %27 % of all bookings in 90 days
DevOps hours / month308
Infra cost / deliveryAU $0.19AU $0.11 (42 % saving)

Technical Deep‑Dive

1. Container scalability

Docker’s application‑level containers standardise dependencies, letting ECS place tasks anywhere in the cluster for horizontal scale. Fargate removes the need to manage EC2 hosts, so Cobber scales purely by CPU/RAM metrics or scheduled promos.

2. Document DB flexibility

With MongoDB Atlas, new JSON fields for partner campaigns require zero migrations—Atlas simply re‑indexes on demand. Auto‑scaling tiers absorb weekend peaks then down‑size to save cost.

3. Secure revenue share

Stripe Connect vaults cards, handles KYC and deposits partner commissions automatically, aligning incentives and minimising Cobber’s PCI scope.

4. iframe SDK ergonomics

The widget uses window.postMessage() with strict origin whitelists and JWT‑signed payloads, mitigating tampering risks highlighted by the OWASP community.

Total‑Cost‑of‑Ownership (TCO) Analysis

Lanex compared Cobber’s legacy VM against Fargate + Atlas over three years:

  • CapEx avoided: AU $120 k hardware & licences.
  • Compute savings: 70 % on non‑production via Fargate Spot; 40 % overall due to auto‑scale to zero at night.
  • Ops FTE: 0.5 → 0.15 (automation & managed services).
  • NPV improvement: AU $188 k.

Lessons Learned

  1. Simple iframe plus good docs trump custom SDKs for partner velocity.
  2. Serverless containers handle unpredictable marketplace peaks cost‑effectively.
  3. Document databases accelerate fast‑changing integrations.
  4. Payments‑as‑a‑service speeds compliance and revenue sharing.
  5. Observability first: tracing saves future debugging hours.

Next Steps for Cobber

  • Multi‑region deployment to serve New Zealand classifieds with < 100 ms latency.
  • Background image optimisation off‑loaded to AWS Lambda for cost‑per‑use.
  • SEO quote API so partners can pre‑render delivery prices, improving search rankings.

Want to modernise your app?