Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
upgrade instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
tradel committed Aug 25, 2020
1 parent aa46990 commit 5e4990f
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Upgrading your AccessTier

This document explains how to upgrade your AccessTier to a newer version with zero downtime.

1. (Optional) If you have pinned your deployment to a particular version of Netagent, update the value of `package_name` to match the version you want to deploy.

```hcl
module "aws_accesstier" {
package_name = "banyan-netagent-1.26.1"
}
```
2. Run `terraform plan` to confirm that only the auto-scaling group and launch configuration will be updated:
```text
Terraform will perform the following actions:
# aws_autoscaling_group.asg will be updated in-place
# aws_launch_configuration.conf must be replaced
```
3. Run `terraform apply` to update the ASG and launch configuration.
4. Open the AWS management console in your browser. Navigate to **EC2 > Auto-Scaling Groups** and select your ASG. Click on **Instance refresh**.
5. Click the **Start instance refresh** button. Change the minimum healthy percentage to 50% and the instance warmup time to 180 seconds. Click **Start**.
6. After a few minutes, the status of the instance refresh should change to "Successful".
7. Log into the Banyan Command Center to verify that the new AccessTier instances are reporting. Navigate to **Directory & Infrastructure > AccessTiers** to see them.

0 comments on commit 5e4990f

Please sign in to comment.