Skip to content

Commit 27090a3

Browse files
committed
docs: move aws fargate outside
1 parent e44fb3b commit 27090a3

File tree

2 files changed

+32
-43
lines changed

2 files changed

+32
-43
lines changed

content/docs/get-started/install/deploy-to-fargate.md

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

content/docs/get-started/self-host.md

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,38 @@ volumes:
386386

387387
Please follow the [Persistent volumes and dynamic provisioning](https://cloud.google.com/kubernetes-engine/docs/concepts/persistent-volumes).
388388

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**.
417+
1. Click **Open address** to access Bytebase.
418+
419+
![aws-task-network-bindings](/content/docs/get-started/install/aws-task-network-bindings.webp)
420+
389421
## Build from Source
390422

391423
<HintBlock type="info">
@@ -462,5 +494,3 @@ ulimit -n 10240
462494
- [Deploy to Zeabur](/docs/get-started/install/deploy-to-zeabur/)
463495

464496
- [Deploy to Alibaba Cloud](/docs/get-started/install/deploy-to-alibabacloud/)
465-
466-
- [Deploy to AWS Fargate](/docs/get-started/install/deploy-to-fargate/)

0 commit comments

Comments
 (0)