1. Open PowerShell as an administrator on Windows 10 and run the following command
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
2. When prompted to restart your computer, type "Y" for yes and press "Enter"
3. Once your system has rebooted, click the start button and search for "Store". Then open the "Microsoft Store"
4. In the Microsoft Store, search for "WSL" (means Windows Subsystem for Linux"), click on "Run Linux on Windows" and then click on the "Ubuntu" option
5. Click on "Get"
6. If prompted to sign in, go ahead and sign in with a Microsoft, Work or School account
7. The download should begin. After the download has completed, click on "Launch" to begin the installation
8. When prompted, enter the Unix username that you want to use, enter and confirm the password that you want to use also. After this, you should be on the bash shell on Windows 10
1. Update the package list using the following command:
apt update
2. Install Python using the following command. Enter "Y" for yes when prompted.
apt-get install python3
3. Install pip3 using the following command. Enter "Y" for yes when prompted.
apt-get install python3-pip
4. Install AWS CLI using the following commands. Enter "Y" for yes when prompted.
pip3 install awscli --upgrade --user apt install awscli
5. Configure access to your AWS environment by using the command below.
aws configure
6. When prompted, enter the following:
1. Open the Cloud Optix console and sign-in with your credentials
2. Navigate to the "Settings" item in the left-hand navigation menu and select "Environments", then click on "Add New Environment"
3. (Optional) Customize the deployment by clicking “Click here to customize your AWS installation” under the AWS Account tab
a. Choose an install region from the “Choose default install region” dropdown menu
b. Enter an existing cloudtrail if you wish to reuse one in the field below
c. Enabling VPC Flow Logs enables Cloud Optix to perform analysis of traffic inside the AWS account for alerting and topology purposes, but will cause increased operational spend on AWS – you can choose to use this service by clicking Yes or No in the “Enable VPC Flow Logs” section
d. Clicking “Yes” will enable you to further customize the regions in which you wish to enable flow logs by selecting them from the dropdown menu
e. Click Generate Install Configuration to generate the required steps to apply the desired custom configuration
4. Open the Windows Subsystem for Linux and run the commands shown in step 2A on the Sophos Cloud Optix portal
5. Once completed, run the commands shown in step 2B (or the commands received from the customization in step 4)
6. After the script has finished running, you will see a confirmation message. If there are no errors, your environment will now show in the Sophos Cloud Optix dashboard.