在 EC2 关闭时 Elastic Load Balancer 产生过多成本。我有哪些选择?
Incurring too much cost for Elastic Load Balancer while EC2 is off. What are my options?
我刚刚发现虽然我的 EC2 实例已停止,但 ELB 仍在运行并产生费用。这是我的几个问题。
- 如果我有 2 个 EC2 运行 一个月,那么这是否意味着 ELB 的免费套餐 750 小时被 2 个 EC2 实例花费了?因此,我最终只会得到两个免费的 ELB 月?
- 有没有办法像EC2实例一样关闭ELB?这样我就可以在不进行开发时节省 750 秒的免费套餐时间?
- 我有一个自定义域。是否可以 link 它到我的 EC2 而不使用 ELB?
谢谢。
If I have 2 EC2 running for a month then does that mean ELB's free
tier 750 hrs is spent by 2 instances of EC2? Hence I will only end up
w/ two free months of ELB?
不,在免费套餐中,EC2 有 750 小时,ELB 有 750 小时和 15 GB 数据处理。两者都是单独的 750 小时 EC2 使用量不会用完 ELB 750 小时使用量。
Is there a way for ELB to be turned off like an instance of EC2? So
that I can save up my 750s of free tier time when I'm not in the
process of developing?
不,您不能关闭 ELB,您可以删除该 ELB,但请记住,当您启动新的 ELB 时,您的 ELB 端点会发生变化。
I have a custom domain. Is it possible to link it to my EC2 without
using ELB?
是的,你可以这样做,只要确保你的 EC2 有一个弹性 IP 地址(弹性 IP 在与 EC2 一起使用时是免费的,如果你不使用它你会被收费所以当不在时释放弹性 IP使用,同样,当你想要一个时,你将不会获得相同的弹性 IP)。将弹性 IP 关联到实例后,您为自定义域添加 A-Record 以指向弹性 IP,您的网站将正常运行。
我刚刚发现虽然我的 EC2 实例已停止,但 ELB 仍在运行并产生费用。这是我的几个问题。
- 如果我有 2 个 EC2 运行 一个月,那么这是否意味着 ELB 的免费套餐 750 小时被 2 个 EC2 实例花费了?因此,我最终只会得到两个免费的 ELB 月?
- 有没有办法像EC2实例一样关闭ELB?这样我就可以在不进行开发时节省 750 秒的免费套餐时间?
- 我有一个自定义域。是否可以 link 它到我的 EC2 而不使用 ELB?
谢谢。
If I have 2 EC2 running for a month then does that mean ELB's free tier 750 hrs is spent by 2 instances of EC2? Hence I will only end up w/ two free months of ELB?
不,在免费套餐中,EC2 有 750 小时,ELB 有 750 小时和 15 GB 数据处理。两者都是单独的 750 小时 EC2 使用量不会用完 ELB 750 小时使用量。
Is there a way for ELB to be turned off like an instance of EC2? So that I can save up my 750s of free tier time when I'm not in the process of developing?
不,您不能关闭 ELB,您可以删除该 ELB,但请记住,当您启动新的 ELB 时,您的 ELB 端点会发生变化。
I have a custom domain. Is it possible to link it to my EC2 without using ELB?
是的,你可以这样做,只要确保你的 EC2 有一个弹性 IP 地址(弹性 IP 在与 EC2 一起使用时是免费的,如果你不使用它你会被收费所以当不在时释放弹性 IP使用,同样,当你想要一个时,你将不会获得相同的弹性 IP)。将弹性 IP 关联到实例后,您为自定义域添加 A-Record 以指向弹性 IP,您的网站将正常运行。