Armakuni Contact us
← All case studies

24×7 managed AWS operations for an AI-vision retail analytics platform

An AI-vision retail analytics company uses computer vision to turn in-store camera footage into retail analytics, and gives retailers an AI assistant they can question in plain language. The platform runs on AWS across container hosting, a PostgreSQL analytics database, inference endpoints and a business intelligence layer. Keeping all of that running fell to the same small group of engineers who were building the computer vision models, with no on-call rota and no agreed response times. Armakuni became their CloudCare managed services partner and took on 24×7×365 operational reliability of the production AWS infrastructure under a severity-based SLA.

Before

The challenge.

After
15 minutesto acknowledge a production outage, at any hour
24×7×365cover for SEV-1 and SEV-2
3repeat failure patterns tracked across reporting periods

The challenge

The company builds AI-vision retail analytics for businesses selling large-ticket items. Cameras already installed in the stores stream footage to computer vision models, which measure footfall, track how customers move around the shop floor, and turn that into insight on customer interactions, propensity to buy and sales conversion. Raw video never leaves the store; only the derived analytics reach the database.

Sitting on top of that data is an AI assistant that answers questions in plain language, translating them into SQL and generating dashboards from the results, with reporting delivered through Amazon QuickSight and custom React dashboards.

A retail buyer opens the platform on a Monday morning to see how the weekend converted, and the dashboard does not load. From where they are sitting, it makes no difference which part of the system failed. Before this engagement, working out which part had failed was a job for the same handful of people who had built all of them. Four problems were compounding.

The platform ran whenever the stores were open, and the people covering it worked their own hours. Cameras stream through trading hours, and the ingestion, inference and reporting behind them run continuously. There was no on-call rota and no agreed acknowledgement time for a production failure, so anything that broke outside working hours stayed broken until somebody logged on the following morning.

The engineers building the computer vision models were also the ones restarting the servers. At a company whose product is the quality of its models, that is an expensive way to spend engineering time. An afternoon spent tracing an unhealthy container or working through a database failover was an afternoon not spent on detection accuracy, and nobody had ever sat down and decided to make that trade.

There was no severity model, so every issue competed for the same attention. A dashboard loading slowly and a site that would not load at all came in through the same channel and were triaged on the same judgement call, usually by whoever saw the message first. Nobody had agreed what urgent meant, what response time went with it, or where to send an issue that turned out to be bigger than one person's afternoon.

The platform has a lot of layers, and to the person using it they all fail in the same way. A camera feed dropping, an unhealthy container, a database under load, a throttled inference endpoint and a model returning a weak answer all arrive as the same complaint: the dashboard is wrong. Without agreed ownership and a structured way to triage, every incident started with a conversation about whose problem it was, and nothing kept a record of which failures kept coming back.

Scale: A production AWS environment spanning container hosting, a PostgreSQL analytics database, object storage, inference and API infrastructure, a generative BI layer, networking and monitoring, carrying retail analytics derived from in-store camera feeds.

How we built it

3 decisions, in the order we made them. Each one says what we did and why, and what it was built with.

  1. Phase 1: Onboarding, and agreeing what urgent means
  2. Phase 2: 24×7 detection, response and recovery
  3. Phase 3: Turning incidents into evidence

Phase 1: Onboarding, and agreeing what urgent means

The engineering

The first two weeks were set aside contractually for knowledge transfer and system familiarization, and the SLA did not take effect until the third week. An on-call team that does not yet understand a platform responds slowly to an incident and often responds to the wrong thing, so the time was written into the agreement rather than absorbed quietly during the first month.

The company gave Armakuni access to the AWS accounts, the existing architecture diagrams and the operational documentation, and Armakuni worked through the supported service line component by component, from the container hosting and the analytics database through to the inference endpoints behind the AI assistant. Known failure scenarios were documented and turned into runbooks, and escalation contacts were named on both sides.

