> For the complete documentation index, see [llms.txt](https://ysfang82.gitbook.io/development-notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ysfang82.gitbook.io/development-notes/aws-notes/well-architect-framework/security.md).

# Security

**Design Principle**

* Apply security at all layers
* Enable traceability
* Automate response to security events
* Focus on securing our system
* Automate security best practices

**Shared Responsibility Model**![](https://3303577320-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4cDbT2F2VmcAohuhSN%2F-M4cDbsP_Q866yrLCgLp%2F-M4cDn9Du8dyPlfkU9OD%2FShared%20Responsibility%20Model.png?generation=1586591644883245\&alt=media)**Security in the cloud consists of**

* Data protection
  * Data classification by privilege
  * Data encryption at rest / in transit with ELB, EBS, S3, RDS
  * Make use of AWS services like encryption, key management, logging, exceptional resiliency, versioning.
* Privilege management
  * Root account protection (MFA)
  * Make use of AWS NACLs (for IPs but **not URLs**), IAM, Password Management (like rotation policy).
* Infrastructure protection
  * AWS handles all this but VPC
* Detective controls
  * Make use of CloudTrail, CloudWatch, AWS Config
