This is what I get when checking the machine after creation:
This is what is shown on the page https://cloud.google.com/compute/vm-instance-pricing:
Asked
Active
Viewed 708 times
2

Martin Zeitler
- 1
- 19
- 155
- 216

John Balvin Arias
- 2,632
- 3
- 26
- 41
1 Answers
4
In your first screenshot, it shows **e2-small (2 vCPU, 2 GB memory).
In your second screenshot, it shows 1 shared core.
One CPU core is 2 vCPUs. Therefore, your first and second screenshots are showing the same thing.
A vCPU is a hyper-thread. Each CPU core consists of two hyper-threads.
How does Hyper-Threading work? When Intel® Hyper-Threading Technology is active, the CPU exposes two execution contexts per physical core. This means that one physical core now works like two “logical cores” that can handle different software threads.

John Hanley
- 74,467
- 6
- 95
- 159
-
You should also see two processor entries when running ```cat /proc/cpuinfo```. – Gari Singh Mar 12 '22 at 08:29