The harder part was agreeing where Armakuni's responsibility began. The platform starts on a wall in a shop, and the cameras, the store-side networking and the accuracy of the computer vision and language models all belong to the company. Everything that happens to the data once it reaches AWS belongs to Armakuni. A model that returns a weak result is a customer problem; an inference endpoint that returns nothing at all is an Armakuni one. That distinction matters more on an AI product than on a conventional platform, because a generative BI layer can fail in ways that look exactly like an outage without being one, and both sides needed to agree on the difference before an incident forced the conversation. The same logic separated support from remediation: support restores service at the infrastructure level, remediation engineers the permanent fix, and the two are funded under separate statements of work.

Everything Armakuni does under CloudCare runs through a single agreed ticketing system, which holds the incidents, approvals, effort tracking and audit history in one place. Work arriving over Slack or email is logged as a ticket before anyone picks it up, so there is never a second, unofficial record of what happened to the platform. Every ticket carries which environment it affects, which components are impacted, what the issue is and what it is doing to customers.

Severity is set against production impact rather than against how urgently a request was worded. A SEV-1 is the loss of a core feature or of the site itself, a failure in the site-load path, a routing failure, a database availability failure, or a deployment that needs rolling back, covered around the clock, acknowledged within fifteen minutes and targeted for resolution within four hours. A SEV-2 covers a feature not working as intended or functionality partly unavailable while the platform stays usable, also covered around the clock, acknowledged within an hour and targeted within eight. SEV-3 issues, which carry no material impact on availability, are handled during business hours. Armakuni holds the authority to reclassify, lowering severity once a mitigation is in place and raising it if the impact proves wider than it first appeared. AWS service-wide outages, foundational model outages, and content defects needing a code change sit outside the SLA, because an SLA that covers everything commits to nothing.

Phase 2: 24×7 detection, response and recovery

Built withCloudWatchFargateRDSQuickSight
The engineering

Incidents reach Armakuni through three routes: tickets raised by the company's team, automated alarms from Amazon CloudWatch, and notifications from AWS service and health events. The second and third matter most, because they mean a problem can be picked up before anyone at the company or at a retailer has noticed it.

The responding engineer acknowledges within the SLA window, confirms the alert is real, and identifies which services, regions and components are involved before starting on diagnosis. Investigation runs against CloudWatch metrics and logs, health checks across Fargate, RDS, the load balancers and the networking layer, the AWS service health dashboards, and the runbooks written during onboarding. Armakuni investigates at the application level to work out where a failure actually sits, then acts at the infrastructure level to clear it; on a platform with this many layers, identifying which one has broken usually takes longer than fixing it.

Service is restored before the root cause is fully understood. Depending on what the diagnosis shows, that can mean restarting Fargate tasks or database instances, scaling resources up, rerouting traffic and adjusting load balancer configuration, troubleshooting or scaling the assistant's inference endpoints, clearing a QuickSight access failure, or failing a database over. An incident escalates when it runs past its expected window, when the impact widens, or when it needs expertise the responding engineer does not have, moving to senior DevOps and platform engineers, to AWS Support under the company's own support plan, or back to their development team if the fault sits in the application.

Through any SEV-1 or SEV-2, stakeholders receive an initial notification, progress updates at agreed intervals and an estimate of when the next update will arrive. The updates go out whether or not there is progress to report. An incident is only treated as resolved when the affected services are back in an operational state, the health indicators have returned to baseline, and validation checks confirm that customers can get in and that the functionality works.

Phase 3: Turning incidents into evidence

Built withQuickSight
The engineering

Every SEV-1 and SEV-2 gets a formal post-incident review: a timeline of what happened, the root cause, an assessment of the impact, and the corrective and preventive actions that follow from it. Armakuni shares an RCA summary within an agreed timeframe, and the incident is not closed until the RCA is complete, the preventive actions are logged, and the company has either confirmed closure or the SLA criteria have been met.

