“Traffic spikes only on sale days. Should I make the server bigger, or increase the number of servers?”
“ELB and Auto Scaling both sound like they are about servers going up and down. I can’t tell what the difference is.”
Both are questions that people often ask when they start learning about elasticity on AWS. The answer to the first is “Making a server bigger is vertical scaling, and increasing the number of servers is horizontal scaling. ELB and Auto Scaling achieve elasticity through horizontal scaling.” The answer to the second is “ELB only distributes requests; it does not increase or decrease the number of servers. Auto Scaling is what increases or decreases the number.” This article walks through the difference in order, using the example of a company that runs an e-commerce site.
This article is Lecture 4, Part 3 of the AWS Certified Cloud Practitioner exam prep course (exam code CLF-C02; hereafter “CLF”). Within the exam guide, it covers elasticity through automatic scaling and the purpose of load balancers, which fall under Task Statement 3.3 (Identify AWS compute services). This series is not official AWS material. The exam information here is as of October 26, 2026 and may change, so check the official AWS pages before you take the exam.
- The limits of a single server
- Vertical scaling and horizontal scaling ◎
- The purpose of a load balancer ◎
- What is Elastic Load Balancing (ELB)? ◎
- Types of ELB ○
- What is Auto Scaling? ◎
- How Auto Scaling works
- Combining ELB and Auto Scaling
- Think about it
- Summary
- The AWS Cloud Practitioner Exam Prep series (103 parts)
The limits of a single server
Suppose a company that runs an e-commerce site holds a sale on shop.example.com.
On ordinary days, one server may be enough. But on the day of the sale, traffic concentrates, processing can’t keep up, and pages load slowly. In terms of a store, it is like having only one cash register while the line of customers grows longer.
On top of that, if that one server fails, the whole site goes down.
A setup supported by a single server therefore has two limits: it is weak against concentrated load, and when it stops, everything stops. The next sections look in order at the idea of supporting the site with more servers to get past these limits.

- When traffic concentrates, one server gets slow
- When one server stops, the whole service stops
- The next sections cover the idea of supporting the site with more servers
Vertical scaling and horizontal scaling ◎
There are two ways to increase processing capacity.
Vertical scaling (making one server bigger; also called scaling up) replaces a single server with a larger type to give it more CPU and memory. On EC2, this means changing the instance type. Note that AWS documentation sometimes uses “scale up” simply to mean adding capacity (the “Elasticity and scalability” section of Lecture 2, Part 2). In this course, we use the terms scale up and scale out when we are distinguishing between making one server bigger and increasing the number of servers.
Horizontal scaling (increasing the number of servers; also called scaling out) increases the number of servers of the same size, and reducing the number is called scaling in.
Vertical scaling is limited by the size of one server, while horizontal scaling lets you add and remove servers, which makes it easier to match demand. ELB and Auto Scaling, which we look at next, achieve elasticity (the “Elasticity” section of Lecture 2, Part 2) through horizontal scaling.

- Vertical: make one server bigger (also called scaling up)
- Horizontal: increase the number of servers (also called scaling out)
- Remember it this way: vertical is about size, horizontal is about number
This is the first question from the start of the article. Making a server bigger is vertical, and increasing the number of servers is horizontal. As we saw in the “What is an instance type?” section of Lecture 4, Part 2, the size of an EC2 instance is determined by its type (instance type), so vertical scaling, which makes one server bigger, means changing the type.
The purpose of a load balancer ◎
When you increase the number of servers, a new problem appears: how to distribute requests from users across multiple servers.
A load balancer is a mechanism that provides a single entry point for requests from users and distributes them across multiple servers. In terms of a store, it is the person who guides customers to open registers. This keeps the load from being concentrated on one server and lets the system as a whole handle many requests.
It also performs health checks (regularly checking whether the destinations of the distribution are working normally) and does not send requests to a server that has stopped. Users can use the service without being aware of how many servers there are behind it or which ones have stopped.
The exam guide also lists identifying the purpose of a load balancer as a target skill.

