Stuck installing NVIDIA GRID drivers

0

I am trying to install the GRID drivers to setup the GPU in a g4dn.xlarge EC2 instance. I am following the instructions written here https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-nvidia-driver.html, and when I run: aws s3 cp --recursive s3://ec2-linux-nvidia-drivers/latest/
I get the folwing error: Enter image description here

Do I need to add an access_key or secret_key? If so where can I find the keys to add? Thanks very much for your help!

Andreu
asked a year ago291 views
1 Answer
0

Yes, the following IAM policy is required to execute that command.

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "VisualEditor0",
            "Effect": "Allow",
            "Action": [
                "s3:GetObject",
                "s3:ListBucket"
            ],
            "Resource": "*"
        }
    ]
}

To execute that command, follow the steps in the following document to create an IAM role for EC2.
https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-service.html#roles-creatingrole-service-console

Follow the procedure in the following document to set up an IAM role on EC2.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html#attach-iam-role

profile picture
EXPERT
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions