Prerequisites
This section covers the prerequisites for deploying and using the Smart City Blueprint. Prerequisites are organized into common requirements for all deployments, and deployment-specific requirements for Docker Compose.
Common Prerequisites
These prerequisites are required for Docker Compose deployment.
Hardware Requirements
The Smart City Blueprint has been validated and tested on the following NVIDIA GPUs:
- NVIDIA H100
- NVIDIA L40S
- NVIDIA RTX PRO 6000 Blackwell
Minimum System Requirements
- x86-64 architecture
- 18 core CPU (x86 systems)
- 128 GB RAM
- 1 TB SSD
- 1 x 1 Gbps network interface
Operating System and Base Software
- Ubuntu 24.04
- NGC CLI 4.10.0 or later
Runtime Environment Settings
The following Linux kernel settings are required:
Docker Compose-Specific Prerequisites
The following prerequisites are required only for Docker Compose deployments:
- NVIDIA Driver 595.58.03 on Ubuntu 24.04
- Docker Engine 28.3.3 or later and earlier than 29.5.0
- Docker Compose v2.39.1 or later
- Docker Buildx 0.23.0 (working version), 0.23.0 or later and earlier than 0.35.0
- NVIDIA Container Toolkit 1.17.8 or later
These match the platform-wide requirements in Prerequisites; the Smart City Blueprint does not relax or extend them.
For detailed installation instructions, see the Appendix:
Docker Compose deployments:
- Install NVIDIA Driver
- Install Docker
- Configure Docker
- Install Docker Buildx
- Install NVIDIA Container Toolkit
Common software (both deployments):
NGC API Key Access
To deploy the Smart City Blueprint, you need an NGC API key with access to the required resources.
Create an NVIDIA NGC Account
- Go to https://ngc.nvidia.com
- Click Sign up if you don’t have an account, or Sign in if you do
- Complete the registration process with your email address
Generate an API Key
- Once logged in, click on your username in the top right corner
- Select Setup from the dropdown menu
- Navigate to API Keys under the Keys/Secrets section
- Click Generate API Key
- Click Generate Personal Key (available at both the top-center and top-right of the page)
- Provide a descriptive name for your API key (e.g., “Smart City Blueprint Development”)
- Select NGC Catalog for Key Permissions
- Click Generate Personal Key
- Copy the generated API key immediately - you won’t be able to see it again
- Store it securely in a password manager or encrypted file
Keep your NGC API key secure and never commit it to version control systems.
Verify Your NGC Access
To verify your NGC key has the correct permissions:
If you encounter permission errors, contact NVIDIA support for assistance.
Google Maps API Key
The Video-Analytics-UI map view functionality requires a Google Maps API key.
You can obtain a Google Maps API key by following the create API key instructions.
For production deployments, ensure you configure appropriate API key restrictions and usage limits.
Appendix: Software Prerequisites Installation Guide
This appendix provides installation instructions for the software prerequisites. Instructions are organized by common software (required for all deployments) and deployment-specific software.
Common Software Installation
Install NVIDIA Driver
NVIDIA Driver version 595.58.03 is required on Ubuntu 24.04 for Docker Compose deployments.
You can download the driver directly from: https://www.nvidia.com/en-us/drivers/details/266021/
For detailed installation instructions, refer to the official NVIDIA Driver Installation Guide: https://docs.nvidia.com/datacenter/tesla/driver-installation-guide/index.html
You can also browse drivers for your specific GPU and platform from the NVIDIA Driver Downloads page: https://www.nvidia.com/Download/index.aspx
After installation, verify the driver is correctly installed by running nvidia-smi to confirm the driver version and GPU detection.
NVIDIA Fabric Manager Requirement
NVIDIA Fabric Manager is required on systems with multiple GPUs that are connected using NVLink or NVSwitch technology. This typically applies to:
- Multi-GPU systems with NVLink bridges (e.g., DGX systems, HGX platforms)
- Systems with NVSwitch fabric interconnects
- Hosts running NVIDIA H100, A100, V100, or other datacenter GPUs with NVLink
Fabric Manager is not required for:
- Single GPU systems
- Multi-GPU systems without NVLink/NVSwitch (PCIe-only configurations)
For installation instructions, refer to the official NVIDIA Fabric Manager documentation:
- Installation Guide: https://docs.nvidia.com/datacenter/tesla/fabric-manager-user-guide/index.html
Verify Fabric Manager status after installation:
Install NGC CLI
NGC CLI version 4.10.0 or later is required to download blueprints and authenticate with NGC resources.
Download and install NGC CLI:
For ARM64 Linux:
For AMD64 Linux:
After downloading, install NGC CLI:
Verify installation:
Configure NGC CLI with your API key:
When prompted, enter your NGC API key. For information on obtaining an NGC API key, see the NGC API Key Access section.
For the latest version of NGC CLI, visit the NGC CLI downloads page: https://ngc.nvidia.com/setup/installers/cli
Docker Compose Software Installation
These installation instructions are only required for Docker Compose deployments.
Install Docker
Docker Engine 28.3.3 or later and earlier than 29.5.0 is required. Follow the guide here for installing Docker: https://docs.docker.com/engine/install/ubuntu/
Do not install Docker via snap. The snap-packaged Docker runs inside a confined sandbox with restricted filesystem access, which can perform differently in the deployment process. Install Docker using the official Docker apt repository as linked above.
After installation, complete the Linux post-installation steps so that Docker can run without sudo. See Linux post-installation steps for Docker Engine.
Configure Docker
After installing Docker, you must configure it to use the cgroupfs cgroup driver.
Edit the Docker daemon configuration file:
Add or verify the following entry in /etc/docker/daemon.json:
This configuration must be included within the JSON object. For example:
If your /etc/docker/daemon.json already contains other settings, ensure this entry is added to the existing configuration.
Apply the configuration:
After editing the daemon configuration, restart Docker to apply the changes:
Restarting Docker will temporarily stop all running containers. Plan accordingly if you have containers running.
Install Docker Compose
Docker Compose v2.39.1 or later is required. Docker Compose v2 is typically installed as a plugin with modern Docker installations.
Verify if Docker Compose is already installed:
If not installed, install Docker Compose plugin:
Verify installation:
Docker Compose v2 uses the command docker compose (without hyphen) instead of the older docker-compose command.
Install Docker Buildx
Buildx version 0.23.0 or later and earlier than 0.35.0 is required. Version 0.23.0 is the known working version.
Check if Docker Buildx is already installed and meets the version range:
If the version is missing, older than 0.23.0, or 0.35.0 or newer, install working version 0.23.0. The command selects the binary for the host architecture (x86_64 or aarch64):
Verify installation:
Install NVIDIA Container Toolkit
The NVIDIA Container Toolkit is required to run the NVIDIA containers. Follow the guide here for installing the NVIDIA Container Toolkit: https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html
This blueprint uses NodePort services for external access to application endpoints.