My Cloud Integrations
Integrate your cloud provider with Tune Studio to bring your own cloud (BYOC) and self-host the compute.
Guide on Integrating Your Cloud Provider
GCP
To integrate your GCP account with Tune Studio, follow these steps:
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.
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.
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.
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.
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.
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:
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.”
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.”
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.
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).
Was this page helpful?