- It provides one entry point and distributes requests across multiple servers
- Health checks take stopped servers out of rotation
- Increasing or decreasing the number of servers is a separate mechanism (Auto Scaling)
What is Elastic Load Balancing (ELB)? ◎
Elastic Load Balancing (ELB) is the AWS load balancer service.
ELB is responsible for distribution only, and it does not increase or decrease the number of servers. Increasing or decreasing the number is the role of Auto Scaling.
The destinations of the distribution are called targets, and you register things such as EC2 instances. Targets can be placed in one or more AZs, and if you spread them across multiple AZs, it is easier to keep running on the rest even if one AZ goes down (for the idea of AZs, see the “Availability Zones (AZs)” section of Lecture 3, Part 2).
ELB sends requests only to targets whose health check results are healthy. Also, when the volume of requests changes, ELB’s own capacity is adjusted automatically.
- ELB is the AWS load balancer service
- It distributes requests to healthy targets only, using health checks
- Increasing or decreasing the number of servers is the role of Auto Scaling
This is the first half of the answer to the second question from the start of the article. ELB only distributes requests; it does not change the number of servers.
Types of ELB ○
ELB comes in several types. Here we look at the following three.
| Type | In one line | Suited to |
|---|---|---|
| Application Load Balancer (ALB) | Distributes web traffic (HTTP and HTTPS) by looking at its content | Website traffic |
| Network Load Balancer (NLB) | Distributes traffic including non-web traffic (TCP and UDP) | Non-web traffic |
| Gateway Load Balancer (GWLB) | Passes traffic through inspection appliances (such as firewalls) before distributing it | Cases where traffic must be inspected |
Note: Classic Load Balancer is the previous generation (as of October 26, 2026). ELB is not in the exam guide’s list of in-scope AWS services, but “the purpose of a load balancer” is a target skill.
Source: What is Elastic Load Balancing?
What is Auto Scaling? ◎
Auto Scaling is a mechanism that automatically increases and decreases the number of servers to match demand. It is how AWS achieves the elasticity you learned about in Lecture 2. In terms of a store, it plays the role of opening more registers when it gets busy and closing them when it quiets down.
The unit in which the number of servers is increased or decreased is called an Auto Scaling group, and for the group you set a minimum, desired, and maximum number of servers.
Be careful with names that look alike.
| Name | What it does |
|---|---|
| Amazon EC2 Auto Scaling | A feature that adjusts the number of EC2 instances |
| AWS Auto Scaling | A service that plans scaling for multiple resources (the resources you use on AWS, such as servers and databases) together. This is the name in the exam guide’s list of in-scope AWS services |
In this lecture, we write Auto Scaling for the mechanisms that increase and decrease the number of servers as a whole.
- Auto Scaling automatically increases and decreases the number of servers
- The number is set in an Auto Scaling group with a minimum, desired, and maximum
- The EC2 version adjusts the number of servers; the AWS version plans for multiple services
How Auto Scaling works
For an Auto Scaling group, you set a lower limit (the minimum), a target (the desired number), and an upper limit (the maximum) for the number of servers. For example, with a minimum of 2 and a maximum of 6, the number of servers goes up and down between 2 and 6.
There are several triggers for a change.
- A person sets the number by hand
- The number changes at a time you decided in advance
- The number changes automatically based on a metric such as CPU utilization
Metrics are collected by Amazon CloudWatch (covered in the “Amazon CloudWatch” and “CloudWatch alarms” sections of Lecture 9, Part 1).
On a sale day, the number of servers increases to match the peak of traffic at midday and decreases at night. When the number decreases, the cost of the unused servers also goes down. When a server is no longer healthy, it is replaced with a new one to keep the desired number.

