Cấu hình Remote Desktop trên Windows Azure

(Bài viết này áp dụng với Windows Azure Tools 1.3 for Visual Studio 2010)

Hiện nay, Windows Azure cho phép sử dụng dịch vụ Remote Desktop để truy cập vào các roles chạy trên Windows Azure. Để cấu hình tính năng này, chúng ta sẽ sử dụng Visual Studio để cấu hình cho các project. Bài viết này sẽ hướng dẫn cho các bạn cách thức sử dụng Visual Studio đế cấu hình dịch vụ Remote Desktop với Windows Azure.

Để có thể cấu hình dịch vụ Remote Desktop, chúng ta cần một project Windows Azure có ít nhất một role (web role hoặc worker role) trong project.

BƯỚC 1: Publish project Windows Azure bằng cách tại cửa sổ Solution Explorer, chọn Publish trên menu như hình sau

image

BƯỚC 2: Tại cửa sổ Deploy Windows Azure project, chọn phương thức thực hiện là “Deploy your Windows Azure project to Windows Azure” và tiếp tục cấu hình các thông số để có thể thực hiện deploy project lên Windows Azure.

Tiếp theo, chọn vào mục Config Remote Desktop connection… ở phía dưới

image

BƯỚC 3: Trong cửa sổ Remote Desktop Configuration chúng ta sẽ tiếp tục cấu hình các thông tin về tài khoản dùng để sử dụng dịch vụ Remote Desktop cũng như cấu hình certificate để chứng thực các thông tin tài khoản đó.

Tạo certificate cho thông tin về tài khoản: Trong cửa số Remote Desktop Configuation, chọn Create như hình bên dưới để tạo certificate mới cho tài khoản Remote Desktop

image

Điền tên cho certificate và bấm OK.

image

BƯỚC 4: Tạo file certificate để upload lên Windows Azure

Tại cửa sổ Remote Destop Configuration sau khi đã tạo thành công certificate, chọn vào View

image

Tại tab Details, chọn vào Copy to File…

image

Trong hộp thoại Certificate Export Wizard, chọn vào mục Yes, export the private key

image

Tiếp tục cung cấp thông tin ở các bước tiếp theo và lưu file certificate.

BƯỚC 5: Upload file certificate lên Windows Azure

Tại trang quản lý Management Portal, chọn vào Hosted Services thích hợp và chọn Add Certificate

image

Chọn certificate và nhập password của certificate và chọn Create

image

BƯỚC 6: Quay trở lại cửa sổ Remote Desktop Configuration của Visual Studio và cung cấp các thông tin về tài khoản dùng Remote Desktop, sau đó chọn OK

image

BƯỚC 7: Tại cửa sổ Deploy Windows Azure project, chọn OK để bắt đầu quá trình deploy project lên Windows Azure.

Quá trình deploy Windows Azure project

image

Sau khi đã deploy thành công, chúng ta sẽ thấy dịch vụ Remote Desktop sẽ được mở tại Management Portal của Windows Azure như sau

image

Tại đây, người dùng có thể thay đổi các thông tin về tài khoản Remote Desktop như thay đổi mật khẩu, thay đổi ngày hết hạn của tài khoản …

SỬ DỤNG REMOTE DESKTOP

image

image

Chú ý: Đôi khi user name phải sử dụng theo cấu trúc .\username

Published 02-25-2011 6:42 PM by Duy Nguyen
Filed under:
Powered by Community Server (Non-Commercial Edition), by Telligent Systems