Grafana containerization

Hi, I am using Grafana on AWS EC2 (Amazon linux), i need to containerize all the configuration that i have created till now and use the container image of AWS ECS. Could someone help how i can make this.