Open sjkkolasa opened 3 months ago
I can't seem to download conda or python on the EC2 instance. Conda because the network can't be reached (I checked the security group and it seems fine), and python because I don't have root privileges.
ec2-user@ip-10-0-0-14 ~]$ mkdir -p ~/miniconda3 [ec2-user@ip-10-0-0-14 ~]$ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh --2024-07-18 23:11:30-- https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh Resolving repo.anaconda.com (repo.anaconda.com)... 104.16.191.158, 104.16.32.241, 2606:4700::6810:20f1, ... Connecting to repo.anaconda.com (repo.anaconda.com)|104.16.191.158|:443... failed: Connection timed out. Connecting to repo.anaconda.com (repo.anaconda.com)|104.16.32.241|:443... failed: Connection timed out. Connecting to repo.anaconda.com (repo.anaconda.com)|2606:4700::6810:20f1|:443... failed: Network is unreachable. Connecting to repo.anaconda.com (repo.anaconda.com)|2606:4700::6810:bf9e|:443... failed: Network is unreachable. [ec2-user@ip-10-0-0-14 ~]$ yum install python3 -y Error: This command has to be run with superuser privileges (under the root user on most systems).
The EC2 Instance was not connected to the internet. I tried giving it a public IP and adding an internet gateway to the VPC, but I still can't connect.
I made a SageMaker domain, but it failed because apparently there aren't enough available IP addresses on our subnet even though I don't think we are using any?