Installation of Grafana and AWS Metrics Dashboard Set-up

Поділитися
Вставка
  • Опубліковано 6 жов 2024
  • Here is the step-by-step guide to installing the Grafana on an EC2 Instance -
    Step 1: Change to Root user: sudo su
    Step 2: The installation is via yum repository. Create a grafana.repo under /etc/yum.repos.d/ vi grafana.repo
    Step 3: Put below content in grafana.repo and save it.
    [grafana]
    name=grafana
    baseurl=packages.grafa...
    repo_gpgcheck=1
    enabled=1
    gpgcheck=1
    gpgkey=packages.grafa...
    sslverify=1
    sslcacert=/etc/pki/tls/certs/ca-bundle.crt
    Step 4: Once done with the above steps. It's time to install grafana now. sudo yum -y install grafana
    Step 5: Start the server -
    sudo systemctl start grafana-server
    systemctl status grafana-server
    That's it. Your installation is completed. Please access it using server-ip:3000

КОМЕНТАРІ • 20

  • @AbelSoyoye
    @AbelSoyoye 8 місяців тому +1

    Thank you so much for making this video. Very insightful.

  • @aniezeinyama
    @aniezeinyama 7 місяців тому +1

    I learnt a lot from this video, Thank you 😊

  • @SunilKumar-pg2xf
    @SunilKumar-pg2xf 2 місяці тому +1

    Can i Monitor all the Ec2 instances running in that account with single configuration and i need metrics of EC2 like instance type, CPU Usage, Disk Usage and Memory Usage.

    • @splunkjourneywithsumit
      @splunkjourneywithsumit  2 місяці тому

      Yes, you can monitor all EC2 instances running in any AWS account with a single configuration in Grafana by leveraging AWS CloudWatch as your data source.

  • @sadhna.....2062
    @sadhna.....2062 2 роки тому +1

    Excellent

  • @prasadreddy-ne2tm
    @prasadreddy-ne2tm Рік тому +1

    Can you please share the IAM custom policy.

    • @afiqkurshid
      @afiqkurshid Рік тому

      {
      "Version": "2012-10-17",
      "Statement": [
      {
      "Sid": "VisualEditor0",
      "Effect": "Allow",
      "Action": [
      "ec2:DescribeInstances",
      "cloudwatch:GetMetricData",
      "ec2:DescribeTags",
      "ec2:DescribeRegions",
      "cloudwatch:GetMetricStatistics",
      "cloudwatch:ListMetrics"
      ],
      "Resource": "*"
      },
      {
      "Sid": "AllowReadingTagsInstancesRegionsFromEC2",
      "Effect":"Allow",
      "Action": ["ec2:DescribeTags","ec2:DescribeInstance","ec2:DescribeRegions"],
      "Resource":"*"
      },
      {
      "Sid": "AllowReadingResoucesForTags",
      "Effect":"Allow",
      "Action":"tag:GetResources",
      "Resource":"*"
      }
      ]
      }

  • @YazanAshran
    @YazanAshran Рік тому +1

    thanks

  • @astitvapandey_dancer
    @astitvapandey_dancer 2 роки тому +1

    Suprb

  • @apoorvtyagi9487
    @apoorvtyagi9487 4 місяці тому

    Hi
    I need your help i have some confusion

  • @PoojaNaik-q9f
    @PoojaNaik-q9f 7 місяців тому

    what about memory metrics?

    • @splunkjourneywithsumit
      @splunkjourneywithsumit  7 місяців тому

      You may go through official docs to bring up different kinds of logs & metrics data to Grafana.

  • @adityagautam9634
    @adityagautam9634 Рік тому

    Can you please share IAM policy

    • @afiqkurshid
      @afiqkurshid Рік тому +1

      {
      "Version": "2012-10-17",
      "Statement": [
      {
      "Sid": "VisualEditor0",
      "Effect": "Allow",
      "Action": [
      "ec2:DescribeInstances",
      "cloudwatch:GetMetricData",
      "ec2:DescribeTags",
      "ec2:DescribeRegions",
      "cloudwatch:GetMetricStatistics",
      "cloudwatch:ListMetrics"
      ],
      "Resource": "*"
      },
      {
      "Sid": "AllowReadingTagsInstancesRegionsFromEC2",
      "Effect":"Allow",
      "Action": ["ec2:DescribeTags","ec2:DescribeInstance","ec2:DescribeRegions"],
      "Resource":"*"
      },
      {
      "Sid": "AllowReadingResoucesForTags",
      "Effect":"Allow",
      "Action":"tag:GetResources",
      "Resource":"*"
      }
      ]
      }