Cloudanix Joins AWS ISV Accelerate Program

Kubernetes Security Mastery: Ephemeral Environments, Identity, and GenAI with Dinis Cruz

Dinis Cruz explains how to secure ephemeral Kubernetes workloads, why identity is the new perimeter, and how GenAI transforms both attack surfaces and defense.

What happens when your infrastructure is designed to disappear? Ephemeral Kubernetes environments bring massive advantages in cost, scalability, and security — but they also demand a fundamentally different mindset from security teams accustomed to static servers they can SSH into.

We spoke with Dinis Cruz, CEO and founder of The Cyber Boardroom and MyFeedAI startups, on the Scale to Zero podcast. Dinis brings over 20 years in cybersecurity and software development, with previous CISO roles at Photobox Group and Revolut, and deep hands-on experience as a CTO building Kubernetes-native infrastructure.

You can read the complete transcript of the episode here >

How do you shift from a data center mindset to ephemeral Kubernetes security?

Dinis is direct: security teams must also be engineering teams. You need developers who understand CI pipelines, deployment, and infrastructure-as-code. Without that engineering foundation, security teams cannot participate meaningfully in conversations about dynamic environments.

The key insight is that most security problems are actually engineering problems, workflow problems, or process problems. Security is a side effect. The best security teams he has worked with were always the best engineering teams — for them, input validation, patch management, and IAM are natural properties of well-built systems, not bolted-on afterthoughts.

Teams that can ship fast can also fix fast. Organizations with rapid deployment capabilities end up with fewer long-lived vulnerabilities than teams that deploy once a week and are afraid to touch production.

What are the biggest challenges when moving to ephemeral environments?

The shift from static to dynamic infrastructure introduces several challenges:

  • Forensics in vanishing environments: When a container that caused an incident is already gone, traditional investigation approaches fail. You cannot SSH into something that no longer exists.
  • Logging and monitoring gaps: Most organizations still do not capture enough information. The need for SIEMs exists precisely because engineering teams lack proper observability.
  • Funding for non-functional requirements: Teams struggle to get budget for logging, monitoring, and security when leadership only funds visible product features.
  • Kubernetes complexity at scale: Beyond 50–100 nodes, clusters become fragile. Dinis found that running 200 single-node instances with load balancing was more reliable than one massive cluster.

His solution for Kubernetes scaling: scale to one. Run each workload on its own dedicated single-node cluster. This forces clean engineering decisions and provides natural blast radius containment.

How should organizations handle logging in ephemeral environments?

Dinis rejects the conventional approach of sending all logs to a centralized platform. Instead, he uses a LETS pattern — Load, Extract, Transform, Save:

  • Store raw logs in cloud storage first (not directly into your logging platform). Cloud storage is orders of magnitude cheaper.
  • Create transformation pipelines that progressively clean and enrich data from one storage layer to the next.
  • Send only the minimal cleaned data to your logging platform for day-to-day monitoring.
  • Reload raw data on demand when you need to zoom into a specific time window for investigation.

The logging infrastructure itself should be ephemeral — you should be able to delete it entirely and rebuild from stored data. This keeps costs down while maintaining full forensic capability when needed.

Why is identity the key to securing Kubernetes workloads?

In ephemeral environments, identity should also be ephemeral. Each workload should receive credentials scoped to exactly what it needs for that specific request — not broad permissions that persist.

The problem today: most Kubernetes environments have minimal internal security. Services talk to services freely because they lack strong identity propagation. User identity gets lost as requests move deeper through the application stack, eventually reaching databases with overprivileged service accounts.

Dinis envisions a model where:

  • Every request carries identity context from the original user through every service hop.
  • Assets (databases, APIs) can validate who is actually making the request — a real user, an admin, a bot, or a compromised GenAI agent.
  • Permissions are scoped not just to the service but to the specific task in a workflow sequence.

GenAI makes this achievable by helping teams understand their infrastructure well enough to define fine-grained permissions — analyzing Terraform scripts, Helm charts, and firewall rules to map actual data flows.

How does GenAI change the Kubernetes threat landscape?

