Skip to main content

QUÁ TRÌNH MIGRATE LÊN GOOGLE CLOUD

    

QUÁ TRÌNH MIGRATE LÊN GOOGLE CLOUD

- Mục tiêu: chuyển máy chủ ảo (Hyper-V) lên Google Cloud

Bước 1: xác định chi phí

- Chọn cấu hình, dung lượng

- Chọn khu vực: độ trễ thấp/cao, low CO2

- Cam kết sử dụng liên tục

- Chọn gói backup (nếu cần)

Bước 2: tạo Bucket Store

- Chọn Region - Zone phù hợp (càng gần server càng tốt), 

- Zone (a,b,c) thì latency thấp nhất nhưng giá cao nhất. Thực tế, chỉ cần chọn đến Region là cũng đã nhanh lắm rồi mà giá rẻ chỉ 1/5 so với Zone.

Bước 3: thu gọn server ảo

- Chuẩn bị export: dọn dẹp server ảo cho gọn nhất, 

- Chạy lệnh optimize để xóa block rỗng: 

Optimize-VHD -Path "C:\path\to\your\image.vhdx" -Mode Full

Bước 4: Cài đặt & kết nối Google Cloud CLI


Bước 5: Upload vhdx





Comments

Popular posts from this blog

[RAID] SWITCH FROM AHCI TO RAID WITH INTEL C600 CONTROLLER

I personally have used other ways to do this. Manipulating some registry settings in combination with a safe boot before booting normally does the trick as well. This works with both SATA SSD and M.2 NVMe drives and it enables relatively fast switching between back and forth between AHCI and RAID. I have described this method below.  I have also tried the same process used to switch from RAD to AHCI and that works as well. Switch to safe boot Reboot into BIOS Change from AHCI to RAID in the BIOS Boot into safe mode Turn off safe mode and reboot normally again Nothing else and that also did the trick, just like with moving from RAID to AHCI.  So the link above and my step by step below is here for completeness. You have options in case one of them doesn’t work! Step by step AHCI to RAID registry method This procedure I describe below works on Windows 10 1803/1809 and has been tested on Dell Latitude E6220 an XPS 13 9360. Editing the registry is...

TẠO DKIM RECORD CHO EXCHANGE SERVER

  Source: https://www.linkedin.com/pulse/how-configure-dkim-exchange-2019-simple-way-seyed-abdollahi Installation In Exchange Online DKIM is a built-in service, but on an on-prem Exchange 2019 deployment we need a 3rd party application to add this functionality to our Exchange infrastructure. In this guide we use Stefan Profanter's excellent dkim-exchange application for this purpose, which is available here:  https://github.com/Pro/dkim-exchange/releases/latest After installing the program, we open  Configuration.DkimSigner.exe and click on the "Install" button, or download the installer straight from https://codeload.github.com/Pro/dkim-exchange/legacy.zip/v*** Configuration After installation finished, open the configurator. C:\Program Files\Exchange DkimSigner\Configuration.DkimSigner.exe Click on the "Configure" button and move the DkimSigner agent to the very bottom of the list. Under the DKIM settings tab select relaxed canonicalization as Exchange t...

CÀI ĐẶT NGINX PROXY MANAGER TRÊN UBUNTU 22

  CÀI ĐẶT NGINX PROXY MANAGER TRÊN UBUNTU 22 Link: https://azdigi.com/blog/en/linux-server-en/web-server/how-to-install-nginx-proxy-manager-with-docker-compose-on-ubuntu-22-04/ First, you need to create a directory containing the project and create a  docker-compose.yml  file for Nginx Proxy Manager with the following commands in turn:     AZDIGI Tutorial mkdir /home/nginxproxymanager cd /home/nginxproxymanager nano docker-compose.yml Enter the content below and save it. version: '3' services: app: image: 'jc21/nginx-proxy-manager:latest' restart: unless-stopped ports: - '80:80' - '81:81' - '443:443' environment: DB_MYSQL_HOST: "db" DB_MYSQL_PORT: 3306 DB_MYSQL_USER: "npm" DB_MYSQL_PASSWORD: "npm" DB_MYSQL_NAME: "npm" volumes: - ./data:/data - ./letsencrypt:/etc/letsencrypt db: image: 'jc21/mariadb-aria:latest...