Introduction

About AWS Key Management Service (KMS)

kms

KMS stands for Key Management Service, this is a service used to create and manage keys. AWS helps you manage keys securely on AWS.

In KMS you can choose to create Symmetric key (symmetric key) or Asymmetric key (asymmetric key) depending on your use case. After creating the key, you can set a key policy to control access rights and key usage. You can use it in conjunction with AWS CloudTrail to capture logs.

Symmetric key:

  • A single key: A symmetric key uses only a single key to perform both data encryption and decryption tasks.
  • Easy to share: This key can be securely shared between trusted users who need access to encrypted data.
  • Faster: Encrypting and decrypting data with a symmetric key is usually faster than an asymmetric key.
  • High security requirements: Keeping the symmetric key secure is important because anyone with access to the key can decrypt the data.

Asymmetric key:

  • Key pair: Consists of a pair of keys, a public key and a private key.
  • Public and private: Public keys are distributed to those who need to encrypt data, while private keys - are kept secret.
  • Separate encryption and decryption: The public key is only used to encrypt data, while the private key is used to decrypt.
  • More secure distribution: Public keys can be widely distributed without affecting the security of data, just keep the private key safe.
  • Slower: Encryption and decryption with asymmetric keys are usually slower than with symmetric keys.

Additional reference links AWS Key Management Service

Introducing Amazon S3

s3

Amazon Simple Storage Service (Amazon S3) is an object storage service that provides industry-leading scalability, data availability, security, and performance. Customers of all sizes and industries can store and protect data of any size for nearly any use case, such as data lakes, cloud-based applications, and mobile applications. With cost-effective storage classes and easy-to-use management features, you can optimize costs, organize data, and configure fine-grained access controls to meet specific business, organizational, and compliance requirements.

S3 is highly scalable because it automatically increases your storage capacity on demand, and you only pay for the storage you use.

Amazon S3 use cases

  • Building a data lake
  • Backup and restore important data
  • Store data at the lowest cost
  • Run cloud-based applications

Additional reference links Amazon S3

Introducing AWS CloudTrail

cloudtrail

AWS CloudTrail is a service that enables governance, operational auditing, and risk auditing for your AWS account. With CloudTrail, you can log, continuously monitor, and retain account activity related to actions across your AWS infrastructure.

Check the history of events/API calls in your AWS account, those events/API calls can be generated by:

  • Console
  • SDKs
  • CLI
  • AWS services

CloudTrail is enabled by default

For example: You want to check who and when an EC2 instance was deleted…

In Event history, management events are retained for up to 90 days.

To save logs for longer, or to query S3 object activity, log them to an S3 bucket and use Athena to query the data.

Additional reference links AWS CloudTrail

Introducing Amazon Athena

athena

Amazon Athena is an interactive query service for data stored in Amazon S3. It allows you to run SQL queries on data stored in files in S3 without having to move or copy the data into a traditional database. Athena makes it easy to query and analyze large amounts of data stored in S3 without deploying or managing a database.

Use cases

  • Execute queries on S3, on-premises or other clouds
  • Prepare data for ML models
  • Build a distributed big data collation tool
  • Perform multi-cloud analytics

Additional reference links Amazon Athena