Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Does anyone have resources about security/isolation best practices for running multiple applications on Kubernetes (or Mesos or similar)?

For instance in a non cloud-native app that runs in VM's, you might have one app per VM and have firewalls between different VM's that don't need to talk to each other. Then if a non-critical app got compromised and an attacker got remote execution or SQL injection or something they can't get to your other app servers or databases.

If all your apps are in a cluster, the non-critical compromised app might be running on the same host as a critical app, in which case the only thing keeping the attacker from your database credentials or other secrets is the docker container isolation which if I understand correctly is not assumed to be secure the way VM isolation is.

What are people doing to address this? Or are my assumptions wrong and it's not actually a problem to worry about? My initial impression with mesos was that you'd only use it if you're at big enough scale that you're running a huge number of instances of the same app or you're running a lot of different data processing tasks that all access the same data so no isolation is needed between them. Now I feel like I see Kubernetes being discussed frequently as a great way to run all your different microservices at any scale (e.g. "The Future of Deployment"), but I've never seen this aspect of security discussed.



You might prefer Cloud Foundry, which is switching its underlying container scheduling fabric to Lattice[1].

In particular, Cloud Foundry has more advanced security groups features, because it's mostly being marketed to enterprise customers.

Disclaimer: I have worked on CF and I work for a company which is a major contributor to CF.

[1] http://lattice.cf/


Lattice looks interesting, looking forward to checking it out more


Please check out the Secrets object in Kubernetes:

https://github.com/GoogleCloudPlatform/kubernetes/blob/maste...

which is designed to address some of this.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: