Skip to content

Restoring Lightsail (Windows Server) from Snapshot causing incorrect CPUs installed

0

A couple of our servers were affected by the crowd-strike outage, to resolve i created a new snapshot from the affected server and launched it under the same price plan as previous (2 vCPUs). I noticed the server running a lot slower than before, I have just noticed the likely cause.... when creating the instance from the snapshot it only has 1 virtual cpu in Task Manager and not 2 as expected and advertised. I have tested this again and with a separate server with the same result. I have also tested creating a fresh server on the same price bracket and it clearly states 2 CPUs in task manager not 1, so it seems specific to restoring from a snapshot... does anyone have any experience with this or a resolution? many thanks!

asked 2 years ago548 views
2 Answers
0
Accepted Answer

Another possibility to what AWS-Andy suggested, is if some Windows OS-level settings have been enabled on your source instances whose snapshots were used to create the instances, it can make the machine use or detect only half the cores (including what's reported in TaskManager)

There is mention of similar observations to yours on these public forums - https://serverfault.com/questions/1026084/ec2-windows-10-half-of-the-virtual-processors/1044066 and there is an answer that worked for that particular poster.

Thanks.

AWS
EXPERT
answered 2 years ago
EXPERT
reviewed a year ago
  • Thank you, this seemed to have done the job!

  • Glad it helped :)

0

Your results will vary depending on which bundle-id's you use when creating instance from snapshot.

You can compare the bundles available, and the number of vCPU in each, through a CLI call such as: aws lightsail get-bundles --include-inactive --region us-east-1

and you can provide the desired bundle-id in the create-instance-from-snapshot call as outlined here: https://awscli.amazonaws.com/v2/documentation/api/latest/reference/lightsail/create-instances-from-snapshot.html

Please let us know if you are using different bundles for the create-instance vs. create-instance-from-snapshot calls.

AWS
MODERATOR
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.