Deploying BMC AMI AI Services on Amazon EC2
Before you begin
See Copying-the-files-required-for-AWS-EC2.
To deploy BMC AMI AI Services on the Amazon EC2
- 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, as follows:
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 consists of the following steps:
- 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 user name and password.
- Integration deployment
For BMC AMI AI Code Insights Explain, run the following command:
chmod +x BMC-AMI-AI-Devx.sh
sed -i -e 's/\r$//' BMC-AMI-AI-Devx.sh
./BMC-AMI-AI-Devx.shFor BMC AMI Ops Insights Root Cause Explain, run the following command:
chmod +x BMC-AMI-AI-OI.sh
sed -i -e 's/\r$//' BMC-AMI-AI-OI.sh
./BMC-AMI-AI-OI.sh
- Model Deployment
Run one of the following commands based on your selected configuration. Do not run all the commands.
Configuration type
Command
Recommended
chmod +x BMC-AMI-AI-GPU.sh
sed -i -e 's/\r$//' BMC-AMI-AI-GPU.sh
./BMC-AMI-AI-GPU.shAfter running this command, enter Mixtral in the selection prompt window.
Mid-level
chmod +x BMC-AMI-AI-GPU.sh
sed -i -e 's/\r$//' BMC-AMI-AI-GPU.sh
./BMC-AMI-AI-GPU.shAfter running this command, enter Llama3 or Granite in the selection prompt window.
Entry-level
chmod +x BMC-AMI-AI-CPU.sh
sed -i -e 's/\r$//' BMC-AMI-AI-CPU.sh
./BMC-AMI-AI-CPU.sh- When prompted, enter your EPD portal's user name and password.
- BMC AMI Platform services deployment
Where to go from here
Verify that BMC AMI AI Services are properly deployed on Amazon EC2. For more information, see Verifying-the-installation.