Identity Services

Root User of an AWS Account

Root User Privileges

AWS IAM (Identity and Access Management) – CLF-C02

IAM Identities

  1. Users (long-term credentials)
    • Typically represents an individual who can log in to the AWS account.
  2. Groups (containers for users)
    • Simplifies management: assigning a policy to a group automatically applies it to all its members.
    • Note: IAM groups cannot log in to the AWS account. Only users and roles can.
  3. Roles (temporary credentials)
    • Commonly used by AWS services (e.g., EC2, Lambda) to perform actions on resources on your behalf; the service assumes the role and the credentials automatically expire.
    • Roles can also be used to provide federated access for external users (e.g., a user logging in via Facebook can assume a role to access AWS resources).
IAM Policies
IAM Security Best Practices
IAM Audit Tools
Shared Responsibility Model for IAM

Other Identity Services

Advanced Identity Services

Compute Services

Amazon EC2 (Elastic Compute Cloud) – CLF-C02

EC2 Instance – Key Concepts
SSH Protocol
EC2 Purchasing Options
  1. Shared Host (default): instances share hardware with other customers
    • On-Demand: pay-per-second, no discounts, ideal for short or variable workloads
    • Spot Instances: use spare EC2 capacity at high discounts, interruptible workloads only
      • Not suitable for critical web servers or databases
    • Reserved Instances: commit 1–3 years for discounted rates, for steady workloads
      • Convertible RIs allow changes to instance type, family, OS, or tenancy
    • Capacity Reservations: reserve capacity in a specific AZ or region
      • Guarantees availability, but does not reduce costs
      • Zonal = specific AZ, higher priority; Regional = flexible AZ, lower priority
  2. Dedicated Instances: hardware is shared among your instances only
    • Provides extra security isolation
  3. Dedicated Host: full control of a physical EC2 host
    • Billed for the host, not individual instances
    • Useful for server-bound licenses tied to sockets or cores

Savings Plans (1–3 years)

Shared Responsibility Model for EC2

EC2 Resilience & Scaling: ELB & ASG

Infrastructure – Key Concepts
Elastic Load Balancing (ELB)
EC2 Auto Scaling Groups (ASGs)

Other Compute Services

Serverless Compute

Typical Serverless Architecture

Scheduled daily jobs (CRON)

Serverless thumbnail generation

Containerized Compute

AWS Container Services

Amazon Lightsail

Storage Services

Amazon S3 (Simple Storage Service) – CLF-C02

Amazon S3 – Security
S3 Static Website Hosting
Additional S3 Features
Shared Responsibility Model – S3

Storage for Private Services (e.g. EC2)

Storing EC2 Data
EC2 Instance Store
Amazon Elastic Block Store (EBS)
EC2 Amazon Machine Image (AMI)
Amazon Elastic File System (EFS)
Amazon FSx
Shared Responsibility Model – Private Storage

Database & Data Services

Databases 101

Relational Databases = SQL Databases = RDBMS

Relational database table structure (rows and columns with relationships)

Non-relational Databases = NoSQL Databases

{
"name": "Avatar",
"year": 2009,
"genre": "epic science fiction",
"director": {
"name": "James Cameron",
"nationality": "Canada"
}
}

Example of a key-value table with primary key and attributes

Databases in AWS

AWS SQL Database Services

Shared Responsibility Model for RDS

AWS NoSQL Database Services
AWS Data Engineering & Data Analytics Services

Other Storage Services

AWS Snowball

AWS Storage Gateway