Skip to content

Commit e62d62d

Browse files
authored
Merge pull request #8 from fleetbase/docs/remove-aws-update-cli
docs: Remove AWS deployment and update CLI documentation
2 parents 5fffa79 + 1771ad1 commit e62d62d

15 files changed

Lines changed: 809 additions & 320 deletions

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ jobs:
3535

3636
- name: Setup pnpm
3737
uses: pnpm/action-setup@v4.1.0
38-
with:
39-
version: ^10.2
4038

4139
- name: Get pnpm Store Directory
4240
id: pnpm-cache
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Create Release
2+
on:
3+
push:
4+
tags:
5+
- 'v*'
6+
7+
jobs:
8+
create:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- name: Publish GitHub Release
13+
uses: softprops/action-gh-release@v2
14+
with:
15+
tag_name: ${{ github.ref_name }}
16+
name: ${{ github.ref_name }}
17+
generate_release_notes: true
18+
draft: false
19+
prerelease: false
20+
env:
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

docs/deploying/deploy-cloud.md

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ slug: /deploying/cloud
66

77
# Deploy to Cloud
88

9-
Deploy Fleetbase on any cloud provider using Docker containers. This guide provides step-by-step instructions for deploying Fleetbase on popular cloud platforms including AWS, Google Cloud Platform, Microsoft Azure, DigitalOcean, and others.
9+
Deploy Fleetbase on any cloud provider using Docker containers. This guide provides step-by-step instructions for deploying Fleetbase on popular cloud platforms including DigitalOcean, Google Cloud Platform, Microsoft Azure, Linode, and others.
1010

1111
## Overview
1212

@@ -35,30 +35,26 @@ Before starting the deployment, ensure you have:
3535
- **SSL Certificates**: For HTTPS (Let's Encrypt recommended)
3636

3737
### External Services (Optional)
38-
- **Email Service**: AWS SES, SendGrid, Mailgun, or SMTP server
38+
- **Email Service**: SendGrid, Mailgun, Postmark, or SMTP server
3939
- **SMS Service**: Twilio account for SMS notifications
4040
- **Maps Service**: Google Maps API key
4141
- **Monitoring**: CloudWatch, Datadog, or similar
4242

4343
## Step 1: Provision Cloud Infrastructure
4444

45-
### AWS (Amazon Web Services)
45+
### DigitalOcean
4646

47-
1. **Launch EC2 Instance**:
48-
```bash
49-
# Create EC2 instance with Ubuntu 20.04 LTS
50-
# Instance type: t3.medium or larger
51-
# Security group: Allow ports 22, 80, 443, 4200, 8000
52-
```
47+
1. **Create Droplet**:
48+
- Choose Ubuntu 20.04 LTS or later
49+
- Select $20/month plan (2 vCPUs, 4GB RAM) or higher
50+
- Add SSH key for secure access
51+
- Enable monitoring and backups
5352

54-
2. **Configure Security Groups**:
55-
- SSH (22): Your IP address
56-
- HTTP (80): 0.0.0.0/0
57-
- HTTPS (443): 0.0.0.0/0
58-
- Custom (4200): 0.0.0.0/0 (Console)
59-
- Custom (8000): 0.0.0.0/0 (API)
53+
2. **Configure Firewall**:
54+
- Create firewall rules for ports 22, 80, 443, 4200, 8000
55+
- Restrict SSH access to your IP address
6056

61-
3. **Attach Elastic IP** (recommended for production)
57+
3. **Assign Reserved IP** (recommended for production)
6258

6359
### Google Cloud Platform (GCP)
6460

docs/deploying/deploy-on-premise.md

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,32 @@ slug: /deploying/on-premise
66

77
# Deploy on Premise
88

9-
Deploy Fleetbase on your own infrastructure with complete control over your data and environment. This guide covers both Docker-based and native installations for on-premise deployments.
9+
Deploy Fleetbase on your own infrastructure with complete control over your data and environment. This guide covers both CLI-based installation and manual Docker setup for on-premise deployments.
1010

11-
## Overview
11+
## Recommended: CLI Installation
1212

13-
On-premise deployment gives you full control over your Fleetbase installation, ensuring data sovereignty, compliance with internal policies, and customization capabilities. This guide covers:
13+
The easiest way to deploy Fleetbase on-premise is using the Fleetbase CLI:
14+
15+
```bash
16+
npm install -g @fleetbase/cli
17+
flb install-fleetbase --host 0.0.0.0 --environment production
18+
```
19+
20+
This method:
21+
- Automatically configures Docker containers
22+
- Sets up production-ready environment variables
23+
- Initializes all required services
24+
- Takes approximately 5 minutes
25+
26+
For detailed instructions, see the [CLI Installation Guide](/getting-started/install/with-cli).
27+
28+
## Advanced: Manual Docker Setup
29+
30+
For users who need full control over the deployment process, follow the manual Docker setup below.
31+
32+
### Overview
33+
34+
Manual on-premise deployment gives you complete control over your Fleetbase installation, ensuring data sovereignty, compliance with internal policies, and customization capabilities. This guide covers:
1435

1536
- **Docker Deployment**: Containerized setup for easy management
1637
- **Native Installation**: Direct installation on the host system

docs/deploying/deploy-to-aws.md

Lines changed: 0 additions & 188 deletions
This file was deleted.

0 commit comments

Comments
 (0)