TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

How to migrate off EIP on EC2?

2 点作者 mska8 个月前
Elastic IPs (EIPs) now come with charges, and AWS also limits accounts to a maximum of five by default, with requests for quota increases often being rejected.<p>Currently, to run an EC2 instance under a custom domain, there are two main approaches:<p>A Record (Route53) -&gt; EIP -&gt; EC2: This method uses a paid Elastic IP, which is subject to the strict quota (max 5 by default). It works but becomes costly if managing multiple projects.<p>CName Record (Route53) -&gt; Dynamic IP Service URL (e.g., No-IP) -&gt; EC2’s non-static IP: This involves updating the IP dynamically via a script with each deployment. It&#x27;s more affordable, removes the IP limit, but may cause some downtime during updates.<p>Are there any other options that could be considered? Hosting small-scale projects on AWS has become more difficult and expensive over time. While $5&#x2F;month for Option 1 may seem manageable, costs quickly add up when running 10-20 projects. Even if you&#x27;re willing to pay, the limit on IPs can be restrictive if AWS doesn’t approve an increase in quotas.

2 条评论

frx8 个月前
You can use IPv6 behind CloudFront but it is not supported as an origin yet [1]<p>If IPv6 addresses are free while in use like IPv4 used to be, this would be the cheapest option<p>[1] <a href="https:&#x2F;&#x2F;repost.aws&#x2F;questions&#x2F;QUOWEDVURTSxWkSlenuHaS4g&#x2F;cloudfront-support-for-ipv6-origins" rel="nofollow">https:&#x2F;&#x2F;repost.aws&#x2F;questions&#x2F;QUOWEDVURTSxWkSlenuHaS4g&#x2F;cloudf...</a>
re-thc8 个月前
If they&#x27;re all in the same region create a load balancer e.g. ALB and run all the projects through it. It&#x27;s 1 IP for those 10-20 projects.