Grafana is an open source software that specializes in creating graphs and visualizations for users to easily understand the time-series data.
On this step-by-step guide, we will be launching an EC2 Instance with Amazon Linux 2 as the operating system, then install and run Grafana.
EC2 Instance Setup
Launch an EC2 Instance using the Amazon Linux 2 AMI
.
For reference here are the settings of my EC2 Instance.
AMI | Amazon Linux 2 |
Instance Type | t2.micro (free tier) or t3a.nano (cheapest) |
Storage | 8GB General Purpose SSD (gp2) |
Tags | Key: Name Value: Grafana-Server |
Security Group | See below (EC2 Security Group Setup) |
Note: This post is about installing Grafana on Amazon Linux 2. Launching an EC2 Instance will not be discussed here.
EC2 Security Group Setup
For the EC2 Instance Security Group I opened SSH (22
) and default Grafana port (3000
) to the internet (0.0.0.0/0
).