Step 1: Getting Started
CapRover can be installed on various cloud providers, including AWS (Amazon Web Services), Google Cloud, Azure, and DigitalOcean. The recommended approach is to select a server that allows SSH access, making it easy to manage your installation.
Video Guide
Creating a Server
Begin by creating a server instance on your chosen cloud provider. Ensure that the server has the following specifications for optimal performance:
- At least 2GB of RAM
- 1 CPU
This configuration will provide sufficient resources for running applications effectively. Most cloud providers allow you to upgrade your server resources later if needed.
Through out this setup, we’ve used DigitalOcean as our cloud provider, however you can use any cloud provider as stated earlier. You can do same using this link: Get Started on DigitalOcean
Selecting a Server Location
When selecting a location for your server, choose a region that minimizes latency by being geographically closer to you. This will enhance performance and responsiveness.
Setting Up SSH Key
For secure and convenient access to your server, it’s highly recommended to use an SSH key. This simplifies authentication and enhances security.
If your cloud provider gives you Remote Access through browser then you can avoid below given steps.
Here’s how to set it up:
-
Generate an SSH Key (if you don’t have one):
- Open your terminal.
- Run the command:
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
- Accept the default file location by pressing Enter.
- Optionally, set a passphrase for extra security.
-
Copy Your SSH Key:
- Use one of the following methods to copy your public key:
- Command Line:
Copy the output manually.
cat ~/.ssh/id_rsa.pub
- File Location: Navigate to your file location & open
~/.ssh/id_rsa.pub
using a text editor and copy the contents.
- Command Line:
- Use one of the following methods to copy your public key:
-
Add SSH Key to Your Provider:
- Log in to your cloud provider’s dashboard.
- Locate the section for SSH keys (often found under Security or Settings).
- Paste your copied SSH key into the designated field and give it a recognizable name.
Once your SSH key is set up, you’re ready to proceed with installing CapRover and configuring your server. Remember to note your server’s IP address for future use.