Cloud

Write an awesome doc for cloud and how to deploy our apps using technologies like AWS, GitHub actions, CI/CD and Docker. Also a very comprehensive documentation around AWS.

View on GitHub

Simple Storage Service

S3 bucket

S3 object

Static website hosting

S3 versioning

S3 replication

S3 security

User based Resource based
Define IAM policies for the user. Defined bucket wide: Bucket ACL.
IAM principal can access S3 objects if: Statement.Effect: ALLOW & no explicit Statement.Effect: DENY. Object level: Object ACL.

S3 bucket policy example

S3 encryption

Server-side Client-side
Done by AWS. Us (users).
Encryption types
  • SSE-S3 (Amazon S3 managed keys).
  • SSE-KMS (AWS key management service keys).
  • DSSE-KMS (Dual-layer server-side encryption with AWS KMS keys).
It is done by us, so you're free to choose whatever bests suits your need.
JFI Encrypts before saving the object.
Decrypts before download.
This is something we can do for example when we have to comply with some regulatory laws.

[!NOTE]

If you need it you can do both. There is no limitation from the AWS point of view, but you might wanna consider how costly it would be if everything should be encrypted.

S3 storage classes

S3 storage classes

Shared responsibility model for S3

AWS User
Vulnerability analysis. Bucket policies.
Compliance validations. Replication setup.
Infrastructure management. Activate versioning.
Ensuring that AWS employees cannot see data. Monitoring & logging.