Serverless Installation

© 2021 The Billing Project, LLC :doctype: book :imagesdir: https://github.com/killbill/killbill-docs/raw/v3/userguide/assets/aws

Overview

AWS Fargate is a serverless compute engine for containers. Using it in conjunction with Amazon Elastic Container Service (ECS), you can run Kill Bill in containers without the need to deploy and manage any server.

While we recommend using our Cloudformation template to deploy a production ready environment, running Kill Bill on ECS with Fargate is a great way to quickly deploy test environments.

Docker Images on AWS Marketplace

The Docker images required for running Kill Bill on ECS are available on AWS Marketplace. To access these images, follow these steps:

  1. Subscribe to the product on AWS Marketplace by visiting the following link: https://aws.amazon.com/marketplace/pp/prodview-55w3bwkeabhba

  2. Once subscribed, you can download the necessary Docker images directly from the AWS Marketplace.

Instructions

Create the Cluster

  1. Subscribe to the product in the AWS Marketplace.

  2. Create an AWS ECS Cluster:

    ecs cluster
  3. Select the Networking only template:

    ecs cluster fargate
  4. Enter a cluster name:

    ecs cluster name

    If these above steps are successful, AWS displays a success screen:

    ecs cluster success

Create a Fargate Task Definition

  1. Create a Fargate Task Definition: