To install Helm on an AWS EC2 instance, you can follow these steps:
- SSH into your EC2 instance.
- Download the Helm binary for your platform from the Helm website. You can choose the version that is compatible with your Kubernetes cluster.
curl -LO https://get.helm.sh/helm-v3.11.0-linux-amd64.tar.gz
- Extract the binary from the downloaded archive by running the following command:
tar xfz helm-v3.11.0-linux-amd64.tar.gz
- Move the binary to a directory in your system’s PATH. This will allow you to run Helm from any location on your system.
sudo mv linux-amd64/helm /usr/local/bin/
- Initialize Helm by running the following command:
- Verify that Helm is installed correctly by running the following command:
- You should see the version of the Helm client and server.
Please make sure that your EC2 instance has kubectl installed and configure to connect to your Kubernetes cluster and that you have the right permissions to run the above commands and install the package. Also, you need to configure the security group for your EC2 instance to allow the traffic to the k8s API server.