Book Image

Cloud Security Handbook

By : Eyal Estrin
Book Image

Cloud Security Handbook

By: Eyal Estrin

Overview of this book

Securing resources in the cloud is challenging, given that each provider has different mechanisms and processes. Cloud Security Handbook helps you to understand how to embed security best practices in each of the infrastructure building blocks that exist in public clouds. This book will enable information security and cloud engineers to recognize the risks involved in public cloud and find out how to implement security controls as they design, build, and maintain environments in the cloud. You'll begin by learning about the shared responsibility model, cloud service models, and cloud deployment models, before getting to grips with the fundamentals of compute, storage, networking, identity management, encryption, and more. Next, you'll explore common threats and discover how to stay in compliance in cloud environments. As you make progress, you'll implement security in small-scale cloud environments through to production-ready large-scale environments, including hybrid clouds and multi-cloud environments. This book not only focuses on cloud services in general, but it also provides actual examples for using AWS, Azure, and GCP built-in services and capabilities. By the end of this cloud security book, you'll have gained a solid understanding of how to implement security in cloud environments effectively.
Table of Contents (19 chapters)
1
Section 1: Securing Infrastructure Cloud Services
6
Section 2: Deep Dive into IAM, Auditing, and Encryption
10
Section 3: Threats and Compliance Management
14
Section 4: Advanced Use of Cloud Services

Securing the CSI

A CSI is a standard driver for connecting container orchestration systems such as Kubernetes to block and file storage from various cloud providers.

For more information, please refer to the following resource:

Kubernetes Container Storage Interface (CSI) Documentation:

https://kubernetes-csi.github.io/docs/introduction.html

Securing CSI on AWS

Amazon Elastic Kubernetes Service (EKS) has a CSI driver for the following storage types:

  • Block storage: EBS
  • Managed NFS: EFS
  • Parallel filesystem (for HPC workloads): Amazon FSx for Lustre

Here is a list of best practices to follow:

  • When creating an IAM policy to connect to a CSI driver, specify the storage resource name instead of using wildcard.
  • Use IAM roles for service accounts to restrict access to your pod.
  • Always use the latest CSI version for your chosen storage type.
  • When using the CSI driver for EBS and its snapshots, always set (in the YAML configuration file...