Guide on Integrating Your Cloud Provider

GCP

To integrate your GCP account with Tune Studio, follow these steps:

1

Make sure compute engine API is enabled

Before proceeding, visit the Compute Engine page on the GCP Console. If prompted, enable the Compute Engine API. If you’re not prompted, the API is already enabled.

2

Create a Service Account

Create a service account on GCP by following the guide on creating a service account, click on “Create and Continue”. You can also assign the basic editor role to this service account during creation.

3

Give Basic Editor Permissions

If you’ve already assigned basic editor permissions to the service account, skip this step. Otherwise, assign the basic editor permissions to this principal. Alternatively, you can create a role with granular permissions by following the Granular Permissions with Roles guide and assign the role to the service account.

4

Create a Key

Create a key for the service account by going to the service account page, selecting the principal, and clicking on the “Create key” button.

5

Connect to GCP

Go to the Integrations Tab on Studio, connect to GCP, and paste the contents of the key JSON file.

Granular Permissions with roles

This section is recommended if you want to create a granular role for the service account but not necessary for basic integration.

Copy the contents of the yaml file below and create a yaml file you can use to create a new role.

After creating the yaml file create a new role using the following command and assign it to the service account.

gcloud iam roles create ROLE_ID --project=PROJECT_ID --file=YAML_FILE_PATH

Feel free to follow along the GCP guide to create a custom role if you don’t have gcloud available.

AWS

To integrate your AWS account with Tune Studio, follow these steps:

1

Create a Policy

Navigate to the IAM service in the AWS console, click on “Policies,” and then “Create policy.” In the policy editor, select JSON and use the policy provided below.

Click “Next” and give the policy a name (e.g., “tune-studio-policy”). Then, click “Create policy.”

2

Create a User

In the same IAM dashboard, click on “Users” and then “Create user.” Give the user a name and click “Next.”

Select “Attach policies directly” and attach the policy you created earlier. Click “Next” and then “Create user.”

3

Create Access Key

After creating the user, click on the user in the Users section and go to the “Security credentials” tab. Click on “Create access key” by scrolling down.

Select the “Other” option and click “Next.”

Add a description (optional) and click “Create access key.” You will see the Access Key and Secret Access Key; copy them to a safe location.

4

Connect to AWS

Go to the Integrations Tab on Studio, connect to AWS, and paste the Access Key and Secret Access Key. You will also have the option to select a region where you want to create an instance (this step creates VPCs in those regions, so you don’t have to wait when creating a resource).