Secure By Design: Architecting your cloud and AI workloads from the perspective of infosec
Natalie Godec44:172026
You can vibe-code an AI app, but you can't vibe-code its security
Tesla's 2018 breach starts with an unprotected Kubernetes dashboard and ends with leaked AWS credentials and a crypto-mining bill of more than $100,000. Vibe-coded AI apps run on the same kind of containers, networks and data stores, often shipped with no thought for where they run. Natalie Godec, a Senior Cloud Architect at Zencore and Google Developer Expert in Cloud, asks which guardrails close those gaps, and which take real work to set up.
Get a layer-by-layer checklist for securing clusters, serverless apps, data and your whole cloud
Natalie Godec, Senior Cloud Architect at Zencore, argues that AI workloads are only as secure as the cloud platform beneath them and walks through a defense-in-depth approach using Google Cloud examples that apply on any provider. She covers hardening Kubernetes and Cloud Run, protecting data in AlloyDB and BigQuery, and setting organization-wide guardrails with org policies and VPC Service Controls.
“And sometimes we forget that we do need to think about those things, especially when we are vibe coding and creating things left, right and center and deploying them without having any knowledge or without giving any thought to where that thing that we vibe coded will run.”
“And we are all moving away from static keys to dynamically generated tokens.”
What you will learn
Harden Kubernetes clusters with private nodes and control planes, VPC-native routing, a DNS endpoint in place of bastion hosts, and shielded VMs.
Replace static service account keys with workload identity federation so services use short-lived, automatically generated tokens.
Apply ready-made compliance bundles such as CIS and PCI DSS with Policy Controller or Gatekeeper, and verify image provenance with binary authorization.
Protect data with Private Service Connect endpoints, private DNS zones and BigQuery column- and row-level security.
Set organization-wide guardrails with org policies and design separate VPC Service Controls perimeters for data, compute and shared data.
Key takeaways from the speaker
You must design your systems with security in mind - otherwise the price to pay will be high.
Everyone's favourite tech - k8s, Postgres, cloud services - is, in fact, very easy to protect. Here you will learn about the tools to do so.
You don't need to lock down your infrastructure - a lot of tools give you an option to apply security guardrails in dry run mode.
Visibility is key! Having continuous monitoring of your systems, and giving this information to developers, opens your path to better security.
Details
Level
Intermediate
Format
Tech talk
Technical depth
Practitioner
For
Mid-career, Senior individual contributor
Length
44:17
Published
July 2026
Questions this talk answers
Why does platform security still matter for AI workloads?
Every AI workload runs on a runtime, network and data layer, so containers, networks and data must be secured, not only prompts and models. Godec warns that vibe-coded apps are often deployed with no thought for where they run.
How do you administer a private GKE cluster without a bastion host?
Use a DNS endpoint: a managed, TLS-terminating endpoint in front of the control plane with an identity-aware proxy that validates access. This removes the need to maintain and patch a dedicated SSH bastion VM.
Why should teams replace static service account keys with workload identity federation?
Static keys mounted into pods can leak, as AWS credentials did in Tesla's 2018 incident, which the speaker said led to a crypto-mining bill of more than $100,000. Workload identity federation gives namespaces and service accounts cloud identities that generate temporary tokens automatically through the official libraries.
How does binary authorization stop a compromised container image?
Attestors in the pipeline sign each image digest using KMS keys, and the admission controller only deploys images whose digest carries the right signature. Tags can be overwritten by an attacker, but digests cannot.
Can highly sensitive data stay out of the cloud while cloud workloads still use it?
Yes: connect the data center to the cloud network through an encrypted VPN tunnel or a direct interconnect, with firewalls opened only for specific data. Godec adds that properly secured cloud platforms already host healthcare and banking data.
About this talk
So you've vibe-coded your Super Smart AI Agentic App and are ready to set it free on the Internet. You are sure it will do well, it solves this amazing use-case, with such clever technology! You pick your favourite cloud provider, decide on a runtime - perhaps, Kubernetes or Cloud Run - buy a domain, ask Gemini to wire up a deployment pipeline. Happy days!
But here's the thing. You can't vibe-code security. Every single thing you deploy to the cloud needs to be secured. And it's a hard task! Even for cybersecurity professionals.
But fret not. Cloud providers, such as Google Cloud, have already put in the work to make your job easier. And in this talk, you will learn the fundamentals of securing your workloads, (almost) end-to-end.
How static keys led to Tesla's crypto-mining bill (48 s)
Why image digests beat tags against backdoors (83 s)
Can highly sensitive data live in the cloud? (83 s)
All right, let's roll. Welcome to the session. Good morning, good afternoon, depending where you are. I'm in London. It is a very great morning today and a cold one. So good morning to you who are joining me from Europe and good afternoon to those from Asia, Pacific, Australia. Good evening, probably already. I hope you've been having a wonderful conference and have joined a lot of interesting sessions.
I had one yesterday, which was a panel on cybersecurity in the AI age, which is obviously a big topic and very intimidating and interesting one. But today we are going to talk about technical security in cloud. My name is Natalie Godec. I'm a principal cloud architect at Zencore. We are a Google cloud partner, which means that I go out and build.
Cloud platforms for different companies around Europe, mostly, but sometimes in other places of the world as well. I'm also a Google developer expert, meaning that I'm like an ambassador of Google cloud tech because I work with it so much. And the examples that I will be giving you today will be based on Google cloud, but you can implement the very same principles everywhere else. And I'll be giving specific examples where it is applicable to use open source tools, to use some other features of other features of AWS or Azure or other cloud providers, depending where you are. My background is in infrastructure and DevOps and platform engineering. So that's where the technicality comes from. And this QR code leads to my social media. If you would like to stay in touch. I'm also a photographer. You can see behind me one of the pictures that I had taken. So yeah, let's stay in touch.
We're starting with securing services. So run times, containers, Kubernetes, serverless, all of that. Then securing data because nothing runs without data. And specifically in the AI era, we need to deal with our data even more than ever before and need to consider security of that data even more than ever before in different ways and in new ways that we haven't had to consider before.
Which would be like, how do you secure your whole entire cloud? Again, for those who joined a bit later, I will be giving examples of Google cloud tech, but all of these principles are applicable wherever you're hosting your services. And the reason I'm talking about securing your AI and cloud workloads, well, there is a platform, an infrastructure, a runtime that will run underneath your AI workloads, regardless where they are. So you still need to secure your containers, you still need to secure your networks, you still need to secure your data. It is not all about AI security itself. Of course, you need to have model armors and prompt security and protect against prompt injection and make sure that there is safety and explainability in the models that you run. But the platform and the infrastructure
is equally important. And sometimes we forget that we do need to think about those things, especially when we are vibe coding and creating things left, right and center and deploying them without having any knowledge or without giving any thought to where that thing that we vibe coded will run. So today you will learn the basics of securing the thing that will support your applications and your services and your runtimes. Let's start with securing services and start with Kubernetes. GKE is a Google managed Kubernetes, just a name. Why does this matter? This matters because right now, probably most of the world is running on Kubernetes. Most of the services in the world are running on some sort of Kubernetes. Already in 2024, 93% of companies around the world were using
communities in production. Half of that Kubernetes is running on data versions. We all know that updating and upgrading Kubernetes itself is very hard. Part of the reason why managed services such as GKE, EKS, AKS are so popular, not even mentioning the Red Hat one and the multitude, Weave and the multitude of other third parties that will manage your communities for you because managing it and upgrading it is hard, which results in 46% of the Kubernetes clusters worldwide running out of life and of support versions.
And this results in a lot of incidents. A very famous one was in 2018 where the Tesla's Kubernetes control plane running on AWS was compromised. And we'll talk about that a little bit more later. Fortune 500 companies' secrets were leaked into public repositories. So, we're talking big established companies, big established enterprises that have probably a very strong compliance team, a very strong security team, very strong rules around what goes where, what gets deployed into production. And yet, here we are, finding their secrets in public repositories.
And, of course, the infrastructure itself, the things that are powering our services, keep getting vulnerabilities, keep scanning vulnerabilities. And if you're following the project of Claude Mythos, that is a collaboration of big tech companies around the world, such as Antropic, Google, Amazon, etc., collaborating on using AI to detect vulnerabilities and fix vulnerabilities because the detection of them is accelerating and the exploitation of them is accelerating.
Last year, there was the, there was a set of vulnerabilities found in the Ingress controllers called Ingress Nightmare. And Ingress is what you use to expose your services for users out of Kubernetes. So, Kubernetes is like a bubble that runs inside your cloud or your infrastructure, but then you need to make sure that your users can reach those services and use Ingress for that.
That is to say, everybody uses it. So, vulnerabilities in those controllers are really, really impactful. So, what do we do? We approach our clusters, our infra, with the thought about defense in depth. We will think about cluster security itself, and we will think about workload security. So, if you're a software engineer, you probably have heard like, oh, you don't use outdated libraries, don't use insecure configurations, make sure that your prompt is sanitized, etc., your input is sanitized and your prompt in the AI case.
But there is more to that. And in terms of cluster security, Jiki, Google Kubernetes, manage Google Kubernetes, offers you a couple of things. One is, I'll go bottom up, one is your very basic foundational network security, and you will use this again on whatever infrastructure that you use, whatever your cloud provider, your infrastructure provider, make sure that your clusters are private, meaning there is no public IP address assigned to the nodes.
There is no public IP address assigned to the control plane, and your cluster and the control plane of the cluster are not accessible over the Internet. You will have in Google VPC native clusters, meaning that the routing out of the cluster and within the cluster always goes through the VPC. So, all of the firewalls, not gateways, egress rules, Cloud Armor, and all of that is applicable to the in-cluster traffic as well.
And also use a DNS endpoint. And I have a typo there. If you're paying attention, you will have noticed. A DNS endpoint is a way to eliminate the need for bastion hosts, because if your control plane of Kubernetes is not accessible over the Internet, how are your users and the administrators of the cluster going to administer the cluster, right?
You need to connect to the cluster somehow. And typically with private clusters, we would have had to have a bastion, so a dedicated VM that is kind of super secured and has the SSH port open. And we could tunnel through that port or connect directly to that VM and connect to Kubernetes from there because it would live in the same network as the cluster.
This is tedious, this is tiresome, this is very difficult to maintain as well because you need to make sure that it's updated, make sure that the bastion itself doesn't have vulnerabilities. So we are replacing that with a DNS endpoint in Google Cloud, meaning that there is a TLS terminating endpoint in front of the GKE control plane, allowing you to access it through a DNS with an identity-aware proxy in front, meaning that your, yes, it is an endpoint that is available through the Internet, but there is an identity-aware proxy, meaning an endpoint that will validate accesses and validate the authorization mechanisms for the control plane.
And there is also a TLS termination, like I said, so you're not getting a direct access into the cluster. It's rather terminated on the endpoint, like it is all managed, so you don't need to worry about it, but it is more secure than having just a port exposed. Then secure boot and shielded VMs, we're talking about encryption of the boot mechanism, the boot sequence on the disk of every VM, meaning that the boot sequence of your VM that comprises the node of the cluster is not compromised and cannot be compromised.
It's a really easy feature to enable, you should just enable it by default on everything and require it to be enabled everywhere. And policy controller is a feature that allows you to deploy the same policies and the same security mechanisms across clusters. So if, let's say, you have multiple regions and you're serving your application in multiple regions to people around the world, you will have multiple clusters.
Each of those clusters needs to have the same policies, security controls, etc. Policy controller allows you to do that. And something else that we will talk about in terms of workload security, one is binary authorization, and I'll explain in more detail, but basically, that is your supply chain security, that is your making sure that the image that is running in the cluster has been built internally through your CI/CD pipelines, and has been validated against your compliance and security requirements.
And workload identity, which just enables us to not use static keys. So let's talk about that a little bit in a little bit more detail. So traditionally, typically, each service that runs in Kubernetes needs an identity, right? That identity needs to be mapped to a cloud identity so that it can access other cloud resources, such as buckets, your object storage, your databases, your Kafka, your Pub/Sub, and all of the other places that it potentially needs access to.
So typically, in the old days, we would create a Kubernetes service account, attach it to the Kubernetes service that we created for, and then maybe mount some sort of key. Maybe create a service account in in Google IAM or create an AWS user with access keys and mount those keys into the pod in order to use it as an identity.
That is, of course, super not secure. And we are all moving away from static keys to dynamically generated tokens. Everybody, I mean, Google, Amazon, Azure, all of the cloud, big cloud providers will have a functionality to assign a cloud identity to your community service, and then that identity can generate tokens temporarily. So in Google, this is called workload identity federation for GKE, different from just normal workload identity.
And what this does is every cluster has a Google assigned identity, a principle set, every namespace in the cluster has a principle set. So an identity that already exists, you can see here namespace, for example, for an application one, we create a namespace, that namespace will automatically have a Google IAM identity, and a Kubernetes service account, just like we were doing before, we will have a Kubernetes IAM principle this time, corresponding to that Kubernetes service account.
I really like the namespace side of things because for security and for separation of concerns, it is a nice practice to separate your applications into namespaces. So each app, each service gets their own namespace, that namespace already has an identity, so I don't even need to create a Kubernetes service account and assign it to my application. I can just deploy the namespace and use the namespace principle set to access other cloud resources.
This is really convenient and really easy to use. And in terms of how this works inside the applications, when you use the normal libraries, you will have, like, this will use workload identity automatically. You will have the generation of the tokens happen automatically once you use the official libraries. And that incident that I mentioned at the beginning about Tesla in 2018 when their control plane was compromised.
So their Kubernetes cluster is running in KS, Kubernetes dashboard was broken in because they failed to authenticate and authorize it properly. And the AWS credentials for the services, because this was in 2018. Dynamic token generation didn't yet exist. So their credentials for other AWS services were just there in the control plane and they were leaked. And the result was a 100,000, more than $100,000 bill for crypto miners.
That was not nice. So we all have moved on to dynamic token generation in cloud providers. So please use this. The next is policy controller. Like I mentioned, it is a way to deploy security policies across your clusters. You don't need to have multiple clusters. You can use it in one cluster to just use a set, like apply a set of security policies globally.
What is interesting here is that it is basically a managed gatekeeper. So if you are on another cloud provider, you can just use gatekeeper. That is an open source tool on Google cloud. You have the policy controller. What's interesting is that it comes with ready-made bundles for your compliance frameworks. So if you need to be compliant with PCI DSS, you can just apply that set of policy, that policy bundle onto your Kubernetes cluster.
And it will make sure that the cluster is compliant and the workloads are compliant with PCI DSS. Isn't that wonderful? And you can, of course, have individual constraints and you can write your own policy bundles depending on your organization. But the ready-made bundles, and these are just three examples that I found interesting. CIS benchmark is, of course, your basic security framework, how to harden your infrastructure and your services.
PCI DSS is a very hardcore one. So that's an interesting example that you can apply a ready-made bundle that will make sure that your Kubernetes workloads are compliant with PCI DSS. And bot security policy was more lightweight if you just want, you're not, you don't need to be compliant with any regulatory frameworks, but you just want to make sure that your clusters are secure.
You can just use that. A very, very interesting feature. And another very interesting feature and very powerful one, a little bit more complex to set up. So policy controller and others, you can just enable that on the cluster and you can use ready-made bundles. Nothing else to do. Binary authorization requires a bit more setup. But what it does, essentially, is every single Docker image that is deployed into your Kubernetes clusters or into Cloud Run will be cryptographically verified.
So, again, this is a managed service on Google Cloud. But there is a -- I'm forgetting the name of the open source one at the moment. But there is an open source version of this. And there are many managed versions of this. And basically, what you do is you create KMS keys, encryption keys, for your parts of the approval process of the -- of an image before it gets rolled out.
So, for example, you can have a build a tester. And a tester is just a terminology of binary authorization. So, an entity that will create an authorization. So, build a tester, for example, make -- can be integrated into your CI/CD pipeline, making sure that the image that is being deployed has been built using your CI/CD. It hasn't been compromised.
It hasn't been swapped. It hasn't been hijacked. It is the image that has gone through your CI/CD pipelines. And then you can have many more testers. For example, a prod ready. After you have done your tests in non-prod, you can certify that this image has gone through those tests. You can have a compliance tester. For example, if you have a compliance team that needs to validate images before they go into a specific production environment.
If you have, let's say, a restricted production environment. And so on. So, instead of sitting on a big, long change management call, where everyone needs to discuss every single change that they're trying to introduce. And that gets approved verbally or through a change management system. This gives you an encrypted cryptographic signature for each image. And it works through the digest of the image.
So, like an attack scenario would be if your CI/CD pipeline gets compromised, for example, or an image on its way to the deployment gets compromised. The attacker can introduce a backdoor into your Docker image. So you're thinking that you're deploying a legitimate application internally developed, but actually it's been compromised. And the cluster will just deploy it thinking that it is legitimate.
But instead, you will get malware that runs in production. However, if you have the binary authorization enabled, then what happens is that your image will be validated, the digest of the image. So you can see here that this is backdoor column latest. Latest is a tag. Tags can be overwritten. So somebody can create an image that looks legitimate, including the tag, but it's actually compromised.
Digest of an image is not replaceable, you cannot overwrite it. So the admission controller will validate that that digest has a corresponding cryptographic signature with binary authorization. And it will not let the malicious image to be deployed. Very cool. Of course, it has an additional cost because this uses KMS, this uses encryption, but it is a very, very powerful way to make sure that what's running in your production has actually gone through all of your internal review processes.
But we're not always running Kubernetes, are we? Kubernetes is not the only way to run things. So Cloud Run is a serverless container platform. An alternative on AWS is Fargate or Lambda. To an extent, we can say that it is an alternative to Cloud Run. All Azure, I'm not entirely sure. I'm not that familiar with Azure products, but maybe I'm sure they have an alternative.
But basically it's where you, when you take a container image, throw it to the cloud and it runs and you're not managing in front. What happens with Cloud Run is that by default, it creates, it gets an HTTPS endpoint. Same with Lambda, right? It gets a DNS address. That DNS address can accept calls from wherever in the, on the internet.
So, and it will allow, but the default setting of ingress for Cloud Run is allow all ingress. So what we will want to do is to disable all ingress and put a load balancer in front of our Cloud Run service and an identity aware proxy. This enables user authentication built in. You don't have to build your user authentication separately inside your application.
You can leverage the normal general Google Cloud auth. Another little tip is do not use the default service account. Again, Google Cloud Identities, you will want to create a dedicated service account for Cloud Run service, or at least for a group of services. And you can also use binary authorization here too. The attack scenario would be that your Cloud Run service has its default DNS address.
If you didn't set the ingress setting to internal and load balancer, if you left it as ingress allow all, a threat actor could guess the DNS address of your Cloud Run service and bypass authentication that you have built here with load balancer and identity aware proxy. So you will want to change ingress to ingress traffic internal and load balancer in order to make sure that nobody can bypass this from outside of your network.
Of course, if somebody has infiltrated your network, they will still be able to access the Cloud Run service by passing the identity aware proxy. But if somebody is inside of your network, you have other problems to think about. For internet access, you have to set this ingress setting and also set up the identity aware proxy. And also you can use Cloud Armor in this case as well for web protection.
Let's move on to data. For data, I wanted to use two examples of services that are very much Google Cloud. AlloyDB is a Postgres database, but is a super managed, super scalable and hybrid workload database, meaning that it is a traditional Postgres operational database that you can use for your services. But it also has analytical capabilities and AI capabilities without impacting performance of the operational side of things.
That is very cool. And BigQuery is a big data platform that powers data analytics, data science, provides data for AI use cases, super scalable again, and very easy to manage. So alloyDB being a database, it means private networking, of course. So how do we do that? There are two options. One is VPC peering. So LODB instance itself, like this is the database instance, will be deployed into a managed VPC by Google.
You don't see that VPC, but it's not deployed like RDS instances in AWS are deployed into your subnet. LODB and Cloud SQL will not be deployed into your subnet. So there is a peering established between your VPC and the so-called tenant VPC. This means that both VPCs are fully connected. You have the IP address conflict risks and you have the transitive peering, which if you had another VPC somewhere there, another cloud, for example, or data center, private data center, the services there wouldn't be able to access your database because transitive peering is not allowed.
So what we have instead is private service connect. It is a concept of private networking and exposing services privately within the Google network backbone. So not your VPC in Google Cloud, but the Google network on which Google Cloud and Google itself run global hyperscaled private network. So what happens is your LODB, your database will expose something called a PC endpoint and your services inside your VPC can privately connect to this endpoint.
The advantage is that you can have these endpoints anywhere in other VPCs, in other projects, in other organizations, et cetera. You don't need VPNs, you don't need peerings, you don't need to fully connect networks. You just dedicate a single IP address outside of your subnet range and connect through that IP address through a specific configuration of hops.
And that configuration of hops looks a little bit like this. It looks complicated. I do wonder why it has to be so complicated. Maybe another layer of abstraction here from Google managed would have been nice. But this is what you need to do, basically. LODB exposes the service attachment. You can use that service attachment to create a PSE endpoint, which is just a forwarding rule.
And then you can have a private DNS zone for convenience. You can have like a .internal private DNS zone in this VPC. And then you would say your database instance name .internal points to that internal IP address. And then your Kubernetes services and other services that run in this VPC will be able to just call this DNS address.
It gets resolved and it gets forwarded on to the LODB instance requires a bit of setup. I highly recommend terraforming this and using it in repeated deployments without having to think about it much. I really like the private DNS zone setup because the address of like, oh, my database .internal, that's where in my application needs to connect.
You don't need to keep a set of IP addresses somewhere. You don't need to remember complicated connection strings. It makes the developer's life a lot easier. But what about BigQuery? BigQuery doesn't have an instance. BigQuery doesn't have IP addresses. So we need to protect data itself. And on top of having just normal IAM, BigQuery allows you to have column-based and row-based security, which is very cool.
You can have your data set where your analysts or your AI agent has access to, but not to everything. So sensitive fields like address or social security number needs to be masked. We don't care about them in terms of our analytical or AI use cases and we don't want to give access to them. So what we'll do is we will define something called taxonomy and organized tags.
And then define access based on those tags and those policies. This is what it looks like high risk social security number, medium risk address. And then in the schema we apply, in the schema of the table, we apply the policy tags. And then based on those tags, we will or will not have access. Row-based security works a tiny bit differently.
In order to define it, you need to actually execute SQL queries inside the table to set internal SQL, because BigQuery is still SQL compatible. So you will need to set the internal access mechanisms within the table. But basically what it does is you choose a column which contains values on which you will want to filter. So, for example, if you have multi-regional customers and you want a specific person or a specific team to only be able to access their Asia-Pacific customers, you will just have a region field in the table and then enable row-based security on the region.
Another use case for that is, for example, if you have a consent field in your registration form and customers can consent to analytics or research data science being done on their data, you can store that consent as a true/false inside a BigQuery table and then enable access to customer data based on the content of that table. Really convenient.
And this is the SQL query that you need to run, filter using region Asia-Pacific. And let's finish with global perimeters. So, our cloud is, in general, a set of publicly accessible API endpoints. If you access any cloud resource inside the cloud console, you will notice that everything has an address, an HTTP address. So, everything is just an HTTP endpoint.
How do we protect the cloud in general? A very important thing to do is to have your security guardrails installed. In GCP, this is org policies. In AWS, it is the control tower and the security policies, SCPs. And in Azure, not sure what it is, but there are equal functionalities as well. In org policies, you have predefined constraints such as, for example, no service account keys.
Those persistent, permanent keys that we spoke about at the beginning with workload identity federation. You can prohibit service accounts from having keys. You can skip default network creation because you want to manage your own networks. And default networks can be an attack surface. You can require a shielded VM. Remember, I said the boot loader sequence that needs to be protected on your VMs.
And it's an easy feature to enable. Well, you can have an org policy that forces all of your newly created VMs inside your environment to have shielded VM enabled. And so on. Like a bunch of other, these, the ones that you can see on the screen are the policies that we enable for everybody we work with. These are the baseline security without even going into regulatory compliance or any specific requirements.
These are the baseline security guardrails that you should have. With org policy and with SCPs, you can also write your own. So something that we found interesting to do, for example, is restricting direct user IAM grants. So only groups or service accounts or principal sets can get IAM roles assigned to them instead of individual users, because individual users, like it's just a bad practice to have each user a different set of IAM roles.
Make sure that they are in groups and then the group gets IAM roles assigned to it. And something for your budget, for your financial department, for your spend. Restricting compute engine machine types. This was actually inspired by an AWS SCP that one of our customers had. Make sure that in dev or in sandbox nobody can create a VM with 96 CPUs, 16 GPUs and a gazillion terabytes of RAM and just leave it running over the weekend.
People do that. You will be surprised. People do do that. And making sure that those accessible environments where people experiment, especially data scientists experiment, are restricted to slightly less expensive. Let's put it this way. VMs is an important thing to do. And one of my favorite features of Google Cloud, probably, and one is that that is quite unique to Google Cloud, again, is VPC service controls.
Basically, firewall and steroids. What happens in our cloud? When you have a VPC, the services that run inside the VPC, your Kubernetes, your VMs, your Airflow clusters, Kafka clusters, et cetera, they have IP addresses and they have the network boundary. So you can apply firewall rules and filtering and all sorts of things that you traditionally apply to your networks. However, as soon as we go out of that, BigQuery, Cloud Functions, anything serverless, Cloud Run, some of the serverless Dataplex features, Vertex AI features, the serverless Spark pipelines, all of that, even storage and all of your Pub/Sub and serverless data stores, none of this will be under the umbrella of firewalls.
So how do we protect boundary access? We have IAM, of course, but what about the boundary access? Don't we want to have a multiple layer protection on our sensitive data? Of course we do. So VPC enables you to have a perimeter, a guardrail around your entire cloud and around your APIs. What we do is we choose the APIs that we want to protect.
Typically for a data platform, for example, this will be storage, BigQuery, Pub/Sub maybe, Composer, Manage Airflow, Vertex AI. And we choose the projects that we want to put inside this perimeter. And the perimeter is, I mentioned, like a firewall on steroids, meaning that it will filter the HTTP requests that are incoming to these APIs in these projects.
And once we enable the perimeter, every outside request gets denied. Meaning that only requests that exist within these projects and these APIs are allowed. And then we choose which external requests we want to allow using ingress/segress policies, whitelisted identities, and other things that we want to, like, enable, like the Office VPN, the Office IP range, et cetera.
The way this works is through DNS. So these APIs that are inside the perimeter will have a different DNS address. Rather than being BigQuery.GoogleAPIs.com, it will now be restricted.GoogleAPIs.com. And every single request that comes to that endpoint gets filtered and scammed. The best practice for organizing those APIs and those projects: Your data, your data platform, your golden dataset goes into a data perimeter.
So all of your projects that contain data and all of the APIs that are around data will go into the data perimeter. Your services need to run somewhere, so maybe you want to protect them as well. So you put them in a compute perimeter. The reason we separate compute and data is because typically a company's data warehouse or data lake contains tons and tons of super sensitive data, so we really want to protect that separately.
But the services still need to generate the data and write it into the data warehouse or lake house. So we set up bridges or specific access policies, ingress and egress policies, that will allow the specific services that do write data into the data warehouse that those requests are allowed to go through. And then, of course, data might be your product and you might be sharing that data, specific datasets, with your partners, customers, etc.
If you are doing that, those projects and those APIs, those data stores, are better be in a different perimeter. I know not everybody does that. Some people elect to have all data in the same perimeter. And that is okay if they have other strict controls on the IAM side of things and on the separation of projects and datasets side of things. But ideally, you will have a separate data sharing perimeter.
And another example is you might want to have a general production perimeter where everything that is around production, But some services are more sensitive than others. And you will want to have them in a special restricted perimeter. For example, if you're a bank, you might have your core services being in a restricted perimeter. Or if you have KMS keys and special secrets, they might be in a separate perimeter.
And then we still recommend to have data stored separately. So, to recap, defense in depth. You secure your services, your runtimes. You secure your data. You better secure your data, given how much we are now all using AI. And you secure your perimeters. You make sure that your overall cloud is protected. Thank you for your attention. You can get the slide deck through the QR code on your left.
And if you want to stay in touch again, you can scan the QR code on the right. Have a lovely day and enjoy the rest of the conference. I think we're still live and I have a question. What about using these services, but we do not want the data to be stored in the cloud as some data are too sensitive to go into the cloud.
I can tell you there are ways to store hypersensitive data in the cloud still. I have done healthcare data platforms and banking data platforms and financial services data platforms in the cloud. If you secure it properly, there is absolutely no concern. But if your compliance is still hesitating and you have data that is in the data center, that is fine.
You set up VPNs between or direct interconnect between your data center network and your cloud network. And you make sure that the firewalls are open in a specific way that allow access to specific data. And then you run the services and the experimentation. Very often it's, of course, the AI workloads and the specific data science, data analytics workloads that go into the cloud first.
Because they're not operational critical and they're not critical to the core business side of things. And we start experimenting, but you still have the network connection. The network, that network connection is a VPN. So it will be an IPsec tunnel or an encrypted tunnel. And you can also have a direct network connectivity between a data center and a cloud platform.
All cloud providers have those options available. So you just traverse through a private network that goes over the internet or over a dedicated cable. And have access to that data. It is a lot of work to set it up, but it is very much possible and it is a very common use case. Thank you for the question.
If anyone else has any other questions, don't hesitate to write in the chat or reach out to me after the session. That is also absolutely fine. If you scan the QR code for the slide deck, you will notice that there were more slides than I presented. Some technical examples of how to set up binary authorization, how to set up DVC service controls, so that you can consult those and see how it is implemented in reality using Terraform and things like that.
Thank you. Thank you for coming. You're very welcome. And yes, it was a lot of technical details and technical features. But once you have a look and maybe have a read about each of those features and products, you'll see that it's not that difficult, bar maybe I would say binary authorization and VPC service controls are a bit difficult to implement.
So it would take a bit of time to wrap your head around those. But the rest are like those are the features that you really need to implement in your environments to make sure that they're secure. All right, I'm going to wrap it up. Thank you again for coming and have a wonderful day. you.
Transcribed automatically; names checked against the speaker record. Select a time to jump there.
Article based on this talk
Why your AI workloads are only as secure as the cloud beneath them
Natalie Godec walks through defense in depth for clusters, serverless services, data and cloud perimeters, with Google Cloud examples that carry over to any provider.
In short
Natalie Godec, Senior Cloud Architect at Zencore, argues that securing AI workloads starts well below the model: every agent and app still runs on containers, networks and data stores that need protecting. Using Google Cloud examples that she says apply on any provider, she lays out a defense-in-depth approach across three layers: services, data and the cloud perimeter.
Key takeaways
You must design your systems with security in mind, otherwise the price to pay will be high.
Everyone's favourite tech (k8s, Postgres, cloud services) is, in fact, very easy to protect. Here you will learn about the tools to do so.
You don't need to lock down your infrastructure: a lot of tools give you an option to apply security guardrails in dry run mode.
Visibility is key! Having continuous monitoring of your systems, and giving this information to developers, opens your path to better security.
The platform under your AI still needs securing
Godec opens with a reminder that conversations about AI security often stop at model armor, prompt injection and explainability. Those matter, she says, but the runtime, network and data underneath matter just as much. "It is not all about AI security itself." (2:29) She warns that the risk grows when people build fast: "And sometimes we forget that we do need to think about those things, especially when we are vibe coding and creating things left, right and center and deploying them without having any knowledge or without giving any thought to where that thing that we vibe coded will run." (3:24)
The stakes, as the speaker cited, are large. She says 93% of companies were running Kubernetes in production in 2024, and that 46% of clusters worldwide run on end-of-life or unsupported versions. She points to Tesla's 2018 Kubernetes compromise, secrets from Fortune 500 companies found in public repositories, and the Ingress Nightmare vulnerabilities in Ingress controllers as signs that even well-resourced organizations get this wrong.
Hardening Kubernetes, layer by layer
For clusters, Godec works from the bottom up. Nodes and control planes should have no public IP addresses, clusters should be VPC-native so firewall and egress rules apply to in-cluster traffic, and a DNS endpoint with an identity-aware proxy can replace the tedious, hard-to-maintain bastion host. Shielded VMs with secure boot protect each node's boot sequence and, in her view, should simply be enabled everywhere.
Identity comes next. Mounting static cloud keys into pods was the old way, and the Tesla incident shows why it fails: AWS credentials left in a poorly protected control plane leaked and, as she recounted, led to a crypto-mining bill of more than $100,000. "And we are all moving away from static keys to dynamically generated tokens." (12:23) With workload identity federation for GKE, every namespace already has an identity, so teams can grant access to buckets, databases or Pub/Sub without creating keys at all.
Policy Controller, a managed version of the open source Gatekeeper, applies the same security policies across clusters and ships ready-made bundles such as the CIS benchmark and PCI DSS. Binary authorization goes further, using KMS-backed attestors in the CI/CD pipeline to sign each image. Her attack scenario is a backdoored image pushed with a legitimate-looking tag. Tags can be overwritten, but "Digest of an image is not replaceable, you cannot overwrite it." (20:53) The admission controller refuses any image whose digest lacks the right signature, replacing long verbal change-approval calls with cryptographic proof.
Serverless services and data
Cloud Run (with Fargate or Lambda as rough AWS equivalents) gets a public HTTPS endpoint and allows all ingress by default, so an attacker who guesses the address could bypass any authentication placed in front of it. Her fix: "So what we will want to do is to disable all ingress and put a load balancer in front of our Cloud Run service and an identity aware proxy." (22:21) She also advises against the default service account and suggests Cloud Armor for web protection.
For data, she contrasts VPC peering with Private Service Connect for AlloyDB. Peering fully connects networks, risks IP address conflicts and blocks transitive access, while a Private Service Connect endpoint needs only a single IP address and works across projects and organizations. Adding a private DNS zone means applications connect to a simple internal name: "It makes the developer's life a lot easier." (28:19) BigQuery, which has no instance or IP address to protect, relies on column-level security through policy tags (for example, masking social security numbers) and row-level security, which can filter by region or by a customer consent field.
Guardrails and perimeters for the whole cloud
Because every cloud resource is ultimately an HTTP API endpoint, Godec closes with organization-wide controls. Org policies on Google Cloud, and service control policies on AWS, can block service account keys, skip default network creation, require shielded VMs and restrict direct IAM grants to individual users. One custom policy limits expensive machine types in sandboxes: "Make sure that in dev or in sandbox nobody can create a VM with 96 CPUs, 16 GPUs and a gazillion terabytes of RAM and just leave it running over the weekend." (33:19)
One of her favourite features, VPC Service Controls, draws a perimeter around chosen APIs and projects and denies outside requests unless ingress and egress policies allow them. She recommends separate perimeters for data, compute, shared data and highly restricted services such as a bank's core systems.
Sensitive data and the cloud
In the Q&A, a viewer asks about data considered too sensitive for the cloud. Godec draws on her own projects: "I have done healthcare data platforms and banking data platforms and financial services data platforms in the cloud. If you secure it properly, there is absolutely no concern." (40:07) Where compliance teams still hesitate, an encrypted VPN tunnel or a direct interconnect can link a data center to cloud workloads. "It is a lot of work to set it up, but it is very much possible and it is a very common use case." (41:23)
Watch the talk
"Secure By Design: Architecting your cloud and AI workloads from the perspective of infosec" by Natalie Godec, 44 minutes: https://www.womentech.net/video/secure-design-architecting-your-cloud-and-ai-workloads-perspective-infosec
About the speaker
Natalie Godec is a Senior Cloud Architect at Zencore, a systems and infrastructure engineer turned cloud architect with a soft spot for data platforms and security. She is a Google Developer Expert in Cloud, a Women Techmakers Ambassador and an experienced tech speaker.
Questions this talk answers
Why does platform security still matter for AI workloads?
How do you administer a private GKE cluster without a bastion host?
Why should teams replace static service account keys with workload identity federation?
How does binary authorization stop a compromised container image?
Can highly sensitive data stay out of the cloud while cloud workloads still use it?
Drafted with AI from the talk transcript. Editor review pending.
Frameworks and ideas mentioned
Defense in depth
Secure by design
CIS Benchmarks
PCI DSS
Resources mentioned
Speaker's slide deck (shared via QR code, with Terraform examples for binary authorization and VPC Service Controls)
Gatekeeper (open source policy tool)
Terraform
Cite this talk
Natalie Godec. "Secure By Design: Architecting your cloud and AI workloads from the perspective of infosec." WomenTech Network, 2026. https://www.womentech.net/en-ua/video/secure-design-architecting-your-cloud-and-ai-workloads-perspective-infosec