AWS Builder Center

AWS Compute Services: The AWS Certified Cloud Practitioner (CCP) Basic Guide

When preparing for the AWS Certified Cloud Practitioner (CLF-C02) exam, compute services form the core of the Technology domain. For the CCP, you do not need deep implementation knowledge, but you must understand what each service does, how it scales, and when to use it.

1. Amazon EC2: Infrastructure as a Service (IaaS)

Amazon Elastic Compute Cloud (EC2) provides resizable virtual servers (instances) in the cloud. It gives you full administrative control over the operating system and software stack.
For the CCP exam, you must memorize the four main EC2 Pricing Models:
  • On-Demand: Pay by the second/hour with no long-term commitment. Best for unpredictable or short-term workloads.
  • Savings Plans & Reserved Instances (RI): Up to a 72% discount in exchange for a 1- or 3-year steady-usage commitment.
  • Spot Instances: Up to a 90% discount using spare AWS capacity. AWS can reclaim these with a 2-minute warning, making them ideal for fault-tolerant, flexible batch jobs.
  • Dedicated Hosts: Physical servers dedicated entirely to your use, primarily for regulatory compliance or server-bound software licenses (BYOL).

2. Scalability & Availability: ELB and Auto Scaling

EC2 is rarely used in isolation for production workloads. Two services work together to ensure high availability and elasticity:
  • Elastic Load Balancing (ELB): Automatically distributes incoming application traffic across multiple targets (e.g., EC2 instances across different Availability Zones).
  • Amazon EC2 Auto Scaling: Automatically adds or removes EC2 instances based on demand or health checks, ensuring you have the right capacity without overpaying.

3. Serverless Compute: AWS Lambda

AWS Lambda represents Function-as-a-Service (FaaS). With Lambda, you run code without provisioning or managing servers.
  • It is event-driven (triggered by events like file uploads to S3 or API calls).
  • It executes code only when needed and automatically scales from zero to thousands of concurrent requests.
  • You pay strictly for compute time consumed (measured in milliseconds).

4. Container Services: ECS, EKS, and AWS Fargate

Containers package code and dependencies together. AWS offers two orchestrators and a serverless engine:
  • Amazon ECS (Elastic Container Service): AWS-native container management service designed for Docker containers.
  • Amazon EKS (Elastic Kubernetes Service): Fully managed Kubernetes service for running containerized workloads.
  • AWS Fargate: A serverless compute engine for containers. When using ECS or EKS with Fargate, you do not manage underlying EC2 instances.

5. Simplified & Edge Compute Services

  • AWS Elastic Beanstalk: Platform as a Service (PaaS). Developers upload code, and Beanstalk automatically handles provisioning, load balancing, and scaling.
  • Amazon Lightsail: A simplified, all-in-one Virtual Private Server (VPS) package (compute, storage, and networking) with predictable monthly pricing for beginners and simple websites.
  • AWS Outposts & Wavelength: Hybrid/edge compute solutions that bring native AWS services and infrastructure to on-premises data centers or 5G edge networks.

CCP Cheat Sheet

Service
Category
Key Identifier for Exam Questions
EC2
IaaS
Full OS control, customizable virtual machines
Lambda
Serverless
Event-driven, pay-per-execution, zero server management
Elastic Beanstalk
PaaS
Upload code, AWS manages the underlying infrastructure automatically
Fargate
Serverless Containers
Run containers without provisioning EC2 instances
Lightsail
VPS
Low-cost, simple, bundled compute for basic projects
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article