-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Guide: Developing Vector on Windows on AWS
This is a brief guide to developing Vector on Windows via an EC2 Windows VM.
Create an EC2 instance with Windows server 2019. A t2.2xlarge with at least 120gb storage works well. You will need to use Remote Desktop to connect to the machine. Assign a keypair to the instance which you can use to decrypt the RDP Administrator password.
Install Visual C++ from here:
Microsoft C++ Build Tools - Visual Studio
Select Desktop Development with C++, also select CLang. This may get more than you need, but it works.
To install Rust, install rustup-init.exe
from:
rustup.rs - The Rust toolchain installer
Install git from Git - Downloading Package
Install chocolatey by pasting this into a PowerShell terminal:
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
Install cmake
from Download
Install perl
from Strawberry Perl for Windows
Git clone the Vector project (using git bash). In a PowerShell window, cd to the Vector folder and run:
.\scripts\environment\bootstrap-windows-2019.ps1
You will get some errors about FilePath being null. This doesn’t seem to stop things working.
cargo build
and cargo test
should then work as normal.