Each reporting period, the company receives a summary of the incidents and alerts raised, together with the trends across them and any patterns that are repeating. Three were flagged as worth tracking from the start: camera feeds dropping, latency in the ingestion pipeline, and failures in the inference pipeline. The cameras sit outside the supported service line, but the pattern they produce is visible from the AWS side, and the company can act on a pattern whether or not Armakuni is the party able to fix it.

Where a series of incidents points back to an underlying architectural or configuration limitation, Armakuni writes up the finding and recommends how to resolve it permanently, under the separate remediation engagement agreed at onboarding.

Armakuni owns the application-level investigation, the infrastructure troubleshooting, incident response and escalation, runbook execution, and the architectural recommendations that come out of it. The company keeps the application code, the assistant's query logic and prompt design, the accuracy of the computer vision models, the QuickSight content, functional testing, release artifacts, and notifying Armakuni when a change is planned.

Built on AWS

Armakuni works inside AWS accounts that remain under the company's ownership throughout.

The application runs on Amazon ECS with Fargate, monitored for task health, capacity, resource alerting and cluster health. The derived footfall and behavioural analytics sit in a PostgreSQL database on Amazon RDS, covered for availability monitoring, failover support, performance alerting, engine version upgrades and backup validation, with the resulting analytics artifacts held in Amazon S3.

The AI assistant runs on an API layer and inference endpoints built from AWS Lambda, Amazon API Gateway, and Amazon Bedrock with AgentCore, where Armakuni covers endpoint health, invocation errors, throttling and scaling of the compute underneath. What the assistant does with a question once it reaches the model stays with the company. The same split applies to Amazon QuickSight: Armakuni covers service availability, embedding and connectivity, access failures and capacity limits, while dashboard authoring and content remain the company's.

Networking coverage runs across Amazon VPC, Elastic Load Balancing, Security Groups, Network ACLs, and Internet Gateway and NAT Gateway routing. Amazon CloudWatch provides the metrics, alarms, dashboards and log review Armakuni works from, and is the main automated detection channel feeding incident intake. Where an incident needs AWS involvement, Armakuni escalates to AWS Support under the company's own support plan.

This is an operational reliability engagement rather than a migration. The existing solution architecture is unchanged and no re-architecture was in scope; what changed is the operations architecture around it.

Competency: AWS Managed Service Provider (MSP)

Tech stack: Amazon ECS (Fargate), Amazon RDS for PostgreSQL, Amazon S3, Amazon QuickSight, Amazon Bedrock, AWS Lambda, Amazon API Gateway, Amazon VPC, Elastic Load Balancing (ALB and NLB), NAT Gateway, Internet Gateway, Amazon CloudWatch, AWS Support

What else changed

  • The engineers went back to building the AI. Incident response no longer comes out of the team building the computer vision models and the assistant. For a company whose product is the quality of those models, that is engineering time returned to the thing customers are paying for.
  • Every issue now has a severity, a response time and a route to escalate. A slow dashboard and a site that will not load no longer compete for the same attention, because the severity model separates them before anyone starts work. When an incident turns out to be bigger than the engineer who picked it up, where it goes next was agreed months ago rather than worked out during the outage.
  • Whose problem it is gets settled before the work starts. The line between infrastructure availability and model behaviour is written down and agreed on both sides. Armakuni establishes where a failure sits and clears it at the infrastructure level, while the company owns query logic, prompt design and model accuracy. An incident now opens with diagnosis rather than with a conversation about ownership.
  • Incidents now leave a record behind them. Every SEV-1 and SEV-2 produces a timeline, a root cause, an impact assessment and a set of preventive actions. What the company is accumulating is a root cause history of their production platform rather than a list of tickets that happen to be closed.

Have a problem like this one?

A free workshop: a few hours with the architects who'd do the work, on your own systems. No cost.

Book a free workshop