Dinis sees GenAI as potentially the most dangerous internal threat organizations have ever faced. A Kubernetes pod with GenAI capabilities that gets compromised is fundamentally different from a traditional compromised node:

  • Intelligent lateral movement: Unlike traditional exploits that require scripted attack chains, a GenAI agent can explore, adapt, and attack other nodes creatively.
  • MCP server volatility: The Model Context Protocol means that not only can infrastructure change dynamically, but the very definition of what tools an LLM can access can change minute to minute — making incident reconstruction nearly impossible.
  • Prompt injection at scale: Everything in an LLM’s context window is potential attack surface — DNS entries, tool descriptions, results from other tools, web page content.

His defensive recommendation: treat every GenAI-enabled pod as radioactive. Run them on dedicated single-node clusters with strict isolation. Ask the question: “What happens if this thing starts attacking all other nodes?” Most environments today cannot survive that scenario.

How should security teams use GenAI defensively?

Dinis draws a critical distinction: do not use GenAI to create — use it to translate and transform. This approach is far more deterministic:

  • Translate Helm charts into human-readable descriptions to catch security implications in changes.
  • Transform firewall rules into graphs to identify redundancies and gaps across thousands of rules.
  • Analyze code diffs and update security documentation automatically.
  • Run three models in parallel on the same translation task — if they agree, you have high confidence in the output.

The key principle: always provide the raw data to the LLM rather than asking it to generate from its training data. When translating existing artifacts, hallucination drops dramatically.

Security teams have a unique advantage: they are the only team in an organization that can legitimately access all data, all documents, all systems. Combined with GenAI’s ability to process and correlate that information, defenders can finally understand “what good looks like” — and catch attackers when they deviate from it.

How will the role of security engineers evolve with GenAI?

Dinis is optimistic: we will need more engineers, not fewer. Every business function — HR, finance, marketing, procurement — will start shipping code through vibe coding and no-code tools. Each will need dedicated engineers handling non-functional requirements: security, logging, scalability, and deployment.

His hiring philosophy reinforces this: when building security teams, hire developers and teach them security. The development mindset — understanding CI pipelines, abstractions, and systematic problem-solving — is harder to teach than security domain knowledge.

The engineers who thrive will be curious, willing to learn, and comfortable working at the intersection of business enablement and technical security controls.

People Also Read

What Our Users Are Saying

Customer Reviews

Cloudanix is trusted by security leaders worldwide to deliver proactive, reliable, and cutting-edge cloud security.

One day, I changed the password of a root account, and my CTO called me within less than a minute to confirm if I did so. I was not expecting a reaction this quick. He told me Cloudanix alerted him of this password change and that he wanted to confirm as it was a critical security notification. I couldn't believe it!

Ritesh Agarwal
Ritesh Agarwal
CEO, Airgap Networks

Compliance is one way of staying secure, but what I want is the ability to go deeper and attain 'true security.' Cloudanix provides us the capability to do so.

Vishal Madan
Vishal Madan
Head of Engineering, iMocha

Cloudanix is building for the future of the cloud, which makes the product all the more desirable.

Ritesh Agarwal
Ritesh Agarwal
CEO, Airgap Networks

Cloudanix gave us the visibility we were missing. Being able to move from permanent access to a robust Just-In-Time (JIT) workflow has fundamentally changed our security posture without slowing down our engineering velocity.

Pavan Kumar Lekkala
Pavan Kumar Lekkala
SRE Lead, HugoHub

We are excited to leverage Cloudanix's comprehensive multi-cloud DevSecOps solution to secure our production workloads on AWS. Cloudanix has demonstrated that it can solve many challenges that DevSecOps teams face while continually adding new features such as SOC2 compliance and drift detection.

Satish Mohan
Satish Mohan
Co-founder & CTO, Airgap Networks

Managing third-party partner access was once a major concern for our security posture. With Cloudanix JIT Cloud, we've effectively achieved zero third-party risk. We can now grant access confidently, knowing that it is temporary, audited, and automatically revoked, resulting in a 100% reduction in our privileged access exposure.

Okesh Badhiye
Okesh Badhiye
Head of Technical Engineering, Finfinity

The snooze feature and responsible alerts have helped us save time and prioritize what to tackle first.

