CloudFormation deployment (deprecated)
!!! danger "Deprecated" This deployment option is deprecated, and will be removed in the future. We strongly recommend against using this option unless you are sufficiently experienced with CloudFormation to customize this template for your own infrastructure.
Tower can be deployed via AWS CloudFormation, using the included configuration.
This guide assumes that all prerequisites have been met.
Setup ECS cluster
-
Navigate to the ECS console in AWS.
-
Select Create cluster.
-
Select Amazon ECS -> Clusters -> EC2 Linux + Networking.
ECS Cluster Configuration
- Name: nf-tower
Instance Configuration
- Provisioning Model: On-demand
- EC2 instance type: c4.2xlarge
- Number of instances: 1
- EC2 AMI id: Amazon Linux 2
- Root EBS Volume Size (GiB): none
- Key pair: none
Networking Configuration
- Create new VPC
Container instance IAM role
- Create new role (if
ecsInstance
role doesn't exist)
Obtain Instance ServerURL
- Record the Public IP of the instance in the ECS cluster e.g.
3.122.246.202
Deploy Tower
Click to view aws-ecs-cloudformation.json
"docs/_templates/cloudformation/aws-ecs-cloudformation.json"
Click to view params.json.template
"docs/_templates/cloudformation/params.json.template"
-
Download aws-ecs-cloudformation.json and params.json.template.
-
Rename
params.template.json
toparams.json
and configure for your environment.For more information on configuration, visit the Configuration section.
-
Deploy the Tower stack to your ECS cluster:
aws cloudformation create-stack \
--stack-name Tower \
--template-body file://aws-ecs-cloudformation.json \
--parameters file://params.jsonYou can delete the stack at any time, to uninstall Tower or update any parameters:
aws cloudformation delete-stack \
--stack-name Tower