Tạo EC2 cho Storage Gateway

Tạo EC2 cho Storage Gateway

  1. Truy cập vào giao diện quản trị dịch vụ Storage Gateway.

    Create Storage Gateway Instance

    • Click Create gateway.

    Create Storage Gateway Instance

    • Đặt tên filesgw

    Create Storage Gateway Instance

  2. Kéo màn hình xuống phần Platform options, Chọn Amazon EC2.

    • Click Customize your settings.
    • Chọn Launch instance.

    Create Storage Gateway Instance

  3. AWS sẽ tự động lựa chọn AMI cho việc khởi tạo.

    Create Storage Gateway Instance

  4. Kéo màn hình xuống phần Instance type, Chọn m5.large.

    AWS khuyên dùng loại m4/m5 cho mục đích sử dụng thông thường.

  5. Kéo màn hình xuống phần Key pair, Chọn Create new key pair.

    Create Storage Gateway Instance

    • Đặt tên Key pair name là storagegw-key
    • Click RSA ở mục Key pair type
    • Click .pem ở mục Key pair file format
    • Chọn Create key pair

    Create Storage Gateway Instance

    • Sau đó chọn storagegw-key ở mục Key pair name -required
  6. Kéo màn hình xuống phần Network settings, Chọn Edit.

    Create Storage Gateway Instance

  7. Kéo màn hình xuống phần Firewall (security groups).

    • Tại mục Security group name điền storagegw-instance-sg.
    • Tại mục Description điền storagegw-instance-sg.

Create Storage Gateway Instance

  1. Kéo màn hình xuống phần Inbound security groups rules.

    • Click Add security group rule để thêm một rule.
    • Tiến hành thêm 14 rules theo hình

    Create Storage Gateway Instance

    Create Storage Gateway Instance

    Create Storage Gateway Instance

    Create Storage Gateway Instance

    Create Storage Gateway Instance

  2. Kéo màn hình xuống phần Configure storage.

    • Click Add new volume.
    • Tại mục dung lượng điền 150.

      Ngoài Root volume, chúng ta cần phải thêm một volume nữa để cấu hình Cache cho Storage Gateway có dung lượng tối thiểu 150GB.

  3. Click Launch instance.

Create Storage Gateway Instance

  1. Xác nhận đã tạo thành công instances.

Create Storage Gateway Instance