
"s3:List*"
],
"Resource": "*"
}
]
}
Note the name of the role that you create so that you can specify it when you create your EC2 instance
in the next step.
Launch an EC2 instance with the corresponding instance
profile
To create an EC2 instance, follow the procedure Running an Instance in the Amazon Elastic Compute
Cloud User Guide.We recommend that you specify a recent Amazon Linux AMI for your EC2 instance.
When you create the EC2 instance, specify the IAM role that you created previously in the IAM console.
When you create your EC2 instance, you must specify a key pair and a security group for access.You
can create and configure these while setting up your EC2 instance.
When setting up your security group, make sure that it has SSH access enabled:
Be sure to download the .pem file for the keypair you created:
Version v1.0.0
13
AWS SDK for Ruby Developer Guide
Updating the Sample Program to Use IAM Roles
Comentários a estes Manuais