AWS - EC2 Instance

This guide shows you how to setup Lumeo Gateways to run in a AWS EC2 instance.

Before using the Lumeo Gateway Installer on your Nvidia GPU enabled AWS EC2 machines, follow these steps :

In the EC2 console, configure and launch machine instance with the following configuration:

833

After launching the virtual, log in, execute the following commands to configure the machine instance and install Lumeo Gateway software:

sudo apt update

Install nvidia drivers

sudo apt install nvidia-compute-utils-495 nvidia-dkms-495 nvidia-driver-495 nvidia-kernel-common-495 nvidia-kernel-source-495 nvidia-modprobe nvidia-prime nvidia-settings nvidia-utils-495

Verify the nvidia drivers are properly installed, execute the command:

nvidia-smi

To see output like this

[email protected]:~$ nvidia-smi
Sat Jun  4 01:10:01 2022       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 510.73.05    Driver Version: 510.73.05    CUDA Version: 11.6     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  Tesla T4            Off  | 00000000:00:1E.0 Off |                    0 |
| N/A   37C    P8    15W /  70W |      0MiB / 15360MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

If you receive an error, reboot the instance as it maybe required for different instance types and the drivers to load properly.

Finally execute the installer interactively and selecting the default option which is container.

bash <(wget -qO- https://link.lumeo.com/setup)