AWS Example Stack - Deployment Guide

Deploy to AWS Visualize on AWS

Introduction

This guide provides instructions on how to deploy the pre-built example stack for AWS. This example stack is configured to use the following:

The stack also includes an early version (free while in Alpha) of the Basebot manager - a graphical interface for managing simple Q&A style responses without the need for code.

The deployment is provided as an easy to deploy CloudFormation template that will have you up and running in a matter of minutes.

Note: While this configuration has been extensively tested this stack is provides "as-is". Issues should be raised via the main Basebot Issue page.

Pre-requisites

Before deploying the template there are a number of pre-requisites that need to be met along with some additional information you will required to provide.

  • An AWS Account with AWS Administrator privileges.
  • An SSL certificate that has either been created in or imported to AWS Certificate manager in the region the template is to be deployed.
  • A CIDR range for the VPC which will then be split into 4 subnets, ANS recommend this should be a /24, but can support CIDR address space that support a greater number of IP Addresses than a /24.

Architecture

The above template will deploy a standardised AWS infrastructure to host the BaseBot core and manager Docker containers and has been designed to provide both resiliency and security, whilst utilising services that keep operational tasks to a minimum.

AWS Architecture Diagram

The design utilises AWS Fargate to provide a managed compute service that hosts the BaseBot Server Docker containers, persistent and stateful information is stored in DynamoDB tables, AWS ELBv2 (Application Load balancer) is used to make the bot server available to Bot clients on the internet. Amazon LEX is integrated into the Bot server to provide AI based Natural Language Processing.