Compute Launch Failed

Bathri
New Contributor II

Hi Team,

Facing this error while we are creating a compute in DatBricks

Cannot launch the cluster because the user specified an invalid argument.


Instance ID: failed-4d70d115-f338-43a0-9

Internal error message: The VM launch request to AWS failed, please check your configuration. [details] UnauthorizedOperation: You are not authorized to perform this operation. (Service: AmazonEC2; Status Code: 403; Error Code: UnauthorizedOperation; Request ID: bf4bed17-fac8-45df-b747-5e1aedec4404; Proxy: null)

Renu_
Valued Contributor II

@Bathri, I guess the error occurs because the Databricks compute doesn’t have the required AWS IAM permissions to launch EC2. Make sure it includes ec2:RunInstances and iam:PassRole.

Also check out : https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/troubleshooting-launch.html 

Bathri
New Contributor II

@Renu_  I have the necessary permissions, even the admin permissions as well and moreover with the same policy in another account it works fine but it not working for specific account