# Hướng dẫn kết nối từ VM tới Spinner ```{admonition} Pre-condition * Đã tạo VPC * Đã tạo Spinner Group * Đã tạo Spinner * Đã tạo VM ``` **Các bước thực hiện:** ---------- ### **Bước 1:** Truy cập vào workspace, vào màn hình Setting ```{thumbnail} ../../../_static/img/vpc/how-to/hd-ket-noi-tu-vm-toi-spinner-1.png :width: 65% :alt: Image :align: center ``` ### **Bước 2: Bật Internal Proxy ứng với VPC chứa VM đã tạo** ```{thumbnail} ../../../_static/img/vpc/how-to/hd-ket-noi-tu-vm-toi-spinner-2.png :width: 65% :alt: Image :align: center ``` ### **Bước 3: Truy cập vào spinner đã tạo** ```{thumbnail} ../../../_static/img/vpc/how-to/hd-ket-noi-tu-vm-toi-spinner-3.png :width: 65% :alt: Image :align: center ``` ### **Bước 4: Tạo Service trong tab PUBLISHING**  Nếu spinner đã được tạo port trước đó thì có thể bỏ qua bước này. ```{thumbnail} ../../../_static/img/vpc/how-to/hd-ket-noi-tu-vm-toi-spinner-4.png :width: 65% :alt: Image :align: center ``` ```{thumbnail} ../../../_static/img/vpc/how-to/hd-ket-noi-tu-vm-toi-spinner-5.png :width: 65% :alt: Image :align: center ``` ### **Bước 5: Tạo Private Endpoint trong tab PUBLISHING** ```{thumbnail} ../../../_static/img/vpc/how-to/hd-ket-noi-tu-vm-toi-spinner-6.png :width: 65% :alt: Image :align: center ``` ### **Bước 6: Điền thông tin endpoint sau đó PUBLISH** ```{thumbnail} ../../../_static/img/vpc/how-to/hd-ket-noi-tu-vm-toi-spinner-7.png :width: 65% :alt: Image :align: center ``` ### **Bước 7: Kiểm tra thông tin của Private Endpoint** ```{thumbnail} ../../../_static/img/vpc/how-to/hd-ket-noi-tu-vm-toi-spinner-8.png :width: 65% :alt: Image :align: center ``` ### **Bước 8: Truy cập VM**  ```{thumbnail} ../../../_static/img/vpc/how-to/hd-ket-noi-tu-vm-toi-spinner-9.png :width: 65% :alt: Image :align: center ``` ### **Bước 9: Remote vào VM** ```{thumbnail} ../../../_static/img/vpc/how-to/hd-ket-noi-tu-vm-toi-spinner-10.png :width: 65% :alt: Image :align: center ``` ### **Bước 10: Kiểm tra kết nối tới Spinner** Người dùng sử dụng địa chỉ của private endpoint để truy cập từ VM. ```{thumbnail} ../../../_static/img/vpc/how-to/hd-ket-noi-tu-vm-toi-spinner-11.png :width: 65% :alt: Image :align: center ``` ```{div} sd-fs-5 sd-text-primary Result ``` Sau khi thiết lập xong, VM có thể gọi sang Spinner.