Is there some sort of documentation that details what files are replaced when deploying a snapshot? Mainly I have configured debian with all the stuff that I find important to include security measures. For example, I configured it so the root account was disabled and made changes to /etc/hosts. However, after I took a snapshot, deployed the image with a new droplet, both were changed. Root was able to login with the password generated by DO and /etc/hosts now is back to the original as well disregarding all my changes.
So, what exactly is modified by DO when using an image?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I completely understand the reasons behind modifying hosts. Mainly wondering what files are modified.
Those are the two key things that are modified when a snapshot is deployed. It’s necessary to ensure that users can access their droplets. /etc/hosts is changed to reflect the hostname given the droplet. Another thing that is changed is /root/.ssh/authorized_keys since it reflects the keys added in the control panel.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.