Skip to main content

Case study · Mumbai, India · Texple · 2026

CloudOps – Automated Infrastructure Scanning & Monitoring

CloudOps is Texple's own solution for automated AWS infrastructure scanning, color-coded Excel reporting, and Zabbix-based real-time monitoring across EC2, S3, EKS, ECS, Lambda, and more.

Texple built CloudOps, its own automated AWS infrastructure scanner with color-coded Excel reports and Zabbix-based real-time monitoring and alerting.

Client
Texple
Duration
6 Months
Services
Managed Services, Cloud & Infrastructure, DevOps & CI/CD
8+
AWS services scanned
Zero
Manual intervention required
Email, Slack, Webhook
Alert channels

Project snapshot

Location
Mumbai, India
Year
2026
Duration
6 Months
Services

Managed Services

Cloud & Infrastructure

DevOps & CI/CD

Technology stack
AWS logoAWS LambdaZabbixPython logoPython & Pandas

The challenge

Keeping infrastructure visibility, compliance, and performance monitoring consistent across AWS accounts is hard to do by hand — Texple needed a repeatable, automated way to assess resource health and catch anomalies before they became incidents.

No Consistent Infrastructure Visibility

Assessing AWS resources across services like EC2, S3, load balancers, EKS, ECS, Lambda, and Route 53 by hand doesn't scale, and it's easy for risk to hide between manual checks.

Secure Cross-Account Access

Scanning a client's AWS account needed a way to access resources securely, without ever handling that account's own credentials directly.

No Early Warning for Resource Spikes

Without continuous monitoring, CPU, memory, or network spikes on running infrastructure went unnoticed until they became downtime.

The solution

CloudOps automates AWS infrastructure scanning end to end — secure cross-account access, structured colour-coded reporting, and real-time monitoring — so infrastructure health is visible without manual effort.

Automated AWS Infrastructure Scanning

An AWS Lambda function runs periodic scans across EC2, S3, load balancers, EKS, ECS, Lambda, and Route 53, using an AssumeRole mechanism for secure access to client AWS accounts.

Color-Coded Excel Reporting

Scanned data is compiled into an Excel report stored in S3, using a green/yellow/red threshold system so risk is visible at a glance instead of buried in raw data.

Secure Cross-Account Scanning with AssumeRole

A CloudFormation stack deployed in the client's AWS account creates a scoped IAM role; the Lambda function assumes that role to scan resources without ever holding the account's own credentials.

Real-Time Alerting with Zabbix

A Zabbix-based monitoring system tracks resource utilization continuously, triggering alerts over email, Slack, or webhook when CPU, memory, or network usage crosses a set threshold.

Fully Automated, Scheduled Workflow

Scanning and reporting run on a schedule with no manual intervention, plus an on-demand option for an instant resource health check whenever it's needed.

The impact

CloudOps gives Texple (and its clients) automated, secure, and scalable visibility into AWS infrastructure health, with color-coded reporting and real-time alerting that catch risk early instead of after an incident.

Enhanced Security & Compliance

Cross-account scanning via AssumeRole keeps assessments secure, and color-coded risk reporting helps teams spot and mitigate threats quickly.

Proactive Resource Optimization

Early detection of overutilized resources and automated threshold alerts improve response time and help right-size AWS spend.

Fully Automated & Scalable

Zero manual intervention is needed for scanning and reporting, and the same solution scales across multiple AWS accounts.

Cost & Compliance Impact

Proactive alerting reduces downtime risk, identifying underutilized resources helps optimize AWS costs, and consistent reporting supports compliance adherence.

How it is built

Architecture

A CloudFormation stack creates a scoped IAM role in each client account; a scheduled Lambda assumes it, scans services and writes a colour-coded Excel report to S3. Zabbix watches utilisation in parallel and sends alerts by SNS, email, Slack or webhook.

  1. Client AWS account

    • AWS CloudFormationDeploys the cross-account IAM role in the client account
    • AWS IAM (AssumeRole)Scoped, credential-free access for the scanner
  2. Scanning

    • AWS LambdaScheduled and on-demand scans of EC2, S3, EKS, ECS, Route 53 and more
  3. Reporting

    • Python & PandasBuild the colour-coded green, yellow and red Excel report
    • Amazon S3Stores generated infrastructure reports
  4. Monitoring & alerting

    • ZabbixTracks CPU, memory and network utilisation against thresholds
    • SNS, email & SlackDeliver threshold alerts to operations teams

Under the hood

Implementation highlights

Illustrative snippets showing the pattern used — not the client's production code.

Cross-account scan with AssumeRole

The scanner assumes the role the client's CloudFormation stack created, so it never holds that account's own credentials.

python
import os
import boto3

def client_session(role_arn: str) -> boto3.Session:
    creds = boto3.client("sts").assume_role(
        RoleArn=role_arn,
        RoleSessionName="cloudops-scan",
        ExternalId=os.environ["SCAN_EXTERNAL_ID"],
    )["Credentials"]
    return boto3.Session(
        aws_access_key_id=creds["AccessKeyId"],
        aws_secret_access_key=creds["SecretAccessKey"],
        aws_session_token=creds["SessionToken"],
    )

def handler(event, context):
    session = client_session(event["role_arn"])
    ec2 = session.client("ec2")
    instances = [
        {"id": i["InstanceId"], "type": i["InstanceType"], "state": i["State"]["Name"]}
        for r in ec2.describe_instances()["Reservations"]
        for i in r["Instances"]
    ]
    buckets = [b["Name"] for b in session.client("s3").list_buckets()["Buckets"]]
    return {"ec2": instances, "s3": buckets}

Colour-coded Excel report with Pandas

Each metric is graded against warning and critical thresholds, then the workbook is written for upload to S3.

python
import pandas as pd

WARN, CRIT = 70, 90  # utilisation thresholds, in per cent
COLOURS = {"green": "#C6EFCE", "yellow": "#FFEB9C", "red": "#FFC7CE"}

def grade(value: float) -> str:
    if value >= CRIT:
        return "red"
    return "yellow" if value >= WARN else "green"

def colour_row(row):
    fill = COLOURS[grade(row["cpu_percent"])]
    return [f"background-color: {fill}"] * len(row)

def write_report(rows: list[dict], path: str) -> None:
    df = pd.DataFrame(rows)
    df["status"] = df["cpu_percent"].map(grade)
    df.style.apply(colour_row, axis=1).to_excel(path, index=False, engine="openpyxl")
Talk to the team that built this

Have a project in mind?

Let's build something impactful together.