I’m migrating an app from bare metal to a VM and trying to decide whether a droplet is suitable. I have an Ubuntu image which includes web and mail servers, and a lot of custom code. This has a low resource requirement - the VM will have about 100 users with occasional web accesses, and some email list handling. The image is about 3GB, it needs one vCPU, and would probably run with 1GB RAM. Longer-term, I need about 150 of these VM instances.
Problem #1: droplets only seem to have DHCP-assigned addresses. How does this work? Does this mean they’re not suitable for public-facing websites and mail servers? Or do I have to use DigitalOcean DNS? I need to set up SPF and DKIM for the mail server
Problem #2: cloud-init seems to be required, for some reason. This is a custom image and nothing needs to be configured apart from a static IP address (and Ethernet device name/etc). The admin for this VM then sets up the simple stuff like the hostname, domain name, and so on, from a web interface. So, unless cloud-init can set a static IP address (which I don’t think it can) it seems to be useless, so it does nothing on this image. Is that acceptable?
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!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.