It's like a Boy (Shared CPU) and Human (Cloud Compute) comparison. You can't say that a Human is the same as Boy because a Human can be a Girl too (Dedicated CPU) or Boy can be a Dog (On-premise Server). I hope that makes sense.
Cloud compute is a generic term, shared cpu is when you have access part time to the main cpu (context switch).
As @neilstee both suppliers offer ~same solutions.
For standard use, you have to compare CPU Perf (~GeekBench), Memories and Network, not always easy in details except having a month free to test each offer.