Chapter 13. Take site offline
13.1. When to use this procedure Copy linkLink copied to clipboard!
During the deployment lifecycle it might be required that one of the sites is temporarily taken offline for maintenance or to allow for software upgrades. To ensure that no user requests are routed to the site requiring maintenance, it is necessary for the site to be removed from your load balancer configuration.
13.2. Procedure Copy linkLink copied to clipboard!
Follow these steps to remove a site from the load balancer so that no traffic can be routed to it.
13.2.1. Global Accelerator Copy linkLink copied to clipboard!
Determine the ARN of the Network Load Balancer (NLB) associated with the site to be kept online
Command:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Output:
arn:aws:elasticloadbalancing:eu-west-1:606671647913:loadbalancer/net/a49e56e51e16843b9a3bc686327c907b/9b786f80ed4eba3d
arn:aws:elasticloadbalancing:eu-west-1:606671647913:loadbalancer/net/a49e56e51e16843b9a3bc686327c907b/9b786f80ed4eba3d
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Update the Accelerator EndpointGroup to only include a single site
List the current endpoints in the Global Accelerator’s EndpointGroup
Command:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Output:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Update the EndpointGroup to only include the NLB retrieved in step 1.
Command:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow