This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |