Setup your dev environment for use with AWS
To complete this course, configure your system as per the instructions below per your OS. I personally use Windows 10/11 with WSL2 and Ubuntu 22.04 LTS.
However, follow the instructions below as per your OS of choice:
We will install the following tools:
- VSCode for editing code
- Docker Desktop for running containers
- AWS CLI for interacting with AWS
After that we will install AWS CDK for creating and managing AWS resources.
WSL2 on Windows 10/11
a) Install the following prerequisites:
- Install Windows Terminal from Microsoft Store.
- Install VSCode from Microsoft VSCode Website
- Install Docker for Desktop
b) After that, follow the below instructions to install and configure WSL2 on Windows 10/11.
- Install WSL2 (Windows Subsystem for Linux 2) on you PC by following these instructions
- Open Windows Terminal and run
wsl
to login to your WSL2 environment
c) Once you're logged into your WSL2 environment, follow the below instructions to install and configure AWS CLI.
- Follow these instructions to install and configure AWS CLI
Now you can proceed to CDK installation instructions below.
Ubuntu Linux
a) Install the following prerequisites:
- Install VSCode from Microsoft VSCode Website
- Install Docker for Desktop
b) After that, follow the below instructions to install and configure AWS CLI.
- Follow these instructions to install and configure AWS CLI
Now you can proceed to CDK installation instructions below.
Windows 10/11
a) Install the following prerequisites:
- Install Windows Terminal from Microsoft Store.
- Install VSCode from Microsoft VSCode Website
- Install Docker for Desktop
b) After that, follow the below instructions to install and configure AWS CLI.
- Download and install the AWS CLI MSI Installer
- Use these instructions to configure AWS CLI for usage
Now you can proceed to CDK installation instructions below.
MacOS
a) Install the following prerequisites:
- Install VSCode from Microsoft VSCode Website
- Install Docker for Desktop
b) Proceed to AWS CLI installation instructions below. You need sudo
access.
To install AWS CLI on MacOS, first download the latest AWS CLI package from AWS by running
curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg"
Next, install the package by running
sudo installer -pkg AWSCLIV2.pkg -target /
Verify that AWS CLI has been installed & added to path by running
aws --version
c) You have to configure AWS CLI for usage by following these instructions
Now you can proceed to CDK installation instructions below.
Install AWS CDK
Now that we have installed all the prerequisites, we can install AWS CDK by following this guide.