Setting Up WSL2 on Windows

WSL (Windows Subsystem for Linux) lets you run a Linux environment directly on Windows - no VM, no dual boot. WSL2 runs a real Linux kernel in a lightweight managed VM, giving you full syscall compatibility and much better performance than WSL1. Prerequisites Windows 10 version 2004+ or Windows 11 Admin access to your machine PowerShell or Windows Terminal Install WSL From an elevated PowerShell or Command Prompt: wsl --install This installs WSL2 and Ubuntu (the default distro) in one step. Restart when prompted. ...

September 27, 2024 · 4 min · 748 words

Connecting to AWS SSO and SSH into EC2 Instance

Two paths depending on your setup - follow one: Without SSO: personal AWS account, direct IAM credentials With SSO: enterprise/team setup with an SSO start URL (e.g. https://company.awsapps.com/start) Prerequisites Without SSO: AWS CLI v2 AWS IAM user credentials (Access Key ID and Secret Access Key) Terminal With SSO: AWS CLI v2 AWS SSO start URL and access Terminal Files you will need ~/ ├── .aws/ │ ├── config │ └── credentials └── .ssh/ ├── ec2-key.pem └── config Path A: Without SSO Create .aws folder if it doesn’t exist. Run from your home directory (~). ...

July 15, 2024 · 2 min · 283 words