Skip to main content
Cloud DevOps Solutions
Get a quote Talk to an engineer

Compliance

NIS2 technical controls for AWS, Azure and Kubernetes

NIS2 (Directive (EU) 2022/2555) requires in-scope entities to take cybersecurity risk-management measures, listed in Article 21. We implement the technical parts in your AWS, Azure or Kubernetes environment (access, logging, backup, supply chain, encryption, MFA) and produce evidence. Your advisers decide scope and compliance.

Not legal advice, not a certification. This page describes the technical controls we implement inside your environment. You remain responsible for your compliance, and your legal and compliance advisers decide what applies to you. See our Trust Center for how we handle data.

Key takeaways

  • Whether NIS2 applies depends on entity size, sector and the member state's national law, so confirm scope with your legal or compliance adviser first.
  • Article 21 measures map cleanly onto engineering work: logging, backup and restore tests, least privilege, MFA, encryption, vulnerability handling and supplier visibility.
  • Incident reporting readiness is mostly a detection and timeline problem: you need logs you can trust and a way to reconstruct events quickly.
  • Evidence should be produced by the system (pull requests, scan reports, restore logs), not assembled by hand before an audit.
  • We implement technical controls only. Legal interpretation, regulator notifications and policies stay with you and your advisers.

Who NIS2 can apply to

NIS2 is Directive (EU) 2022/2555. A directive is implemented through national law, so what applies to you depends on three things: your sector, your size, and the member state (or states) where you operate. Some organisations are classed as essential entities and others as important entities, and the obligations, supervision and detail can differ between countries. Some suppliers and managed service providers are also pulled in indirectly, because their customers must manage supply chain risk.

We do not decide scope, and we would be wary of anyone who gives you a confident answer without reading your corporate structure. Confirm with your legal or compliance adviser first. Once you know which measures apply, the technical work is something we can scope clearly. If you are mapping several frameworks at once, our pages on GDPR and EU data residency, DORA and SOC 2 and ISO 27001 readiness cover the overlap. The compliance hub lists them all.

What Article 21 asks for, in engineering terms

Article 21 requires appropriate and proportionate technical, operational and organisational measures to manage risks to network and information systems. It lists minimum areas. The table below translates the ones that land in cloud and Kubernetes work, with the evidence each produces. Your adviser confirms the exact list for your national law.

Measure areaTechnical control we implementTypical evidence
Incident handlingCentralised audit and application logs, alert routing, on-call runbooksAlert history, log retention settings, runbook with tested timeline reconstruction
Business continuity and backupScheduled backups, cross-region or cross-account copies, restore testsBackup job logs, dated restore test record
Supply chain securityImage and dependency scanning, signed images, supplier and registry inventoryScan reports per build, SBOM exports, list of external services
Secure development and vulnerability handlingPull request review, CI scanning, patch cadenceMerged PR history, scan trend reports, remediation tickets
Access controlLeast-privilege IAM and Kubernetes RBAC, short-lived credentials, periodic access reviewRole definitions in code, exported access review
CryptographyEncryption at rest and in transit, managed keys, secrets in a vaultTerraform config, key policies, certificate inventory
Multi-factor authenticationMFA enforced on cloud consoles, identity provider and CI/CDIdentity provider policy export, sign-in logs

Incident handling and logging for reporting readiness

NIS2 contains incident reporting obligations, with staged notifications to the competent authority or CSIRT. Who reports, what counts as significant and when are legal questions for your organisation and its advisers. The engineering question is narrower: when something happens, can your team reconstruct it fast and trust the answer?

That depends on a few things we build and check:

  • Audit logs on by default. CloudTrail (AWS) or the Azure Activity Log, plus Kubernetes API audit logging, sent to a separate account or workspace that engineers cannot edit.
  • Application and platform logs shipped to a central store such as Grafana Loki or your existing SIEM, with retention set by policy rather than by default.
  • Metrics and alerting with Prometheus and Alertmanager, routed to a named on-call rotation. See monitoring with Grafana and Prometheus.
  • Runtime detection with Falco, which flags suspicious behaviour inside containers such as unexpected shells or sensitive file reads.
  • Consistent timestamps and identifiers, so events from the cloud control plane, the cluster and the application can be lined up on one timeline.

We write this into a runbook and test it: pick a past event, rebuild the timeline from logs alone, and note what was missing. For on-call process, see SRE and incident response and the observability and on-call setup package.

Business continuity, backup and recovery

A backup that has never been restored is an assumption. We configure backups for databases, volumes and cluster state, keep copies in a separate account or region you choose, and schedule restore tests that write a result you can file. In Kubernetes this typically means a tool such as Velero for cluster resources and volumes, plus native snapshots or point-in-time recovery for managed databases.

Recovery time and recovery point targets are business decisions. We help you measure what your current setup achieves and design to the targets you set. More detail is in backup and disaster recovery.

Supply chain security, secure development and vulnerability handling

Supplier risk in NIS2 includes the software you build on. In practice, that means knowing what is in your images and who provides your services.

# GitHub Actions step: fail the build on serious findings
- name: Scan image
  uses: aquasecurity/[email protected]
  with:
    image-ref: ${{ env.IMAGE }}
    severity: HIGH,CRITICAL
    exit-code: "1"
    ignore-unfixed: true

