Problem creating my first cluster using kubeadm on AWS ec2

Asking for help? Comment out what you need so we can get more information to help you!

Cluster information:

Kubernetes version:
Cloud being used: AWS
Installation method: Kubeadm
Host OS: Amazon linux
CNI and version: not sure
CRI and version: containerd 1.7

[ec2-user@master ~]$ sudo kubeadm init --apiserver-advertise-address=********* --pod-network-cidr=10.0.0.0/16
[init] Using Kubernetes version: v1.30.3
[preflight] Running pre-flight checks
        [WARNING FileExisting-tc]: tc not found in system path
[preflight] Pulling images required for setting up a Kubernetes cluster
[preflight] This might take a minute or two, depending on the speed of your internet connection
[preflight] You can also perform this action in beforehand using 'kubeadm config images pull'
W0725 18:12:06.995017   33489 checks.go:844] detected that the sandbox image "registry.k8s.io/pause:3.8" of the container runtime is inconsistent with that used by kubeadm.It is recommended to use "registry.k8s.io/pause:3.9" as the CRI sandbox image.

I followed Kubernetes.io docs for this setup.
Also I tried to modify my /etc/containerd/config.toml file as shown in docs

[plugins."io.containerd.grpc.v1.cri"]
  sandbox_image = "registry.k8s.io/pause:3.9"

That didn’t also worked. Then I manually pulled 3.9 using

sudo ctr images pull registry.k8s.io/pause:3.9

That didn’t also worked.