简体   繁体   English

如何更新私人服务器?

[英]How to update a private server?

I have a Django web application, running on AWS Elastic Beanstalk, inside of an EC2 linux instance.我有一个 Django web 应用程序,在 AWS Elastic Beanstalk 上运行,在 EC2 linux 实例内部。 Only the load balancer is accessible to the internet, for security reasons.出于安全原因,只有负载均衡器可以访问 Internet。 Deployment to the EC2 app server is facilitated by Elastic Beanstalk, but new packages added to the repository can't be installed without an internet connection. Elastic Beanstalk 有助于部署到 EC2 应用程序服务器,但如果没有 Internet 连接,则无法安装添加到存储库的新包。

What is the standard way to automatically update without an internet connection?在没有互联网连接的情况下自动更新的标准方法是什么?

Should I just create another EC2 and use it as a proxy server?我应该创建另一个 EC2 并将其用作代理服务器吗? How can I configure this?我该如何配置?

Are there any references on this topic?有没有关于这个主题的参考资料?

Typically NAT gateway is used for that:通常NAT 网关用于:

You can use a network address translation (NAT) gateway to enable instances in a private subnet to connect to the internet or other AWS services, but prevent the internet from initiating a connection with those instances.您可以使用网络地址转换 (NAT) 网关使私有子网中的实例能够连接到 Internet或其他 AWS 服务,但阻止 Internet 启动与这些实例的连接。

There are also NAT instances which also can be used for the same purpose.还有一些NAT 实例也可用于相同目的。 However NAT gateway is a managed and scalable service and is usually preferred over NAT instances.但是,NAT 网关是一种托管且可扩展的服务,通常比 NAT 实例更受欢迎。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 反应服务器如何通过私有IP联系节点服务器 - How react server will contact node server through private IP 如何更新在私有子网中运行的网站? - How can I update a website running in a private subnet? 如何访问同时具有私有和公共IP地址的服务器 - How to access a server which has both private and public ip address 如何从私有服务器 scp 到 Amazon s3? - How to scp from private server to Amazon s3? 如何恢复aws服务器实例丢失的私钥? - How to recover lost private key of instance of aws server? 如何将私有 AWS codecommit 存储库克隆到本地服务器? - How to clone private AWS codecommit repo to on-prem server? 将HTTP请求转发到私有服务器 - Forward HTTP requests to a private server 如何将公有子网中的 ec2 服务器中私有子网中的弹性 beanstalk 服务器列入白名单? - how do i whitelist the elastic beanstalk servers that are in private subnet in ec2 server that is in public subnet? 如何通过 AWS 站点到站点 VPN 连接从 AWS Lambda 连接到私有服务器? - How to connect to a private server from AWS Lambda with AWS site to site VPN connection? 如何建立 AWS 服务器的私有网络连接到运行 linux 的远程 IoT 设备? - how to establish a private network connection of AWS server to a remote IoT device running linux?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM