All installation and verification steps prior to creating AWS resources are located in this section. The goal is to confirm that the local machine can build Spring Boot, run Docker containers, and synthesize CDK before deploying.
The lab uses region ap-southeast-1. If you choose another region, you need to change the region in AWS CLI commands, in the CDK configuration, and in the Spring Boot application.
Below is the step-by-step guide to installing the required tools from their official websites and verifying their versions in the Terminal.
1. Java Development Kit (JDK 25)
java -version
javac -version
java version "25" ...
Java(TM) SE Runtime Environment ...
javac 25
2. Node.js (LTS v24.x) and npm (v11)
node -v
npm -v
v24.x.x
11.x.x
3. AWS CLI
aws --version
aws-cli/2.x.x Python/3.x.x Windows/10 exe/x86_64
4. AWS CDK
npm install -g aws-cdk
cdk --version
2.x.x (build ...)
5. Install Postman
6. Install VS Code and Extensions for Spring Boot
Official Download Page: Visual Studio Code Download
Steps:
Ctrl + Shift + X (on Windows/Linux) or Cmd + Shift + X (on macOS) to open the Extensions panel.vscjava.vscode-java-pack)redhat.java)vmware.vscode-boot-dev-pack)vscjava.vscode-spring-initializr)ms-azuretools.vscode-docker)docker.docker)amazonwebservices.aws-toolkit-vscode)(Optional) You can quickly install all extensions via Terminal command:
code --install-extension vscjava.vscode-java-pack
code --install-extension redhat.java
code --install-extension vmware.vscode-boot-dev-pack
code --install-extension vscjava.vscode-spring-initializr
Verify installation in Terminal / PowerShell:
code --version
code --list-extensions
7. Install Docker Desktop
docker --version
docker compose version
docker info
Docker version 29.x.x, build ...
Docker Compose version v5.x.x
Docker Desktop Troubleshooting (WSL 2 & Virtualization on Windows):
If Docker Desktop fails to launch or displays errors regarding WSL 2 (Windows Subsystem for Linux), “WSL 2 installation is incomplete”, or “Virtualization is not enabled in BIOS”, follow these steps:

Windows key, search for and open Turn Windows features on or off (or navigate to Control Panel > Programs and Features > Turn Windows features on or off).
Open PowerShell as an administrator (Run as Administrator):
Verify if WSL is installed on your system:
wsl --status
wsl is not recognized... appears or WSL is disabled:Enable Virtualization and Install WSL: Enable Hyper-V:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
Install the latest WSL:
wsl --install
(Or install WSL without default Linux distribution if used exclusively for Docker: wsl --install --no-distribution).
Update the WSL kernel to the latest version:
wsl --update
Set WSL 2 as the default version for Docker:
wsl --set-default-version 2
Restart your computer so that all virtualization features and the WSL kernel take effect.
After restarting, open PowerShell again and verify the WSL status:
Check WSL configuration status:
wsl --status
Default Version: 2
WSL version: 2.x.x
Kernel version: 5.x.x (or newer)
WSLg version: ...
Check the list of running Linux distributions for Docker:
wsl -l -v
Running state on version 2:
NAME STATE VERSION
* docker-desktop Running 2
docker-desktop-data Running 2
Launch the Docker Desktop application; the Docker whale icon in your system tray should turn green (Engine running).