AWS placement group ,ENI ,EIP学习笔记
来源:互联网 发布:手机发帖软件 编辑:程序博客网 时间:2024/05/19 13:15
Placement Groups(Single Availability Zone)
a logical grouping of instances within a single Availability Zone. Using placement groups enables applications to participate in a low-latency , 10 Gbps network.
A placement group can't span multiple Availability Zones.
ENI (需选择subnet)
包含一个primary private ip;一个或者多个 secondary private ip address;一个EIP/per private ip address; 一个public ip address(will be auto-assigned to the ENI for eth0).
图中:eth0 是primary interface,因为在instance状态为stopped or running 下 , primary interface 是不支持deattach。所以将EIP attach 到eth1中,在instance 意外fail之后,可迅速将其所使用eth1 attach到standby instance上。
To ensure failover capabilities, consider using a secondary private IP for incoming traffic on a network interface. In the event of an instance failure, you can move the interface and/orsecondary private IP address to a standby instance(manually).
实际操作中: default vpc下建的instance,它default primary interface, private ip addr 已经对应了一个 public ip。如果需要再attach EIP 需要再加sendary private ip,这之后才能进行相应操作。
实际应用场景:
you can use an ENI as your primary or secondary network interface to a critical service such as a database instance or a NA T instance.比如RDS primary down了,将其使用的ENI attach 到standbby,可以通过手动或者代码的方式(代码的方式还有待研究),reattach 期间会损失一些用户请求,但是极大的保证了系统的available.
EIP
An Elastic IP address(EIP) is a static IP address designed for dynamic cloud computing. With an EIP , you can mask the failure of an instance or software by rapidly remapping the address to another instance in your account. ENI 很好的体现了一个思想 design for failure.
一种情况: 当你disassociate an EIP address from an instance launched in default VPC, the instance 在几分钟之内会自动assign一个public ip,但是如果你attach了一个eth1,就不会assign一个新的public ip。 (不明白为什么)
EIP属于稀缺资源,AWS建议use an EIP primarily f or load balancing use cases, and use DNS hostnames for all other inter-node communication.
- AWS placement group ,ENI ,EIP学习笔记
- AWS学习笔记
- 【AWS学习笔记】Amazon EC2虚拟主机
- 【学习笔记】AWS体验之EC2
- 【学习笔记】AWS之wordpress网站部署
- EIP
- oracle学习笔记-group by
- ceph pg(placement group)状态总结
- 云计算系统学习笔记--AWS:Amazon Web Services
- AWS credential and creating EBS Snapshot(学习笔记)
- amazon aws 云主机学习笔记(更新中)
- [学习笔记] 基于aws的ubuntu14.04安装discuz3.4
- 栈溢出笔记1.2 覆盖EIP
- 栈溢出笔记1.2 覆盖EIP
- AWS SimpleDB开发笔记
- AWS S3服务 笔记
- AWS精华笔记
- AWS技术会议笔记
- poj-3259
- http://travel.tianya.cn/travelPlan/showPlan?planId=938795
- jquery中.bind(),.live(),.delegate(),.on().one()的参数及版本
- jsp中一些jQuery用法以及struts2标签的使用
- 开始blog之旅
- AWS placement group ,ENI ,EIP学习笔记
- C语言中一些很酷的技巧(cool tricks)
- Ubuntu 12.04 中文输入法IBus的安装
- 不,Linux桌面未死
- poj3041Asteroids
- Light OJ 1406 Assassin`s Creed 状态压缩DP+强连通缩点+最小路径覆盖
- 缓冲区溢出详解
- 使用Zoundry Writer+代码片+七牛云 离线发布博客
- 虚拟存储器 与虚拟内存详解