- The number of servers goes up and down within the minimum and maximum
- Triggers include metrics, schedules, and manual changes
- Unhealthy servers are replaced with new ones
Combining ELB and Auto Scaling
In a real system, you combine ELB and Auto Scaling. Their roles are separate.
- Auto Scaling increases and decreases the number of servers
- ELB distributes requests to the servers that exist right now
If you connect Auto Scaling to ELB, a newly launched server is automatically registered as a distribution target of ELB, and the registration is removed when the server is terminated.
Furthermore, if you spread the servers across two AZs, such as AZ-a and AZ-b, the other AZ can keep running even if one of them goes down. This is a form of the idea of making a system harder to stop by using multiple AZs, which you learned in Lecture 3 (the “Place servers across multiple AZs” section of Lecture 3, Part 3), achieved with AWS mechanisms. The company that runs an e-commerce site can get through its sale day with this setup, too.

- Auto Scaling increases and decreases the number of servers
- ELB distributes requests to the servers that exist now
- Spreading servers across two AZs makes the system harder to stop
This is the second question from the start of the article. The two roles are separate, and you use them in combination.
If you want to learn more, Cloud Fundamentals, Part 4 (“Compute, Part 2”) covers, in its “Auto Scaling” section and its “ELB (Elastic Load Balancing)” section, more detailed content beyond the scope of the exam (how scaling decisions are made, the features of each ELB type, and so on).
Think about it
- How would you prepare for the traffic spike on a sale day, with vertical scaling or horizontal scaling? Compare the features of each and explain. Think about it as if you were answering the first question from the start of the article in your own words
- Explain the role of a load balancer using the cash register example (the person who guides customers to open registers) and the function of health checks
- Answer the second question from the start of the article using the words “distribute” and “increase or decrease the number of servers.” Also explain why spreading servers across two AZs makes the system harder to stop
Hint: For 1, review the “Vertical scaling and horizontal scaling” section. For 2, review the “The purpose of a load balancer” section. For 3, review the “What is Elastic Load Balancing (ELB)?” and “Combining ELB and Auto Scaling” sections.
Summary
- A setup supported by a single server has two limits: it is weak against concentrated load, and when it stops, everything stops
- Vertical scaling makes one server bigger (scaling up), and horizontal scaling increases the number of servers (scaling out); reducing the number is scaling in. ELB and Auto Scaling achieve elasticity through horizontal scaling
- A load balancer provides one entry point and distributes requests across multiple servers. With health checks, it does not send requests to a server that has stopped
- ELB is the AWS load balancer service, and it is responsible for distribution only. The destinations of the distribution are targets. The types are ALB (web traffic), NLB (traffic including non-web traffic), and GWLB (passes traffic through inspection appliances)
- Auto Scaling automatically increases and decreases the number of servers. You set a minimum, desired, and maximum for the Auto Scaling group. Triggers include metrics, schedules, and manual changes. Unhealthy servers are replaced with new ones
- Combine ELB and Auto Scaling and spread servers across two AZs, and the system becomes strong against both heavy load and failure
Next, Lecture 4, Part 4 covers serverless.
The AWS Cloud Practitioner Exam Prep series (103 parts)
All 103 parts with a reading guide: AWS Cloud Practitioner Exam Prep
In this group (Lecture 4: Compute (Parts 1–6)):
- Lecture 4, Part 1: Servers and virtual machines (goals of this lecture, about this course, review of the previous lecture, compute and servers, virtual machines, the compute landscape)
- Lecture 4, Part 2: Amazon EC2 (what EC2 is, use cases, what the customer manages, instance types, families and how to choose, what you choose at launch)
- Lecture 4, Part 3: ELB and Auto Scaling (limits of a single server, vertical and horizontal scaling, why load balancers, ELB and its types, Auto Scaling, using them together) (this article)
- Lecture 4, Part 4: Serverless (what serverless is, AWS Lambda and its characteristics, use cases, Amazon API Gateway, EC2 vs. Lambda)
- Lecture 4, Part 5: Containers and other options (what containers are, three roles, ECR, ECS and EKS, Fargate, Elastic Beanstalk, Lightsail, Batch)
- Lecture 4, Part 6: Lecture 4 summary (how to tell things apart, key points, references, preview of the next lecture)
This series is the English edition of 【AWS クラウドプラクティショナー試験対策講座】, originally written in Japanese.

コメント