There is no dedicated report to view these numbers directly.
For AWS, the EC2 Instance Hours report can pull in Virtual Cores and Memory (MB) columns:For Azure, the ARM Virtual Machine Hours report can pull in CPU Cores and Memory (MB) columns: