当前位置:首页 > 报告详情

CloudNativeSecurityCon_2023-MultiServiceNoMesh.pdf

上传人: 2*** 编号:140591 2023-08-31 28页 1,009.97KB

1、Multi-Service Without A MeshEvan AndersonWhy This Talk?Use existing,mature technologies“The hard way”building understanding by building a thingIts not as easy as it should beWe can make it better!Multi-ServiceSo,you want a platform for microservices:What does that mean?Can I just slap someKubernetes

2、 on it?Im not ready for a Service MeshWe Can Do This!IngressDB OperatorDeploymentServiceWhat About Security?Users connect over the internet.Probably need TLS?cert-manager to the rescue!Annotate each resource(Ingress or Gateway)to provision certs If you need other APIs(VirtualService,HTTPProxy,etc)yo

3、ull need to wire up the Certificate resources yourselfEncryption!=SecureWeve ensured that bad people on the internet cant intercept our communications but,they can still connect as normal users!We dont want an Ingress,we want an API Gateway Authentication Rate Limits&DoS protection API Keys/Feature

4、AccessWhat About On-Cluster?NetworkPolicy allows us to enforce L4(TCP)firewall rules If our CNI implements itSome CNI implementations also implement encryption?Service IdentityWe also want to be able to control which services are exposed to which peers.Even over REST and gRPC!We need a way to identi

5、fy callersin a dynamic network environmentCan we use ServiceAccountsfor this?CRUDOrdersReadAddressesCRUDAddressesServiceAccounts to the RescueKubernetes automatically mounts an OpenID token for the Pods ServiceAccount into the pod unless you setautomountServiceAccountToken:falseon the service accoun

6、t.You can use this token to prove your apps identity.DONT DO THISThat is a bearer token anyone who has it can authenticate to the apiserver as the ServiceAccount in question!Token Projection for IdentityEnter Service Account Projection!Allows applications to mount an OpenID Connecttoken correspondin

word格式文档无特别注明外均可编辑修改,预览文件经过压缩,下载原文更清晰!
三个皮匠报告文库所有资源均是客户上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作商用。
本文主要探讨了在微服务架构中实现多租户服务和安全的多种方法。首先,作者提出了为何不使用Service Mesh,并强调了使用成熟技术的重要性。接着,文章讨论了多服务架构的安全问题,如TLS加密、身份验证、API网关等,并提出了使用Kubernetes和OpenID Connect token来解决这些问题。作者还提到了网络策略和ServiceAccount在控制服务间通信和身份验证方面的作用。最后,文章讨论了API网关的作用以及如何在多租户系统中实现细粒度的权限控制。
"如何实现多服务安全通信?" "Kubernetes如何助力微服务架构?" "多租户服务如何实现细粒度权限控制?"
客服
商务合作
小程序
服务号
折叠