1 Answer
- Newest
- Most votes
- Most comments
0
I think that depends on the software that set up the values (i.e. a script that may run at boot of cloud-init to set values), but in general, no. A snapshot is a copy of disk and a new instance from that image will have the same values in config files.
Hope this helps!
Relevant content
- asked 8 months ago
- asked 2 years ago
- asked 3 years ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 6 months ago
Maybe I should have mentioned that I'm using a Lightsail LAMP blueprint.
Decided to just try it and find out. The answer, for anyone looking for this in the future, is that both the apache and mysql configs were automatically updated to use a larger memory config. The new instance from snapshot apache and mysql configs went from the xlarge.conf to use the 2xlarge.conf memory config
It happens for Bitnami stacks (such as Lightsail's Bitnami LAMP stack) because setting those configurations is part of the scripts and services Bitnami runs at application startup or initialization time.
For example those mentioned here for Apache - https://docs.bitnami.com/aws/infrastructure/lamp/get-started/understand-config/