Skip to main content
Lovable is a modern AI-powered application-building platform designed to help anyone create user-friendly, scalable, and production-ready applications and websites through chatting. Set up Lovable on AWS with ORIV quickly and easily. This guide walks you through the basic steps to configure and launch Lovable on a AWS server, helping you streamline deployment and manage your application with minimal effort You can easily set up an AWS server in ORIV for both EC2 and Lightsail instances. Now let us follow these steps to get you started.

Step 2: 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. Select the AWS option from the list. The billing of the server will be handled on your AWS account.
[!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 IAMfrom 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 Instanceto 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 LightSaileasily. 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 thePolicy 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 JSONcode: 📋 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 theAccess 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 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. Note: EBS-supported instances of AWS are not supported. 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 ‘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 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 NGINXor OLSas 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.
This is how easily you can create an AWS server from ORIV seamlessly without going through any difficulties.

How to Deploy Lovable Applications with ORIV?

ORIV allows you to deploy Lovable applications easily from your Git repositories. You can install and set up Lovable and get your application live in just a few clicks. Follow the steps below to set up Lovable with ORIV and deploy AI powered projects easily on AWS Server:

Step 1: Create a New Site

Begin by logging into your ORIV account. Once logged in, navigate to your dashboard and click on the ‘New Site’ button.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.

Step 2: Choose Your Server

Then choose your server from the dropdown menu. Next, click on the ‘Next’ button to proceed to start creating Lovable applications.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.

Step 3: Go to the Lovable Tab

From here, go to the ‘Lovable’ tab to deploy your Laravel applications. Now, choose ‘Clone A Git Repository’ to import your custom PHP site.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.
Before you proceed, make sure your Lovable projects are properly synced with Git repositories.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.

Step 4: Set Up Domains

From the ‘Domains’ tab, you will get two options: either you can create a ‘Demo Site’ with a test domain and refine it until it is ready for launch, or, you can migrate into a new domain to get your site up and running in a new domain. Or you can create your site with your live domain; you need to select the ‘Migrate into a New Domain’ option.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.

Step 5: Configure Site Settings

Next, under the ‘Settings’ tab, you will get the ‘Node.js Version’ and ‘Site User’ for this application. After that, 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 6: Insert Git Repository Credentials

In the ‘Git Repo’ tab, you will get three repository options: ‘Private Repository (Manual SSH URL)’, ‘Public Repository (Manual HTTPS URL)’ and ‘Connected Git Provider’.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.
We are going to deploy Git projects using the ‘Git Provider’ option here. Choose the ‘Connected Git Provider’ option from the dropdown menu. From the ‘Select Git Provider’ dropdown, choose the connected account you want to use. Once selected, navigate through the list of repositories, pick the one you want to deploy and then select the specific ‘Branch’ of that project.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.
You can also deploy Lovable projects from your Public or Private Git repositories as well. For more details read this documentation: 👉 How to Insert Your Git Repositories with ORIV

Step 7: Enable Push to Deploy

The next step is to enable automated deployment. Toggle on the ‘Enable push to deploy’ option. You need to insert this URL into GitHub. Copy the ‘Deployment URL’ from here. Note: If you want to learn more about the process, follow the steps in this document.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.
Finally, review all the details and click on the ‘Start’ button to create the Lovable application.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.

Step 8: Visit the Application

After completing the setup, you will be able to visit your Lovable 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.
That’s it! This is how easily you can deploy Lovable with ORIV and launch your web apps in just a few clicks. Still stuck? Contact our support team for any of your queries.