cancel
Showing results for 
Search instead for 
Did you mean: 
Community Discussions
cancel
Showing results for 
Search instead for 
Did you mean: 

how to configure EC2 instance connection in databricks

Kaviana
New Contributor III

I would like to know how to configure to be aws instance connection, a VPC and an EC2 instance were configured and allowed IP ping ping server onpremise, how would it be possible to make connection in Databricks so that it can make a connection?

1 REPLY 1

Kaniz
Community Manager
Community Manager

Hi @KavianaTo configure an AWS instance connection in Databricks, you need to follow these steps:

1. Create an access policy and a user with access keys in the AWS Console:
  - Go to the IAM service.
  - Click the Policies tab in the sidebar.
  - Click Create policy.
  - In the policy editor, click the JSON tab.
  - Paste the provided access policy into the editor.
  - Click Review policy.
  - Enter a policy name in the Name field.
  - Click Create policy.
  - Click the Users tab in the sidebar.
  - Click Add User.
  - Enter a user name.
  - For Access type, select Programmatic access.
  - Click Next Permissions.
  - Select Attach existing policies directly.
  - In the Policy type filter, select Customer Managed.
  - Select the checkbox next to the policy you created.
  - Click Next Review.
  - Click Create user.
  - Click Download .csv to download a CSV file containing the access key ID and secret access key.

2. Configure access keys in your Databricks account:
  - Log in to the Databricks account console as the account owner.
  - Click the AWS Account tab.
  - Select the Deploy to AWS using the Access Key radio button.
  - Enter the access key ID and secret access key from the downloaded CSV file.