How to host grafana on aws ec2?

I am able to launch grafana in my local but I am having trouble hosting it on private ec2 instance. I have made these changes to my custom.ini. What’s the proper way to set grafana on ec2? I run the grafana-server.exe but its never completes so Im not sure what the issue is.

[server]

Protocol (http, https, socket)

protocol = http

The ip address to bind to, empty will bind to all interfaces

http_addr = ec2 ip address

The http port to use

http_port = 3000

The public facing domain name used to access grafana from a browser

domain = ec2 address:3000