Tạo EC2 Instance

  1. Truy cập AWS Management Console

    • Tìm EC2
    • Chọn EC2

    Create EC2 instance

  2. Trong giao diện Instances

    • Chọn Launch instances

    Create EC2 instance

  3. Trong giao diện Launch an instance

    • Name, nhập Grafana-Server

    Create EC2 instance

  4. Bước chọn AMI

    • Chọn Quick Start
    • Chọn Amazon Linux

    Create EC2 instance

  5. Trong giao diện Launch instances

    • Chọn Instance type
    • Chọn Create new key pair

    Create EC2 instance

  6. Trong giao diện Create key pair

    • Key pair name, nhập GrafanaKeyPair
    • Key pair type, chọn RSA
    • Private key file format, chọn .pem
    • Chọn Create key pair

    Create EC2 instance

  7. Trong giao diện Networking settings

    • Chọn Edit

    Create EC2 instance

  8. Trong giao diện Networking settings

    • Chọn VPC, ở đây chọn Grafana-ASG-vpc đã tạo
    • Chọn Subnet, chọn Grafana-ASG-subnet-public1-us-east-1a
    • Auto-assign public IP, chọn Enable
    • Trong phần Firewall (security group), chọn Select existing security group
    • Chọn SG-PUB-Grafana-SG vừa tạo

    Create EC2 instance

  9. Kiểm tra lại thông tin instance

    • Chọn Launch instance

    Create EC2 instance

  10. Khởi tạo EC instance thành công

    • Chọn View all instances

    Create EC2 instance

  11. Vậy chúng ta đã khởi tạo 1 EC2 instance thành công.

    Create EC2 instance