How to Set Up Supabase on AWS with xCloud?

Updated September 27, 2026 · 8 min read

Summarize with:
Share:

Supabase is an open-source backend-as-a-service (BaaS) platform designed to help developers build scalable applications faster. It provides essential backend features such as a PostgreSQL database, authentication, real-time subscriptions, storage, and APIs – all wrapped into a developer-friendly ecosystem.

Set Up Supabase on AWS with xCloud quickly and easily. This guide walks you through the simple steps to configure and launch Supabase on AWS with xCloud, giving you a smooth way to manage databases, authentication and APIs without the usual complexity.

How to Setup AWS Server with xCloud?

This guide shows how to set up the AWS server in xCloud. Follow the steps to quickly launch, configure and start your cloud journey.

Step 1: Create Your AWS Server in xCloud

After logging in to your xCloud account, start by adding a new server by clicking on the “New Server” button from your dashboard.

Empty xCloud dashboard with the Add New server button

The next screen will provide the list of our available server providers. For tutorial purposes, we will create an AWS server and for that select the AWS option. 

Bring and Manage Your Own Server page with AWS selected

Step 3: Sign In to the AWS Management Console

Now, before going to the next step, you need to log in to the AWS management console.  Sign in as a ‘Root User’ to the AWS Management Console using your AWS account credentials. Once logged in, navigate to the main dashboard where you can access various AWS services.

AWS sign in page with Root user and email field highlighted

Step 4: Navigate to the IAM Console

From the AWS Management Console, click on the Services menu located at the top left corner or search with “IAM” and select IAM from the list of services. This will direct you to the IAM dashboard, where you can manage users, groups, roles, and policies.

Navigate to the IAM Console

Step 5: Add a New User

On the IAM dashboard, locate and click on the Users option in the left navigation panel. This will display a list of existing IAM users. To create a new user, click on the ‘Create User’ button.

AWS IAM Dashboard with the Users link under Access management

Step 6: Configure User Details

In this step, enter a unique ‘Username’ for the new IAM user. Next, choose the type of access the user requires. Check-in ‘AWS Management Console’ access option if the user requires access to the AWS Management Console and click on the ‘Next’ button.

AWS IAM Specify user details step with the User name field

Step 7: Set Permissions for Amazon EC2 Instance

You have three options to set permissions for the new user. The first one is ‘Add user to group’ which lets you add the user to an IAM group with predefined permissions, which is efficient for managing multiple users with similar access needs. The second one is ‘Copy permissions’ which enables you to duplicate the permissions of another IAM user. And the final policy ‘Attach policies directly’ allows you to assign AWS-managed policies or custom policies.

Here we are choosing the ‘Attach policies directly’ and assigning the access for Amazon EC2 Instance to the user and hit on the Next.

Note: If you do not find the EC2 Access here, search for the policy in the search bar.

AWS IAM Set permissions step with permission options

Step 8: Add Tags, Review and Create

You can add ‘Tags’ to help organize and manage users. Now carefully review all the details and permissions assigned to the new IAM user. If everything is accurate and complete, click the ‘Create user’ button to finalize the creation of the IAM user.

AWS IAM Review and create step with the Create user button

Step  9: Give Another permission for Amazon Lightsail

Now, set another permission for the new user for Amazon LightSail easily. To specify the permissions for the created user, go to the Permission Policies and click on the ‘Add Permissions Menu’. Choose the ‘Create Inline Policy’ option from the dropdown menu.

AWS IAM user Permissions tab with the Add permissions button

Click on the ‘JSON’ button from the Policy Editor and paste the below given JSON code in the editor. Finally, tap on the ‘Next’ button.

AWS IAM Specify permissions page with the JSON policy editor tab

Here is the JSON code:

📋

JSON

Copy

{

     "Version": "2012-10-17",

     "Statement": [

         {

             "Sid": "VisualEditor0",

             "Effect": "Allow",

             "Action": [

                 "lightsail:GetInstances",

                 "lightsail:GetKeyPair",

                 "lightsail:DeleteKeyPair",

                 "lightsail:GetStaticIp",

                 "lightsail:ReleaseStaticIp",

                 "lightsail:SetIpAddressType",

                 "lightsail:CreateInstances",

                 "lightsail:GetInstance",

                 "lightsail:GetInstanceAccessDetails",

                 "lightsail:DeleteInstance",

                 "lightsail:CreateKeyPair",

                 "lightsail:ImportKeyPair",

                 "lightsail:StartInstance",

                 "lightsail:DownloadDefaultKeyPair",

                 "lightsail:GetInstancePortStates",

                 "lightsail:StopInstance",

                 "lightsail:AttachStaticIp",

                 "lightsail:GetRegions",

                 "lightsail:RebootInstance",

                 "lightsail:GetOperation",

                 "lightsail:DetachStaticIp",

                 "lightsail:GetInstanceState",

                 "lightsail:GetBundles",

                 "lightsail:TagResource",

                 "lightsail:PutInstancePublicPorts"

             ],

             "Resource": "*"
         }
     ]
 }

