You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/docs/get-started/self-host.md
+32-2Lines changed: 32 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -386,6 +386,38 @@ volumes:
386
386
387
387
Please follow the [Persistent volumes and dynamic provisioning](https://cloud.google.com/kubernetes-engine/docs/concepts/persistent-volumes).
388
388
389
+
## AWS Fargate
390
+
391
+
**Create an ECS Cluster**
392
+
393
+
1. Go to AWS Management Console and navigate to the ECS (Elastic Container Service).
394
+
1. Click **Clusters** on the left menu and then click **Create cluster**.
395
+
1. Fill in the cluster name, choose `AWS Fargate (serverless)` under **Infrastructure**.
396
+
1. Click **Create**.
397
+
398
+
**Create an ECS Task Definition**
399
+
400
+
1. Click **Task Definitions** on the left menu and then click **Create new task definition**.
401
+
1. Choose **AWS Fargate** as the launch type under **Infrastructure requirements**.
402
+
1. Add a **Container**, fill in **Image URL** with `bytebase/bytebase:latest` and **Container port** `8080`.
403
+
1. Click **Create**.
404
+
405
+
**Run the Task**
406
+
407
+
1. Go to the created cluster and click **Create** under **Services**.
408
+
1. Under **Environment > Compute configuration**, choose **FARGATE** as the launch type.
409
+
1. Under **Deployment configuration**, Choose `Service` as the **Application type**, choose the task definition you created in the previous step, give it a name such as `bytebase-service`.
410
+
1. Click **Create**.
411
+
412
+
**Access Bytebase**
413
+
414
+
1. Go to the service you just created and click **Logs** tab to see the logs. If you see something like `Version %%bb_version%%(f5891735834ea82fd67bf8181597f86a7f5dab58) has started on port 8080 🚀`, it means Bytebase is running.
415
+
1. Click **Tasks** tab to see the task list. Click the task name to see the task details.
416
+
1. Under **Cointainer details for bytebase**, click **Network bindings** tab to find the **External link**.
0 commit comments