Sec Securing ¡ ¡Micros
- ser
ervice ¡ e ¡Inter eraction
- ns ¡
Sec Securing Micros oser ervice e Inter eraction ons - - PowerPoint PPT Presentation
Sec Securing Micros oser ervice e Inter eraction ons in in Openstack and Kubernetes Yoshio Turner & Jayanth Gummaraju Co-Founders @ Banyan
Proprietary & Confidential
BA BANYAN
– In ¡San ¡Francisco, ¡CA
– 50+ ¡patents ¡and ¡publications ¡in ¡Virtualization, ¡Network ¡Security, ¡and ¡Big ¡Data
– Currently ¡our ¡product ¡is ¡in ¡private ¡beta
Proprietary & Confidential
BA BANYAN
Application
Proprietary & Confidential
BA BANYAN
– Allows ¡different ¡teams ¡to ¡build ¡single-‑purpose ¡application ¡components ¡independently
– Enables ¡fast ¡deployment ¡(months ¡-‑> ¡days/hours) ¡from ¡development ¡to ¡production
– Each ¡team ¡can ¡independently ¡evolve ¡their ¡own ¡development ¡and ¡deployment ¡stacks
Caveat: ¡Not ¡all ¡applications ¡fit ¡this ¡architecture
Proprietary & Confidential
BA BANYAN
On-‑Prem Azure AWS
Internet Internet Internet sql kafka
Proprietary & Confidential
BA BANYAN
Application
API ¡Gateways TLS ¡Proxies App ¡Firewalls/RASP Internet
AppSec NetSec
Segmentation Network ¡Firewalls/Gateways IPS/IDS ¡systems
Proprietary & Confidential
BA BANYAN
Internet Internet
On-‑Prem Azure
Untrusted ¡apps ¡& ¡infrastructure More ¡exposed ¡APIs Internet
AWS
sql kafka New ¡communication ¡channels Rapid ¡deployments
Proprietary & Confidential
BA BANYAN
ON-‑PREM
OpenStack Mesos DB ERP Docker ¡Swarm
AWS
Kubernetes
AZURE
Accounting
Ma Major IT Tren ends Pu Put Data at Risk
1. Cloud-‑native ¡and ¡microservice ¡architectures
2. Agile ¡deployments ¡using ¡containers
3. Public, ¡multi-‑, ¡and ¡hybrid ¡clouds
vHost 1 vHost N
Containers/Processes
Proprietary & Confidential
BA BANYAN
Physical Private Public Multi ¡/ ¡Hybrid 1990 2000 2010 2020
Cloud
Physical Virtual Containers Server-‑ less
Compute
Monoliths Three-‑tier Microservices Funct ions
Applications
Network ¡Appliances Overlays, ¡VPCs, ¡SGs SDN, ¡Micro-‑ segments
NetSec
Physical ¡Appliances Virtual ¡Appliances SDKs, ¡RASP
AppSec
Proprietary & Confidential
BA BANYAN
Proprietary & Confidential
BA BANYAN
– Dynamically ¡adapt ¡to ¡the ¡ever-‑changing ¡workloads – Minimal ¡trust ¡in ¡application ¡and ¡infrastructure – Distributed ¡and ¡pervasive ¡across ¡clouds
– Microservices ¡and ¡traditional ¡applications ¡need ¡to ¡interact – Independent ¡of ¡underlying ¡infrastructure – Works ¡in ¡polyglot ¡environments
– Application-‑level ¡abstraction, ¡rather ¡than ¡low-‑level ¡constructs – Single ¡pane ¡visibility ¡and ¡control – “Set ¡it ¡and ¡forget ¡it” ¡security
Proprietary & Confidential
BA BANYAN
– Neutron ¡network ¡topologies: ¡provider ¡and ¡tenant ¡networks – Virtual ¡routing ¡& ¡firewall-‑as-‑a-‑service: ¡reachability ¡between ¡networks – Security ¡Groups: ¡per ¡VIF ¡ingress/egress ¡rulesets ¡based ¡on ¡ip_proto/CIDR:portrange or ¡ remote_group_id – Role ¡based ¡access ¡control ¡(RBAC): ¡enable ¡different ¡projects ¡to ¡share ¡access ¡to ¡Neutron ¡ resources
– Barbican: ¡secrets ¡store, ¡certificate ¡authority, ¡HSM ¡integration – LBaaS plugins: ¡L7 ¡policies ¡using ¡load ¡balancer ¡virtual ¡appliances
Proprietary & Confidential
BA BANYAN
– Network ¡policy: ¡reachability ¡based ¡on ¡pod ¡labels ¡and ¡values – Segmentation: ¡provided ¡by ¡some ¡CNI ¡plugins ¡like ¡OpenContrail, ¡Calico
– Kubernetes ¡secrets ¡management – Discussions ¡on ¡service ¡policies
Proprietary & Confidential
BA BANYAN
– Separate ¡OpenStack ¡cluster ¡hosting ¡Nova ¡instances – Separate ¡Kubernetes ¡cluster, ¡possibly ¡bare ¡metal
– Run ¡kube-‑up.sh for ¡OpenStack ¡– based ¡on ¡OpenStack ¡Heat – OpenStack ¡Magnum
Proprietary & Confidential
BA BANYAN
Kub Kuberne nete tes & Opens nsta tack ne netw tworking ng opti tions ns (over-si simplified)
– OpenStack ¡services ¡exposed ¡through ¡floating ¡IPs, ¡etc. – K8s ¡services ¡exposed ¡through ¡external ¡load ¡balancer, ¡or ¡nodeport (static ¡port ¡on ¡all ¡k8s ¡nodes)
– Kuryr controller ¡detects ¡K8s ¡events ¡& ¡allocates ¡Neutron ¡resources – Kuryr CNI ¡plugin ¡on ¡each ¡K8s ¡node ¡attaches ¡Neutron ¡resources ¡to ¡K8s ¡pods, ¡integrates ¡with ¡ Neutron ¡driver, ¡e.g., ¡openvswitch – Result
Proprietary & Confidential
BA BANYAN
– Separate ¡frameworks ¡for ¡now – Even ¡if ¡federated, ¡secrets ¡are ¡problematic
– Possible ¡in ¡load ¡balancing ¡solutions – Security ¡concerns
Proprietary & Confidential
BA BANYAN
Internet Internet
On-‑Prem Azure AWS
Internet sql kafka
Proprietary & Confidential
BA BANYAN
Proprietary & Confidential
BA BANYAN
Se Security y Micro-en engines es
Internet Internet Internet sql kafka
On-‑Prem Azure AWS
API ¡Gateways TLS ¡Proxies App ¡Firewalls/RASP
AppSec NetSec
Segmentation Network ¡Firewalls/Gateways IPS/IDS ¡systems
Proprietary & Confidential
BA BANYAN
1990 2000 2010 2020 Monoliths Three-‑tier Microservices Funct ions
Applications
Network ¡Appliances Overlays, ¡VPCs, ¡SGs SDN, ¡Micro-‑ segments
NetSec
Physical ¡Appliances Virtual ¡Appliances SDKs, ¡RASP
AppSec
Security Micro-‑ engines Physical Private Public Multi ¡/ ¡Hybrid
Cloud
Physical Virtual Containers Server-‑ less
Compute
Proprietary & Confidential
BA BANYAN
In Introducing Banyan Security Micro-en engines es Platform
Centralized ¡Policy ¡Mgmt Distributed ¡Control ¡Plane Transparent ¡Enforcement BANYAN ¡PLATFORM
ON-‑PREM
OpenStack Mesos DB ERP Docker ¡Swarm
AWS
Kubernetes
AZURE
Accounting
vHost 1 vHost N
Containers/Processes
Cryptovisor
Se Securely bridges traditional and modern IT
Proprietary & Confidential
BA BANYAN
Network ¡Stack
Ap App-tr transparent t and Netw twork-in independent
VM
Proprietary & Confidential
BA BANYAN
catalog ¡ service web ¡ portal user ¡service payments ¡ service notifications ¡ service redis mysql kafka
web ¡ browser mobile ¡ app
Perimeter Security
TLS ¡Proxy API ¡Gateway
Proprietary & Confidential
BA BANYAN
Le Least privilege access & encryption in-tr transit
catalog ¡ service web ¡ portal user ¡service payments ¡ service notifications ¡ service
web ¡ browser mobile ¡ app
Perimeter Security
TLS ¡Proxy API ¡Gateway
MTLS ID ¡SEG
redis mysql kafka
L7 ¡POLICIES
L7 L7 L7 L7
Proprietary & Confidential
BA BANYAN
– No ¡changes ¡to ¡application ¡or ¡infrastructure – Works ¡across ¡traditional ¡and ¡modern ¡IT
– Cryptography-‑based ¡(not ¡IP/Port ¡or ¡username/passwd) – Cross-‑cluster, ¡Cross-‑cloud ¡interoperability
– Invoke ¡security ¡functions ¡tailored ¡to ¡each ¡service – Set ¡policies ¡using ¡ABAC ¡and ¡RBAC
Proprietary & Confidential
BA BANYAN
vHost S1 Network ¡Stack Cryptovisor vHost S2 Network ¡Stack Cryptovisor Dashboard Transparent ¡TLS ¡Encryption Identity ¡& ¡L7 ¡Access ¡Control Real-‑time ¡Flow ¡Visibility
App ¡request End-‑To-‑End ¡mTLS
CI CI
Unique Cryptographic Identity
Middle boxes
Proprietary & Confidential
BA BANYAN
Proprietary & Confidential
BA BANYAN
Proprietary & Confidential
BA BANYAN
Proprietary & Confidential
BA BANYAN
– Tailored ¡to ¡microservice ¡architectures – Operate ¡at ¡the ¡application ¡layer ¡for ¡identity ¡and ¡access ¡control – Works ¡across ¡traditional ¡and ¡modern ¡environments
modern ¡and ¡traditional ¡applications
Yoshio ¡Turner: ¡yoshio@banyanops.com Jayanth ¡Gummaraju: ¡jayanth@banyanops.com https://www.banyanops.com