Trivy scans images, dependencies and infrastructure code in CI, and results are kept per build as evidence. We pair this with branch protection, mandatory pull request review, pinned base images and a documented patch cadence. We also build a simple supplier register: which SaaS tools, registries and cloud services touch production, and in which region. The CI/CD rebuild package is the usual route if your pipeline cannot enforce these gates today. Scanning finds known issues only, so it does not replace threat modelling or code review.

Access control, cryptography and MFA

Least privilege is the control auditors ask about first. On the cloud side we replace long-lived keys with roles and short-lived credentials, split production and non-production accounts, and remove unused permissions. Inside the cluster we use Kubernetes RBAC with namespaced roles, network policies to restrict pod traffic, and admission policies that block privileged workloads. Our Kubernetes production readiness review checks these on an existing cluster, and Kubernetes consulting covers fixes.

For cryptography we enable encryption at rest with managed keys, enforce TLS in transit and keep secrets in HashiCorp Vault or the cloud secret manager rather than in Git. MFA is enforced at the identity provider for console, CI/CD and administrative access. Key management choices (customer managed keys, rotation periods) are policy decisions we implement once you set them.

Evidence that comes from the system

Evidence collected by hand before an audit is slow and easy to dispute. We prefer evidence the system produces: infrastructure in Terraform with history in Git, pull request approvals, scan reports saved per build, backup and restore logs, and access exports on a schedule. We index them against each control so your team can answer a request without searching. A landing zone is a good foundation if your account structure is the gap, and the Cloud DevOps health check is a low-commitment first step.

What we do not do

  • We do not interpret the Directive or decide whether you are in scope.
  • We do not act as your regulator contact, submit incident notifications or hold the CISO role.
  • We do not write board-level policies, risk assessments or training programmes.
  • We do not provide an auditor’s opinion, certification or a statement that you comply.
  • We do not copy production data to our systems.

Hire a specialist consultancy or lawyer for scope, governance and policy. You can read how we handle access and data in the Trust Center.

Common misunderstandings

  • “Buying tooling makes us compliant.” Tools produce signals and evidence. Compliance also needs ownership, policy and review.
  • “NIS2 is only about incident reporting.” Reporting is one part. Article 21 also covers prevention, continuity and supply chain.
  • “One framework fits every country.” National implementation varies, so check each member state where you operate.
  • “Backups are enough for continuity.” Only tested restores, with known recovery times, count.
  • “Scanning solves supply chain risk.” It covers known vulnerabilities, not supplier governance.

If you want to talk through where your environment stands, book a consultation or see managed DevOps plans for ongoing operation of these controls.

References

How we deliver it

  1. 01

    Assess against Article 21 areas

    We review your accounts, clusters and pipelines against each measure area and list technical gaps, ranked by risk and effort.

  2. 02

    Map controls to your environment

    We agree with your compliance lead which controls are technical, which are organisational, and which cloud services and namespaces are in scope.

  3. 03

    Implement the controls as code

    Access, encryption, logging, backup and scanning are built through Terraform and pull requests so every change is reviewed and reproducible.

  4. 04

    Wire up detection and evidence

    We centralise logs, add runtime detection and alerts, and configure scheduled jobs that produce restore, scan and access review evidence.

  5. 05

    Test recovery and incident flow

    We run a restore test and a tabletop style technical exercise so your team knows how to reconstruct an incident timeline.

  6. 06

    Hand over with an evidence index

    You receive runbooks, a control to evidence index and a short briefing for your engineers, auditors and advisers.

Tools and technologies

KubernetesTerraformTrivyFalcoPrometheusHashiCorp VaultAWS CloudTrailAzure MonitorVeleroGitHub ActionsOpen Policy AgentGrafana Loki

Frequently asked questions

Does NIS2 apply to my company?
It depends on your sector, your size and the national law of each member state where you operate. The Directive covers certain essential and important entities, but details vary by country. We cannot determine scope for you. Confirm with your legal or compliance adviser, then bring us the technical requirements to implement.
What does Article 21 of NIS2 require technically?
Article 21 lists cybersecurity risk-management measures, including incident handling, business continuity such as backup, supply chain security, secure development and vulnerability handling, access control, cryptography and multi-factor authentication. The exact expectations depend on national transposition and your risk assessment, so your adviser should confirm the final control list.
Can you make us NIS2 compliant?
No. Compliance is a legal and organisational status that you and your advisers own. We implement the technical controls inside your cloud accounts and produce evidence of how they operate. We hold no company-level certification and do not give legal opinions or regulator-facing statements.
Do you handle NIS2 incident reporting to the regulator?
No. Notifications to the competent authority or CSIRT are made by your organisation, following national rules. We make sure your logging, alerting and runbooks let your team establish what happened and when, quickly enough to support the reports your advisers prepare.
Do you need access to our production data?
We usually work inside your cloud accounts with least-privilege roles, and we do not copy production data to our systems. Where we may process personal data we sign a data processing agreement. You choose the cloud regions. Our standards are described in the Trust Center.
How does this relate to GDPR, DORA or ISO 27001?
The technical controls overlap heavily: logging, access control, encryption and backup serve all of them. The legal duties differ. A shared control set with mapped evidence avoids doing the same work twice, and you can see how we approach each framework on the compliance hub.

Talk to an engineer about nis2 technical controls

Book a free 30-minute call. We review your current setup and tell you honestly whether and how we can help.

Written by Saddique Khan, DevOps / SRE / Cloud Consultant Engineer. Last updated 2026-10-08.