简体   繁体   中英

How to update a private server?

I have a Django web application, running on AWS Elastic Beanstalk, inside of an EC2 linux instance. Only the load balancer is accessible to the internet, for security reasons. 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.

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? How can I configure this?

Are there any references on this topic?

Typically NAT gateway is used for that:

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.

There are also NAT instances which also can be used for the same purpose. However NAT gateway is a managed and scalable service and is usually preferred over NAT instances.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM