47

According to free tier I have 750h of load balancer. I would like to try create more than one load balancer. Now I want to stop it in order to avoid waste the free plan.

But I don't find any "stop" button. enter image description here

Ricardo
  • 7,921
  • 14
  • 64
  • 111

1 Answers1

50

There is no way to stop a load balancer. To avoid being billed for the time, you need to remove it.

datasage
  • 19,153
  • 2
  • 48
  • 54
  • 73
    This is dumb. AWS is supposed to be only be charged what you need. A load balancer and RDS instance should be able to stop it. Sure it isn't hard to kill and create a load balancer, but I shouldn't have to. Plus, if you have a domain name pointed at it, the new ELB will have a new dns name. – Booyah Jan 23 '17 at 16:11
  • @Booyah You can now stop an RDS temporarily for about 7 days! :) – Yoga Jun 10 '17 at 04:31
  • 8
    AWS is making false promises by showing "State: active" for ALBs. The only other states are "provisioning" and "failed" :-( https://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancers.html#load-balancer-state – mh8020 Mar 13 '19 at 12:59
  • @Booyah It's extremely dumb however it's possible to create an ELB Alias in "Route 53" for the load balancer, using a Hosted Zone; this way your application's DNS would CNAME that alias. Since you will ensure the load-balancer alias name be constant across load balancer launches the CNAME will point at a newly created load balancer whenever the load balancer has been re-created and is "Active". How? For public-facing load balancers you'll designate Route 53 hosted zone a primary zone for a Subdomain (of your app's primary domain), or for a Domain (we buy a new domain with a root domain of .co) – timmi4sa Feb 03 '22 at 19:18
  • @Booyah This is a snippet of CloudFormation for automation of LB creation: `"Resources" : { "WebLoadBalancer" : { "Type" : "AWS::ElasticLoadBalancingV2::LoadBalancer", "Properties" : { .. } }, "ELBAlias" : { "Type" : "AWS::Route53::RecordSet", "Properties" : { "AliasTarget" : { "DNSName" : { "Fn::GetAtt" : [ "WebLoadBalancer", "DNSName" ]}, "HostedZoneId" : { "Fn::GetAtt" : [ "WebLoadBalancer", "CanonicalHostedZoneID" ]} }, "HostedZoneName" : "yourdomain.co.", "Name": "elbWow.yourdomain.co", "Type": "A" } }, ` – timmi4sa Feb 03 '22 at 19:27