Secure By Design: Architecting your cloud and AI workloads from the perspective of infosec
Natalie Godec44:172026
Vous pouvez coder une app d'IA en vibe coding, mais pas sa sécurité
La faille de Tesla en 2018 commence par un tableau de bord Kubernetes non protégé et se termine par des identifiants AWS divulgués et une facture de minage de cryptomonnaie de plus de 100 000 dollars. Les apps d'IA créées en vibe coding tournent sur le même type de conteneurs, de réseaux et de stockages de données, souvent déployées sans réfléchir à l'endroit où elles s'exécutent. Natalie Godec, Senior Cloud Architect chez Zencore et Google Developer Expert in Cloud, se demande quels garde-fous comblent ces failles, et lesquels demandent un vrai travail de mise en place.
Obtenez une checklist couche par couche pour sécuriser vos clusters, vos apps serverless, vos données et l'ensemble de votre cloud
Natalie Godec, Senior Cloud Architect chez Zencore, explique que les charges de travail d'IA ne sont jamais plus sûres que la plateforme cloud sur laquelle elles reposent. Elle présente une approche de défense en profondeur illustrée par des exemples Google Cloud applicables chez n'importe quel fournisseur. Elle aborde le durcissement de Kubernetes et de Cloud Run, la protection des données dans AlloyDB et BigQuery, ainsi que la mise en place de garde-fous à l'échelle de l'organisation avec les règles d'administration et VPC Service Controls.
“Et parfois, nous oublions que nous devons réfléchir à ces aspects, surtout quand nous faisons du vibe coding, que nous créons des choses à tout va et que nous les déployons sans rien savoir ni réfléchir à l'endroit où ce que nous avons codé va s'exécuter.”
“Et nous abandonnons tous les clés statiques au profit de jetons générés dynamiquement.”
What you will learn
Durcissez vos clusters Kubernetes avec des nœuds et des plans de contrôle privés, un routage VPC natif, un endpoint DNS à la place des bastions et des Shielded VMs.
Remplacez les clés statiques de comptes de service par la fédération d'identité de charge de travail, afin que les services utilisent des jetons éphémères générés automatiquement.
Appliquez des bundles de conformité prêts à l'emploi comme CIS et PCI DSS avec Policy Controller ou Gatekeeper, et vérifiez la provenance des images avec Binary Authorization.
Protégez vos données avec des endpoints Private Service Connect, des zones DNS privées et la sécurité au niveau des colonnes et des lignes dans BigQuery.
Définissez des garde-fous à l'échelle de l'organisation avec les règles d'administration et concevez des périmètres VPC Service Controls distincts pour les données, le calcul et les données partagées.
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
Pourquoi la sécurité de la plateforme reste-t-elle importante pour les charges de travail d'IA ?
Chaque charge de travail d'IA repose sur une couche d'exécution, de réseau et de données : il faut donc sécuriser les conteneurs, les réseaux et les données, pas seulement les prompts et les modèles. Natalie Godec prévient que les apps créées en vibe coding sont souvent déployées sans réfléchir à l'endroit où elles s'exécutent.
Comment administrer un cluster GKE privé sans bastion ?
Utilisez un endpoint DNS : un endpoint géré, avec terminaison TLS, placé devant le plan de contrôle et associé à un proxy Identity-Aware Proxy qui valide les accès. Plus besoin de maintenir et de patcher une VM bastion SSH dédiée.
Pourquoi les équipes devraient-elles remplacer les clés statiques de comptes de service par la fédération d'identité de charge de travail ?
Les clés statiques montées dans les pods peuvent fuiter, comme les identifiants AWS lors de l'incident Tesla de 2018, qui a entraîné selon l'intervenante une facture de minage de cryptomonnaie de plus de 100 000 dollars. La fédération d'identité de charge de travail attribue aux namespaces et aux comptes de service des identités cloud qui génèrent automatiquement des jetons temporaires via les bibliothèques officielles.
Comment Binary Authorization bloque-t-il une image de conteneur compromise ?
Des attestateurs dans le pipeline signent chaque digest d'image avec des clés KMS, et le contrôleur d'admission ne déploie que les images dont le digest porte la bonne signature. Un attaquant peut écraser un tag, mais pas un digest.
Des données très sensibles peuvent-elles rester hors du cloud tout en étant utilisées par des charges de travail cloud ?
Oui : reliez le data center au réseau cloud par un tunnel VPN chiffré ou une interconnexion directe, avec des pare-feu ouverts uniquement pour des données précises. Natalie Godec ajoute que des plateformes cloud correctement sécurisées hébergent déjà des données de santé et bancaires.
Comment des clés statiques ont valu à Tesla une facture de minage (48 s)
Pourquoi les digests d'images battent les tags face aux backdoors (83 s)
Des données très sensibles peuvent-elles vivre dans le 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
Pourquoi vos charges de travail d'IA ne sont pas plus sûres que le cloud qui les porte
Natalie Godec présente la défense en profondeur pour les clusters, les services serverless, les données et les périmètres cloud, avec des exemples Google Cloud transposables chez n'importe quel fournisseur.
En bref
Natalie Godec, Senior Cloud Architect chez Zencore, explique que la sécurisation des charges de travail d'IA commence bien en dessous du modèle : chaque agent et chaque app s'exécutent toujours sur des conteneurs, des réseaux et des stockages de données qu'il faut protéger. À partir d'exemples Google Cloud qui, selon elle, s'appliquent chez n'importe quel fournisseur, elle présente une approche de défense en profondeur sur trois couches : les services, les données et le périmètre cloud.
Points clés
Vous devez concevoir vos systèmes en pensant à la sécurité, sinon le prix à payer sera élevé.
Les technologies préférées de tous (k8s, Postgres, services cloud) sont en réalité très faciles à protéger. Vous découvrirez ici les outils pour le faire.
Inutile de tout verrouiller : de nombreux outils permettent d'appliquer des garde-fous de sécurité en mode simulation (dry run).
La visibilité est essentielle ! Surveiller vos systèmes en continu et partager ces informations avec les développeurs ouvre la voie à une meilleure sécurité.
La plateforme sous votre IA doit toujours être sécurisée
Natalie Godec commence par rappeler que les discussions sur la sécurité de l'IA s'arrêtent souvent à la protection des modèles, à l'injection de prompts et à l'explicabilité. Ces sujets comptent, dit-elle, mais l'environnement d'exécution, le réseau et les données sous-jacents comptent tout autant. « Il ne s'agit pas uniquement de la sécurité de l'IA elle-même. » (2:29) Elle prévient que le risque augmente quand on construit vite : « Et parfois, nous oublions que nous devons réfléchir à ces aspects, surtout quand nous faisons du vibe coding, que nous créons des choses à tout va et que nous les déployons sans rien savoir ni réfléchir à l'endroit où ce que nous avons codé va s'exécuter. » (3:24)
Selon les chiffres cités par l'intervenante, les enjeux sont considérables. Elle indique que 93 % des entreprises utilisaient Kubernetes en production en 2024, et que 46 % des clusters dans le monde tournent sur des versions en fin de vie ou non supportées. Elle cite la compromission Kubernetes de Tesla en 2018, des secrets d'entreprises du Fortune 500 retrouvés dans des dépôts publics et les vulnérabilités Ingress Nightmare dans les contrôleurs Ingress comme preuves que même des organisations bien dotées commettent des erreurs.
Durcir Kubernetes, couche par couche
Pour les clusters, Natalie Godec procède de bas en haut. Les nœuds et les plans de contrôle ne doivent pas avoir d'adresse IP publique, les clusters doivent être VPC natifs pour que les règles de pare-feu et de sortie s'appliquent au trafic interne, et un endpoint DNS associé à un Identity-Aware Proxy peut remplacer le bastion, fastidieux et difficile à maintenir. Les Shielded VMs avec démarrage sécurisé protègent la séquence de démarrage de chaque nœud et devraient, selon elle, être tout simplement activées partout.
Vient ensuite l'identité. Monter des clés cloud statiques dans les pods était l'ancienne méthode, et l'incident Tesla montre pourquoi elle échoue : des identifiants AWS laissés dans un plan de contrôle mal protégé ont fuité et, selon son récit, ont entraîné une facture de minage de cryptomonnaie de plus de 100 000 dollars. « Et nous abandonnons tous les clés statiques au profit de jetons générés dynamiquement. » (12:23) Avec Workload Identity Federation for GKE, chaque namespace dispose déjà d'une identité, ce qui permet aux équipes d'accorder l'accès à des buckets, des bases de données ou Pub/Sub sans créer la moindre clé.
Policy Controller, une version gérée du projet open source Gatekeeper, applique les mêmes règles de sécurité à tous les clusters et propose des bundles prêts à l'emploi comme le benchmark CIS et PCI DSS. Binary Authorization va plus loin, en utilisant dans le pipeline CI/CD des attestateurs adossés à KMS pour signer chaque image. Son scénario d'attaque : une image piégée poussée avec un tag d'apparence légitime. Les tags peuvent être écrasés, mais « le digest d'une image n'est pas remplaçable, vous ne pouvez pas l'écraser. » (20:53) Le contrôleur d'admission refuse toute image dont le digest ne porte pas la bonne signature, remplaçant de longues réunions d'approbation des changements par une preuve cryptographique.
Services serverless et données
Cloud Run (avec Fargate ou Lambda comme équivalents approximatifs chez AWS) reçoit un endpoint HTTPS public et autorise par défaut tout le trafic entrant : un attaquant qui devine l'adresse pourrait donc contourner toute authentification placée devant. Sa solution : « Ce que nous voulons faire, c'est désactiver tout l'ingress et placer un équilibreur de charge devant notre service Cloud Run, ainsi qu'un Identity-Aware Proxy. » (22:21) Elle déconseille aussi le compte de service par défaut et suggère Cloud Armor pour la protection web.
Pour les données, elle compare l'appairage VPC et Private Service Connect pour AlloyDB. L'appairage connecte entièrement les réseaux, expose à des conflits d'adresses IP et bloque l'accès transitif, tandis qu'un endpoint Private Service Connect ne nécessite qu'une seule adresse IP et fonctionne entre projets et organisations. Avec une zone DNS privée, les applications se connectent via un simple nom interne : « Cela facilite beaucoup la vie des développeurs. » (28:19) BigQuery, qui n'a ni instance ni adresse IP à protéger, s'appuie sur la sécurité au niveau des colonnes via des tags de stratégie (par exemple pour masquer les numéros de sécurité sociale) et sur la sécurité au niveau des lignes, qui peut filtrer par région ou selon un champ de consentement client.
Garde-fous et périmètres pour tout le cloud
Comme chaque ressource cloud est au fond un endpoint d'API HTTP, Natalie Godec termine par les contrôles à l'échelle de l'organisation. Les règles d'administration sur Google Cloud, et les service control policies sur AWS, peuvent bloquer les clés de comptes de service, empêcher la création du réseau par défaut, imposer les Shielded VMs et interdire l'attribution directe de rôles IAM à des utilisateurs individuels. Une règle personnalisée limite les types de machines coûteux dans les sandboxes : « Assurez-vous qu'en dev ou en sandbox, personne ne puisse créer une VM avec 96 CPU, 16 GPU et des milliards de téraoctets de RAM, et la laisser tourner tout le week-end. » (33:19)
L'une de ses fonctionnalités préférées, VPC Service Controls, trace un périmètre autour d'API et de projets choisis et refuse les requêtes extérieures, sauf si des règles d'entrée et de sortie les autorisent. Elle recommande des périmètres distincts pour les données, le calcul, les données partagées et les services très restreints, comme les systèmes centraux d'une banque.
Données sensibles et cloud
Lors des questions-réponses, une personne du public s'interroge sur les données jugées trop sensibles pour le cloud. Natalie Godec s'appuie sur ses propres projets : « J'ai réalisé des plateformes de données de santé, des plateformes de données bancaires et des plateformes de données de services financiers dans le cloud. Si vous les sécurisez correctement, il n'y a absolument aucun souci. » (40:07) Lorsque les équipes conformité hésitent encore, un tunnel VPN chiffré ou une interconnexion directe peut relier un data center aux charges de travail cloud. « La mise en place demande beaucoup de travail, mais c'est tout à fait possible et c'est un cas d'usage très courant. » (41:23)
Regarder la conférence
« Secure By Design: Architecting your cloud and AI workloads from the perspective of infosec », par Natalie Godec, 44 minutes : https://www.womentech.net/video/secure-design-architecting-your-cloud-and-ai-workloads-perspective-infosec
À propos de l'intervenante
Natalie Godec est Senior Cloud Architect chez Zencore. Ancienne ingénieure systèmes et infrastructure devenue architecte cloud, elle a un faible pour les plateformes de données et la sécurité. Elle est Google Developer Expert in Cloud, Women Techmakers Ambassador et conférencière tech expérimentée.
Les questions abordées
Pourquoi la sécurité de la plateforme reste-t-elle importante pour les charges de travail d'IA ?
Comment administrer un cluster GKE privé sans bastion ?
Pourquoi les équipes devraient-elles remplacer les clés statiques de comptes de service par la fédération d'identité de charge de travail ?
Comment Binary Authorization bloque-t-il une image de conteneur compromise ?
Des données très sensibles peuvent-elles rester hors du cloud tout en étant utilisées par des charges de travail cloud ?
Rédigé avec l'IA à partir de la transcription de la conférence. Relecture éditoriale en attente.
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/video/secure-design-architecting-your-cloud-and-ai-workloads-perspective-infosec