Deploying BMC AMI AI Services on Amazon EC2 instance
To deploy BMC AMI AI Services on Amazon EC2 instance
- Connect to the newly acquired EC2 instance via SSH. Make sure that the login credentials have admin access.
- Install Python and its dependency on the EC2 instance.
Verify whether Python is already installed by entering the python3 command. If Python is not installed, then run the following commands:
sudo apt update
sudo apt install python3Install pip by using the following commands:
sudo apt update
sudo apt-get -y install python3-pip
- Deploy the application. BMC AMI AI Services deployment is divided into these steps:
- Step 1 – BMC AMI Platform services deployment
Run the following commands to deploy AMI AI Platform Services:
chmod +x BMC-AMI-AI-Platform.sh
sed -i -e 's/\r$//' BMC-AMI-AI-Platform.sh
./BMC-AMI-AI-Platform.sh- When prompted, enter your EPD portal's username and password.
- Step 2 – Model Deployment
Based on the selected configuration, you must run the command. Do not run all model commands.
LLM
command
Mixtral8x7B-instruct Quantized
chmod +x BMC-AMI-AI-Mixtral.sh
sed -i -e 's/\r$//' BMC-AMI-AI-Mixtral.sh
./BMC-AMI-AI-Mixtral.shMeta-Llama-3-8B-instruct 4K Quantized (GPU)
chmod +x BMC-AMI-AI-Llama-GPU.sh
sed -i -e 's/\r$//' BMC-AMI-AI-Llama-GPU.sh
./BMC-AMI-AI-Llama-GPU.shMeta-Llama-3-8B-instruct 4K Quantized (CPU)
chmod +x BMC-AMI-AI-Llama.sh
sed -i -e 's/\r$//' BMC-AMI-AI-Llama.sh
./BMC-AMI-AI-Llama.sh- When prompted, enter your EPD portal's username and password.
- Step 1 – BMC AMI Platform services deployment
Where to go from here
See Verify the deployment of BMC AMI AI Services on Amazon EC2.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*