Once the policy is created for Lightsail instance, give the policy a name and hit on the ‘Create Policy’ button.

AWS IAM Create policy review step with the Policy name field

Step 10: Create & Retrieve a User Access Key

Now we have to create a user access key. Find ‘Create access key’ under the Summary tab and click on it. Then you will be redirected to the Access Key best practices & Alternatives page, from here select the ‘Other’ option and click on Next.

AWS IAM user Security credentials tab with the Create access key link

Now give a Description Tag to proceed to create an access key. Once the access key is created copy the Access Key and Secret from here and go back to your xCloud Dashboard to integrate the server with xCloud.

AWS Set description tag step with the Create access key button

Step 11: Connect the Account & Add Necessary Information

From the AWS dashboard, select an existing or connect new account from the dropdown menu. Then choose the AWS services; you can use any one with the proper credentials or both from the xCloud dashboard.

For example, T3 instances use EBS storage. These instances are not available through the API. However, you can set up such instances manually in your AWS account first and then add them through the Any Provider method in xCloud.

Set Up Your Server With AWS form with the Choose Account dropdown

As you have the Access Key and Secret Key, paste them into the designated blank boxes one by one carefully. Now click on the ‘Verify’ button, it will start verifying the credential and connect you with the AWS server. 

AWS connection form with access key, secret key and Verify button

Fill in all the information like ‘Server Name’, ‘Server Region’, ‘Server Zone’,’Server Size’, etc according to your preference. 

Connected AWS account with EC2 selected and server name, region and size

Next, choose the web server stack from NGINX or OLS as your requirements and click on ‘NEXT’ button to proceed with the server creation process.

AWS server setup step with NGINX and OpenLiteSpeed web server options

It will start creating an AWS server with xCloud within a while and if you go to the ‘Servers’ from the menu you can see your created server and create as many sites as you want under this server

All Servers page showing the new AWS EC2 NGINX server card

How to Install Supabase on AWS with xCloud 

Learn how to install Supabase on a cloud server. It walks you through creating a server, configuring the environment and launching your Supabase application easily.

Step 1: Access the One Click Apps Dashboard 

Begin by logging into your xCloud account. Once logged in, navigate to your dashboard and click on the ‘Add New Site’ button.

All Sites page with the Add New Site button

You will then be asked to ‘Choose a Server to add Site’ from the dropdown. You must select the AWS server you set up in xCloud from this dropdown.

Choose a Server to add Site step with the Choose Server dropdown

Then navigate to the ‘One Click Apps’ section. You will see ‘Supabase’ just as shown below, click on it to proceed with the deployment of this application.

How to Set Up Supabase on AWS with xCloud?

Note: You must complete Phase 2 to meet Docker’s requirements for using Supabase. Without completing Phase 2, Supabase will not be unlocked.

Step 2: Set Up the Supabase Application

In the site setup screen, you will be prompted to enter basic site information. Provide a ‘Site Title’ and add relevant ‘Tags’ to help organize your deployment.

Install Supabase form with Site Title and Add Tag fields

At this point, you can choose between two deployment modes: ‘Go Live’ for a production-ready deployment or ‘Demo Site’ for testing purposes. Selecting ‘Go Live’ will immediately create a live environment, while choosing ‘Demo Site’ allows you to experiment in a staging environment before promoting it to production.

Supabase Domain Setup with Go Live and Demo Site options

Step 3: Configure Domain Settings

If you select the ‘Demo Site’ option, xCloud will assign a demo domain for your Supabase application. Next, enter your application’s domain.

Demo Site Setup section with the Domain Name field

You will get a ‘Site User’ of your application. You can also adjust it according to your preferences or leave it as the default. In the next section, you will get ‘Admin Username’, ‘Admin Password’, and ‘Admin Email Address’. 

Note: From here, copy your Admin Username and Admin Password to log in to your Supabase application later. 

Supabase install form with Site User and Admin User fields

Next, get the ‘Database Name’, ‘Database Username’ and ‘Database Password’ for this application and click on the ‘Next’ button.

Supabase install form Database fields and the Next button

Final Outcome: Visit the Application 

After completing the setup, you will be able to visit your Supabase site. From the dashboard, click on the ‘Visit Site’ app.

Supabase site overview page with the Visit Site link

Environment Editor for Supabase

The Environment section in xCloud allows you to customize configuration settings for your Supabase app. Just go to the ‘Environment’ option from the sidebar and adjust as you need, then click on the ‘Update Environment’ button.

Supabase Environment page with the Update Environment button

That’s it! This is how easily you can install Supabase on AWS using xCloud’s One Click Apps. xCloud takes care of the heavy lifting, server provisioning, Docker configuration and deployment, so you can focus on building and scaling your application with Supabase’s powerful backend features. 

If you’re setting up a demo project or going live in production, this streamlined process lets you get started quickly and confidently.

Still stuck? Contact our support team for any of your queries.