Prerequisites

Create an ECS Cluster

  1. Go to AWS Management Console and navigate to the ECS (Elastic Container Service).
  2. Click Clusters on the left menu and then click Create cluster.
  3. Fill in the cluster name, choose AWS Fargate (serverless) under Infrastructure.
  4. Click Create.

Create an ECS Task Definition

  1. Click Task Definitions on the left menu and then click Create new task definition.
  2. Choose AWS Fargate as the launch type under Infrastructure requirements.
  3. Add a Container, fill in Image URL with bytebase/bytebase:latest and Container port 8080.
  4. Click Create.

Run the Task

  1. Go to the created cluster and click Create under Services.
  2. Under Environment > Compute configuration, choose FARGATE as the launch type.
  3. 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.
  4. Click Create.

Access Bytebase

  1. Go to the service you just created and click Logs tab to see the logs. If you see something like Version has started on port 8080 🚀, it means Bytebase is running.
  2. Click Tasks tab to see the task list. Click the task name to see the task details.
  3. Under Container details for bytebase, click Network bindings tab to find the External link.
  4. Click Open address to access Bytebase.
aws-task-network-bindings