How to Build a Personal Browser Bookmark Manager with Amazon Lightsail

amazon lightsailoneNav bookmark managerbaota panel installationaws free tierself-hosted bookmarks
Published·Modified·

Amazon Lightsail is a simplified virtual private server (VPS) service provided by Amazon Web Services. It offers pre-configured virtual server instances and a range of convenient features, allowing users to quickly create, manage, and scale server instances for various applications and workloads. New users can also enjoy a 3-month free trial to experience its powerful capabilities.

0742ce091ade03a6.png

The article covers the following steps:

  • Register for an Amazon Web Services account
  • Activate VPS service
  • Install Baota Panel
  • Deploy the OneNav browser bookmark manager

Register for an Amazon Web Services Account

Before using Amazon Lightsail, you need to register for an Amazon Web Services account. You will need:

  • A frequently used email address
  • A phone number
  • A UnionPay, VISA, or MasterCard credit card

Click the link: Amazon Web Services to register. During registration, be sure to select the "Amazon Web Services Overseas Region," as enterprise certification is not required for overseas regions.

9488c3363d1ca794.png

Enter your email and account name.

c9edc2cd83a2ea78.png

Enter the verification code sent to your email by Amazon Web Services.

cf59c3ea4eb77411.png

Continue to set your account password.

3e47634f1c8cdace.png

Next, fill in your contact information. Please note:

  1. Select "Individual" or "Business" based on your actual situation (the author selected "Individual").
  2. Ensure your full name, phone number, and address are accurate; do not fabricate information, as this may trigger risk control measures.

9b5cc1f6d8c1349a.png

You will also need to verify your credit card. Supported cards include UnionPay, VISA, MasterCard, and AE. Fill in your credit card, name, and address details as appropriate. A temporary hold of up to $1 will be made for verification and refunded upon successful completion.

12f2c67d56d1c15b.png

Continue with phone number verification.

5e91003286ee8c5f.png

Finally, select a "Support Plan." The author chose "Basic Support - Free."

15b76f71725b11d3.png

After registration, wait for account verification to complete before enjoying the free tier offered by Amazon Web Services.

Create an Amazon Lightsail Instance

Next, go to the Amazon Lightsail Console and click Create Instance.

c5cf4f3c74045489.png

Region: Choose based on your preference; the author selected Tokyo, Japan.

19c9b52f7acd857c.png

Platform: Select "Linux/Unix". Switch the blueprint to OS Only and choose a system you are familiar with. If unsure, select Debian 11.x as the author did.

723e2a00ae5f9cf6.png

Download the default key to your local machine for backup. Set the network type to Dual Stack. Choose a size based on your needs; for the first 3 months, you can use the free tier, so the author selected the $12/month plan (anything above this is not free).

ed6ecfbe403c668f.png

Finally, click Create Instance and wait a few seconds for it to be ready.

8f85be223444c7eb.png

Install Baota Panel on Amazon Lightsail

Baota Panel is an easy-to-use server management tool that supports one-click configuration for websites, FTP, databases, and more, providing a visual interface for quick server environment setup. Since Amazon Lightsail system images do not include Baota Panel, we must install it first. Here, we will install the latest version, Baota 9.2.

a95f4146bca0f85f.png

After creating the Amazon Lightsail instance, click the Terminal icon.

18f191c4c56870fb.png

Once in the terminal, the first step is to reset the root password (as Baota requires the root user). Use the command sudo passwd root to reset it.

2547c113bcd79316.png

After setting the root password, enter the command su - to switch to the root user.

1eba8bf9ba5d48ed.png

Next, run the command apt-get update && apt-get install -y curl to update system software.

bcc0e3a9a5ec4af8.png

Copy and paste the following Baota installation command into the terminal:

if [ -f /usr/bin/curl ];then curl -sSO https://download.bt.cn/install/install_panel.sh;else wget -O install_panel.sh https://download.bt.cn/install/install_panel.sh;fi;bash install_panel.sh ed8484bec

A prompt will appear; enter y and press Enter to confirm and start the installation.

2e3cb374910f26c5.png

Wait a few minutes. Upon completion, login information will be displayed. Save this information for later use.

96620c10514402d0.png

Go to the Amazon Lightsail management page, navigate to Networking >> IPv4 Firewall >> Add Rule, and add the Baota port 33269 to allow traffic.

4ad07dc643df2c0e.png

Note: The Baota port is random after installation; check the port number in the installation prompt link.

Additionally, you must allow ports 80 and 443; otherwise, your website will not be accessible.

Replace the Baota access address with your IPv4 address and log in.

63a72f52c4838eb5.png

At this point, we have successfully installed and logged into Baota Panel via Amazon Lightsail. Next, we will install the OneNav browser bookmark manager.

Install OneNav

Open the Docker - App Store, search for OneNav, and click Install.

5d202f3f353b5e29.png

Fill in the installation details:

  • Name: Keep default or modify as needed.
  • Version: Select latest.
  • Domain: Enter your own domain name.
  • Allow External Access: Uncheck this if you have entered a domain name.
  • Port, CPU Core Limit, Memory Limit: Keep defaults.

a92c61a3d7015e15.png

Resolve your domain to your server IP, then visit the domain to complete initialization.

Log in to the OneNav backend, go to Link Management - Bookmark Import, and import bookmarks from your local browser for centralized management and access.

bfcc619bab423c83.png

We have now successfully built our own browser bookmark manager, OneNav, using Amazon Lightsail. OneNav supports rich template themes and can be used with browser plugins, offering powerful functionality. Interested users are encouraged to explore further!

Conclusion

If you are interested in other free services from Amazon Web Services, visit the Amazon Web Services Free Tier page for more details. Through these free services, you can further explore and leverage various cloud solutions from Amazon Web Services to enhance your work efficiency and business capabilities.