Skip to main content
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 ORIV quickly and easily. This guide walks you through the simple steps to configure and launch Supabase on AWS with ORIV, giving you a smooth way to manage databases, authentication and APIs without the usual complexity.

How to Setup AWS Server with ORIV?

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

Step 1: Create Your AWS Server in ORIV

After logging in to your ORIV account, start by adding a new server by clicking on the “Add New Server” button from your dashboard.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.
The next screen will provide the list of our available server providers. For tutorial purposes, we will create a AWS server and for that select the AWS option.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.

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.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.

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.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.

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.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.

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.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.

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.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.

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.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.

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.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.
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.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.
Here is the JSON code: 📋 JSON
Once the policy is created for Lightsail instance, give the policy a name and hit on the ‘Create Policy’ button.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.

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.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.
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 ORIV Dashboard to integrate the server with ORIV.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.

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 from, you can use any one with the proper credentials or both from the ORIV 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 ORIV.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.
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.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.
Fill in all the information like ‘Server Name’, ‘Server Region’, ‘Server Zone’,’Server Size’, etc according to your preference.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.
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.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.
It will start creating a AWS server with ORIV within a while and if you go to the ‘Servers’ from the menu you can see your created server and create as many site as you want under this server
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.

How to Install Supabase on AWS with ORIV

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 ORIV account. Once logged in, navigate to your dashboard and click on the ‘Add New Site’ button.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.
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 ORIV from this dropdown.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.
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.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.
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.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.
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.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.

Step 3: Configure Domain Settings

If you select the ‘Demo Site’ option, ORIV will assign a demo domain for your Supabase application. Next, enter your application’s domain.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.
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.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.
Next, get the ‘Database Name’, ‘Database Username’ and ‘Database Password’ for this application and click on the ‘Next’ button.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.

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.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.

Environment Editor for Supabase

The Environment section in ORIV 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.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.
That’s it! This is how easily you can install Supabase on AWS using ORIV’s One Click Apps. ORIV 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.