Do you need separate IP addresses for each nameserver for an EC2 webserver?
You need nameservers for a domain not for an ec2 instance or for a webserver. I suggest you use a managed DNS service like AWS Route53 and don’t worry about running your own nameservers.