cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

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)
2 REPLIES 2

Renu_
New Contributor III

@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

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now