Secure By Design: Architecting your cloud and AI workloads from the perspective of infosec
Natalie Godec44:172026
Puedes crear una app de IA con vibe coding, pero no su seguridad
La brecha de Tesla en 2018 comienza con un panel de Kubernetes sin protección y termina con credenciales de AWS filtradas y una factura de minería de criptomonedas de más de 100 000 dólares. Las apps de IA creadas con vibe coding se ejecutan sobre el mismo tipo de contenedores, redes y almacenes de datos, y a menudo se despliegan sin pensar en dónde se ejecutan. Natalie Godec, Senior Cloud Architect en Zencore y Google Developer Expert en Cloud, analiza qué barreras de protección cierran esas brechas y cuáles requieren un trabajo real de configuración.
Obtén una lista de verificación, capa por capa, para proteger clústeres, apps serverless, datos y toda tu nube
Natalie Godec, Senior Cloud Architect en Zencore, sostiene que las cargas de trabajo de IA solo son tan seguras como la plataforma en la nube que las sustenta y presenta un enfoque de defensa en profundidad con ejemplos de Google Cloud aplicables a cualquier proveedor. Aborda el refuerzo de Kubernetes y Cloud Run, la protección de datos en AlloyDB y BigQuery, y el establecimiento de barreras de protección para toda la organización con políticas de organización y VPC Service Controls.
“Y a veces olvidamos que sí tenemos que pensar en esas cosas, sobre todo cuando hacemos vibe coding, creamos cosas a diestro y siniestro y las desplegamos sin tener ningún conocimiento o sin pensar en absoluto dónde se va a ejecutar eso que creamos con vibe coding.”
“Y todos estamos dejando atrás las claves estáticas para pasar a tokens generados dinámicamente.”
What you will learn
Refuerza los clústeres de Kubernetes con nodos y planos de control privados, enrutamiento nativo de VPC, un endpoint DNS en lugar de hosts bastión y Shielded VMs.
Sustituye las claves estáticas de cuentas de servicio por workload identity federation para que los servicios usen tokens de corta duración generados automáticamente.
Aplica paquetes de cumplimiento predefinidos como CIS y PCI DSS con Policy Controller o Gatekeeper, y verifica la procedencia de las imágenes con Binary Authorization.
Protege los datos con endpoints de Private Service Connect, zonas DNS privadas y seguridad a nivel de columna y de fila en BigQuery.
Establece barreras de protección para toda la organización con políticas de organización y diseña perímetros de VPC Service Controls separados para datos, cómputo y datos compartidos.
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
¿Por qué sigue siendo importante la seguridad de la plataforma para las cargas de trabajo de IA?
Toda carga de trabajo de IA se ejecuta sobre una capa de runtime, de red y de datos, por lo que hay que proteger contenedores, redes y datos, no solo prompts y modelos. Godec advierte que las apps creadas con vibe coding a menudo se despliegan sin pensar en dónde se ejecutan.
¿Cómo se administra un clúster privado de GKE sin un host bastión?
Con un endpoint DNS: un endpoint gestionado que termina TLS delante del plano de control, con un identity-aware proxy que valida el acceso. Así ya no hace falta mantener ni parchear una VM bastión SSH dedicada.
¿Por qué los equipos deberían sustituir las claves estáticas de cuentas de servicio por workload identity federation?
Las claves estáticas montadas en los pods pueden filtrarse, como ocurrió con las credenciales de AWS en el incidente de Tesla de 2018, que según la ponente generó una factura de minería de criptomonedas de más de 100 000 dólares. Workload identity federation asigna identidades en la nube a namespaces y cuentas de servicio, que generan tokens temporales automáticamente mediante las bibliotecas oficiales.
¿Cómo detiene Binary Authorization una imagen de contenedor comprometida?
Los attestors del pipeline firman el digest de cada imagen con claves de KMS, y el controlador de admisión solo despliega imágenes cuyo digest lleva la firma correcta. Un atacante puede sobrescribir los tags, pero no los digests.
¿Pueden los datos muy sensibles quedarse fuera de la nube mientras las cargas de trabajo en la nube los siguen usando?
Sí: conectando el centro de datos a la red en la nube mediante un túnel VPN cifrado o una interconexión directa, con firewalls abiertos solo para datos específicos. Godec añade que las plataformas en la nube bien protegidas ya alojan datos sanitarios y bancarios.
Cómo las claves estáticas llevaron a la factura de criptominería de Tesla (48 s)
Por qué los digests de imagen superan a los tags frente a las puertas traseras (83 s)
¿Pueden los datos muy sensibles estar en la nube? (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
Por qué tus cargas de trabajo de IA solo son tan seguras como la nube que las sustenta
Natalie Godec explica la defensa en profundidad para clústeres, servicios serverless, datos y perímetros en la nube, con ejemplos de Google Cloud aplicables a cualquier proveedor.
En resumen
Natalie Godec, Senior Cloud Architect en Zencore, sostiene que proteger las cargas de trabajo de IA empieza muy por debajo del modelo: cada agente y cada app siguen ejecutándose sobre contenedores, redes y almacenes de datos que hay que proteger. Con ejemplos de Google Cloud que, según ella, se aplican a cualquier proveedor, presenta un enfoque de defensa en profundidad en tres capas: servicios, datos y el perímetro de la nube.
Puntos clave
Debes diseñar tus sistemas pensando en la seguridad; de lo contrario, el precio a pagar será alto.
La tecnología favorita de todos (k8s, Postgres, servicios en la nube) es, de hecho, muy fácil de proteger. Aquí conocerás las herramientas para hacerlo.
No necesitas bloquear tu infraestructura: muchas herramientas te permiten aplicar barreras de seguridad en modo de simulación (dry run).
¡La visibilidad es clave! Contar con monitorización continua de tus sistemas y compartir esa información con los desarrolladores te abre el camino hacia una mejor seguridad.
La plataforma bajo tu IA también necesita protección
Godec empieza recordando que las conversaciones sobre seguridad de la IA suelen quedarse en model armor, prompt injection y explicabilidad. Eso importa, afirma, pero el runtime, la red y los datos subyacentes importan igual. "No todo se reduce a la seguridad de la IA en sí." (2:29) Advierte que el riesgo crece cuando se construye rápido: "Y a veces olvidamos que sí tenemos que pensar en esas cosas, sobre todo cuando hacemos vibe coding, creamos cosas a diestro y siniestro y las desplegamos sin tener ningún conocimiento o sin pensar en absoluto dónde se va a ejecutar eso que creamos con vibe coding." (3:24)
Lo que está en juego, según las cifras que citó la ponente, es mucho. Afirma que el 93 % de las empresas ejecutaba Kubernetes en producción en 2024 y que el 46 % de los clústeres del mundo funciona con versiones al final de su vida útil o sin soporte. Menciona el compromiso de Kubernetes de Tesla en 2018, secretos de empresas de Fortune 500 encontrados en repositorios públicos y las vulnerabilidades Ingress Nightmare en controladores Ingress como señales de que incluso organizaciones con muchos recursos se equivocan.
Refuerzo de Kubernetes, capa por capa
En los clústeres, Godec trabaja de abajo arriba. Los nodos y planos de control no deberían tener direcciones IP públicas, los clústeres deberían ser nativos de VPC para que las reglas de firewall y de salida se apliquen al tráfico dentro del clúster, y un endpoint DNS con un identity-aware proxy puede sustituir al tedioso y difícil de mantener host bastión. Las Shielded VMs con arranque seguro protegen la secuencia de arranque de cada nodo y, en su opinión, deberían activarse sin más en todas partes.
Después viene la identidad. Montar claves estáticas de la nube en los pods era la forma antigua, y el incidente de Tesla muestra por qué falla: las credenciales de AWS que quedaron en un plano de control mal protegido se filtraron y, según relató, generaron una factura de minería de criptomonedas de más de 100 000 dólares. "Y todos estamos dejando atrás las claves estáticas para pasar a tokens generados dinámicamente." (12:23) Con Workload Identity Federation for GKE, cada namespace ya tiene una identidad, de modo que los equipos pueden conceder acceso a buckets, bases de datos o Pub/Sub sin crear ninguna clave.
Policy Controller, una versión gestionada del Gatekeeper de código abierto, aplica las mismas políticas de seguridad en todos los clústeres e incluye paquetes predefinidos como el benchmark CIS y PCI DSS. Binary Authorization va más allá y usa attestors respaldados por KMS en el pipeline de CI/CD para firmar cada imagen. Su escenario de ataque es una imagen con una puerta trasera subida con un tag de apariencia legítima. Los tags se pueden sobrescribir, pero "El digest de una imagen no es reemplazable, no se puede sobrescribir." (20:53) El controlador de admisión rechaza cualquier imagen cuyo digest no tenga la firma correcta, y sustituye las largas llamadas de aprobación verbal de cambios por una prueba criptográfica.
Servicios serverless y datos
Cloud Run (con Fargate o Lambda como equivalentes aproximados en AWS) obtiene un endpoint HTTPS público y permite todo el ingress de forma predeterminada, así que un atacante que adivine la dirección podría saltarse cualquier autenticación situada delante. Su solución: "Así que lo que queremos hacer es desactivar todo el ingress y poner un balanceador de carga delante de nuestro servicio de Cloud Run y un identity-aware proxy." (22:21) También desaconseja la cuenta de servicio predeterminada y sugiere Cloud Armor para la protección web.
En cuanto a los datos, compara el VPC peering con Private Service Connect para AlloyDB. El peering conecta las redes por completo, conlleva riesgo de conflictos de direcciones IP y bloquea el acceso transitivo, mientras que un endpoint de Private Service Connect solo necesita una dirección IP y funciona entre proyectos y organizaciones. Al añadir una zona DNS privada, las aplicaciones se conectan a un nombre interno sencillo: "Le facilita mucho la vida al desarrollador." (28:19) BigQuery, que no tiene instancia ni dirección IP que proteger, se apoya en la seguridad a nivel de columna mediante policy tags (por ejemplo, para enmascarar números de la seguridad social) y en la seguridad a nivel de fila, que puede filtrar por región o por un campo de consentimiento del cliente.
Barreras de protección y perímetros para toda la nube
Como todo recurso en la nube es, en última instancia, un endpoint de API HTTP, Godec cierra con controles para toda la organización. Las políticas de organización en Google Cloud, y las service control policies en AWS, pueden bloquear las claves de cuentas de servicio, omitir la creación de la red predeterminada, exigir Shielded VMs y restringir la concesión directa de permisos de IAM a usuarios individuales. Una política personalizada limita los tipos de máquina costosos en entornos sandbox: "Asegúrate de que en dev o en sandbox nadie pueda crear una VM con 96 CPU, 16 GPU y una barbaridad de terabytes de RAM y dejarla encendida todo el fin de semana." (33:19)
Una de sus funciones favoritas, VPC Service Controls, traza un perímetro alrededor de las API y proyectos elegidos y deniega las solicitudes externas salvo que las políticas de entrada y salida las permitan. Recomienda perímetros separados para datos, cómputo, datos compartidos y servicios altamente restringidos, como los sistemas centrales de un banco.
Datos sensibles y la nube
En la ronda de preguntas, una persona del público pregunta por los datos considerados demasiado sensibles para la nube. Godec recurre a sus propios proyectos: "He hecho plataformas de datos sanitarios, plataformas de datos bancarios y plataformas de datos de servicios financieros en la nube. Si lo proteges correctamente, no hay absolutamente ningún motivo de preocupación." (40:07) Cuando los equipos de cumplimiento siguen dudando, un túnel VPN cifrado o una interconexión directa pueden conectar un centro de datos con las cargas de trabajo en la nube. "Configurarlo supone mucho trabajo, pero es perfectamente posible y es un caso de uso muy común." (41:23)
Mira la charla
"Secure By Design: Architecting your cloud and AI workloads from the perspective of infosec", de Natalie Godec, 44 minutos: https://www.womentech.net/video/secure-design-architecting-your-cloud-and-ai-workloads-perspective-infosec
Sobre la ponente
Natalie Godec es Senior Cloud Architect en Zencore, ingeniera de sistemas e infraestructura convertida en arquitecta cloud, con especial predilección por las plataformas de datos y la seguridad. Es Google Developer Expert en Cloud, Women Techmakers Ambassador y una ponente tecnológica experimentada.
Preguntas que responde esta charla
¿Por qué sigue siendo importante la seguridad de la plataforma para las cargas de trabajo de IA?
¿Cómo se administra un clúster privado de GKE sin un host bastión?
¿Por qué los equipos deberían sustituir las claves estáticas de cuentas de servicio por workload identity federation?
¿Cómo detiene Binary Authorization una imagen de contenedor comprometida?
¿Pueden los datos muy sensibles quedarse fuera de la nube mientras las cargas de trabajo en la nube los siguen usando?
Redactado con IA a partir de la transcripción de la charla. Pendiente de revisión editorial.
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