采用弹性魔豆静态IP [英] Static IP using Elastic Beanstalk

查看:181
本文介绍了采用弹性魔豆静态IP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要的静态IP允许访问受防火墙保护的网络不AWS的网络上。

I need the static IP to allow access to a firewalled network not on the AWS network.

是否有可能得到一个静态IP的使用弹性魔豆负载均衡的应用程序?我下面的<一个href="http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/CreatingNewSubdomain.html#UpdateDNSParentDomain"相对=nofollow> AWS使用路线53来承载我有一个域名应用有关文档,但是从我读过,这并不能保证一个静态IP,因为它本质上是用CNAME允许IP幕后发生变化。那是正确的理解?是否有可能呢?

Is it possible to get a static IP for a load balanced app using Elastic Beanstalk? I'm following the AWS docs regarding using Route 53 to host my app with a domain name, but from what I've read, this does not ensure a static IP because it is essentially using a CNAME allowing the IP behind the scenes to change. Is that the right understanding? Is it possible at all?

推荐答案

部署您的魔豆环境VPC,并用正确的配置,静态IP对外交通很方便。

Deploy your beanstalk environment in VPC, and with the right configuration, a static IP for outbound traffic is easy.

在此设置中,你的情况下,全部通过一台机器,它可以分配一个弹性IP地址进行中继的出站流量。所有来自所有实例的内部发起的,因特网行车辆后面会出现的,从另一网络,到BW使用单一弹性IP

In this setup, your instances all relay their outbound traffic through a single machine, which you can assign an elastic IP address to. All of the inside-originated, Internet-bound traffic from all of the instances behind it will appear, from the other network, to bw using that single elastic IP.

下面的RDS部分,则不必理会您的需求,但原理都是一样的。

The RDS portion of the following may be irrelevant to your needs but the principles are all the same.

<一个href="http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo-vpc-rds.html">http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo-vpc-rds.html

这篇关于采用弹性魔豆静态IP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