Satish Mohan
Satish Mohan
Co-founder & CTO, Airgap Networks

Implementing Cloudanix JIT internally allowed us to practice what we preach. By eliminating permanent access to our own clouds and databases, we've neutralized the risk of standing privileges, ensuring our own 'keys to the kingdom' are never left exposed.

Girish Manghnani
Girish Manghnani
Managing Partner, Tech Inspira

The problem with permissions is a lot of times, the gaps are left open due to oversights from inside the organization itself. With Cloudanix's CIEM, we get a complete view of user permissions and access. This enables us to update the permissions, reducing the attack surface.

Nilesh Pethani
Nilesh Pethani
Application Architect, iMocha

In the world of Fintech, trust is our currency. Cloudanix provided the frictionless visibility we needed to secure our EKS workloads across AWS, ensuring we stay audit-ready for SOC2 and GDPR without slowing down our engineering velocity.

Amol Naik
Amol Naik
Head of Security & Infrastructure, HugoHub

Cloudanix delivered value within 5 minutes of onboarding. Continuous monitoring, timely detection, and excellent documentation helped us attain a great cloud security posture.

Divyanshu Shukla
Senior DevSecOps, Meesho

Technology strategies and business strategies are in a state of constant change which includes centralization and decentralization of responsibilities. Regardless of strategic shift, we still have intellectual property to protect. Cloudanix are critical partners for us in our public cloud security posture across our three cloud providers.

Jerry Locke
Jerry Locke
Senior Director Global Solutions Engineering, Eversana

Cloudanix has been amazing. They opened up a common Slack channel with us — and it feels like we are talking to our own team and getting things done with Cloud security. The support team is always available, friendly, helpful, and ready to go out of their way.

Satish Mohan
Satish Mohan
CTO, Airgap Networks

Beyond just access management, Cloudanix CSPM has given us a unified view of our AWS environment. The real-time alerting and anomaly detection allow us to prevent any untoward activity before it happens, which is critical for a marketplace connecting 50+ financial institutions.

Okesh Badhiye
Okesh Badhiye
Head of Technical Engineering, Finfinity

For a Fintech company, data is our most valuable — and most sensitive — asset. Cloudanix DAM hasn't just improved our visibility; it has given us control. The ability to mask data and prevent unauthorized queries in real-time is a game-changer for our compliance and customer trust.

Jiten Gala
Jiten Gala
President Engineering and Product, Kapittx

Our clients, especially in the Middle East financial sector, demand absolute accountability. Cloudanix JIT Cloud has been a competitive differentiator for us, allowing us to provide secure, governed access to customer accounts that meet their strictest audit and compliance requirements.

Girish Manghnani
Girish Manghnani
Managing Partner, Tech Inspira

Cloudanix is always on my team's lips because of its exceptional support. Be it a small or big query, Cloudanix has gone above and beyond to resolve them. This one's a keeper for us.

Sujit Karpe
Sujit Karpe
CTO, iMocha

For a long-lasting partnership, great support goes a long way. Cloudanix has delivered exceptional support whenever required. Their edge is their team is always ready to go beyond to solve any issues that we have. This speaks volumes about the culture at Cloudanix.

Akash Maheshwari
Akash Maheshwari
Co-founder, MoveInSync

Beyond the technology, Cloudanix feels like an extension of our own team. Their willingness to stand up a dedicated Middle East tenant for us and provide exceptional support at a sensible price makes them a long-term partner for Hugosave.

Surya Tamada
Surya Tamada
CTO, HugoHub

The real-time notifications that Cloudanix provides are a real lifesaver. Their adaptive notifications ensure that my team stays productive and doesn't get interrupted all the time.

Digvijay Singh
Staff Security Engineer, Meesho

The whole point in technological evolution is to help improve the world we live in. We must protect that and to do so requires an effective and efficient security strategy. The Cloudanix team helped make our public cloud security posture management strategy a reality. The symbiotic relationship we have allows for a continuous feedback loop which is how business should operate.

Larry Wheat
Larry Wheat
Staff Solutions Engineer, Eversana

Ready to see your graph?

Connect a cloud account in under 30 minutes. See every finding rooted in identity, asset, and blast radius — with a fix path attached.

Book a Demo