首页 > 其他分享 >Udemy AWS SAA - Private vs Public IP (IPv4)

Udemy AWS SAA - Private vs Public IP (IPv4)

时间:2024-04-02 18:11:52浏览次数:13  
标签:instances IP SAA AWS per instance EC2 public

IPv4
[0-255].[0-255].[0-255].[0-255]
unique across the whole web, can be geo-located easily

**Private Network: **

  • everyone in the network can talk to each other
  • unique across private network
  • machines connect to WWW using a NAT+internet gateway(a proxy)

Elastic IP

  • When you stop and then start an EC2 instance, it can change its public IP. If you need to have a fixed public IP for your instance, you need an Elastic IP
  • An Elastic IP is a public IPv4 IP you own as long as you don't delete it. You can attach it to one instance at a time
  • Try avoid using elastic IP, bc often reflect poor architectural decisions. instead, use a random public Ip and register a DNS name to it

By default, your EC2 machine comes with:

  • A private IP for the internal AWS Network
  • A public IP, for the WWW.

When we are doing SSH into our EC2 machines:

  • We can't use a private IP, because we are not in the same network. We can only use the public IP.

Placement Groups

  • To control over the EC2 Instance placement strategy, we use placement groups.
  • strategies for the group:
    • Cluster-clusters instances into a low-latency group in a single Availability Zone. every instance is on the same rack/hardware.

      • Pros: great network
      • Cons: if the rack fails, all instances fails at the same time
      • Use case: big data job that needs to complete fast, or app needs extremely low latency and high network throughput
    • Spread - spreads instances across underlying hardware (max 7 instances per group per AZ)-critical applications. each instance is on separate hardware

    • Pros: can span across AZ, reduce risk, EC2 instances are on diff physical hardware

    • Cons: limited to 7 instances per group per AZ

    • Use case: too that need max high availability, or critical app where each instance must be isolated from failure from each other

    • Partition- spreads instances across many different partitions (which rely on different sets of racks) within an AZ, Scales to l00s of EC2 instances per group(Hadoop, Cassandra, Kafka)

      • Up to 7 partitions per AZ. Can span across multiple AZs in the same region. Up to 100s of EC2 instances. The instances in a partition do not share racks with the instances in the other partitions
      • A partition failure can affect many EC2 but won't affect other partitionsEC2 instances get access to the partition information as metadata
      • Use cases: HDFS, HBase, Cassandra,Kafka

标签:instances,IP,SAA,AWS,per,instance,EC2,public
From: https://www.cnblogs.com/miramira/p/18111234

相关文章

  • IP(Internet Protocol)是一种网络协议,用于在网络中发送和接收数据包
    IP(InternetProtocol)是一种网络协议,用于在网络中发送和接收数据包。它是一个无连接的、不可靠的数据报协议,负责将数据从源主机传输到目标主机。IP协议的主要功能包括寻址、路由和分段。寻址:IP协议为每个连接到网络的设备分配一个唯一的IP地址,这个地址用于在网络中识别设备......
  • 【INDEX_SS】使用HINT使SQL用索引跳跃扫描(Index Skip Scan)方式快速获取数据
    索引跳跃扫描(IndexSkipScan)可以使用到复合索引的非前缀索引列,达到改善性能的作用,前提是全表扫面的代价高于索引跳跃式扫描的代价。这里给出使用HINT方法使SQL走索引跳跃扫描的方法。1.初始化环境1)创建表Tsec@ora10g>createtablet(xnumber,ynumber);Tablecreated.2)初始化10......
  • HTML设置定时执行代码 JavaScript 计时事件
    1、https://www.runoob.com/js/js-timing.htmlJavaScript一个设定的时间间隔之后来执行代码我们称之为计时事件JavaScript计时事件通过使用JavaScript,我们有能力做到在一个设定的时间间隔之后来执行代码,而不是在函数被调用后立即执行。我们称之为计时事件。在JavaScript......
  • P1967 [NOIP2013 提高组] 货车运输 题解
    P1967[NOIP2013提高组]货车运输原题地址思路:由于题目要求的是使两点之间的最小边权最大,所以可以构造最大生成树(最大生成树一定是最大瓶颈生成树,而瓶颈生成树上两点之间的路径,在原图中的所有路径中,最小边权仍然最大,即满足题目要求,详见https://oi-wiki.org/graph/mst/#性质),......
  • 判断ip地址是否合法(美团2024届秋招笔试第三场编程真题)
    核心思想大模拟-。-,还是不够细心,面向样例编程,一路错过去的。写得太丑了凑合看吧。代码importjava.util.*;publicclassMain{publicstaticvoidmain(String[]args){finallongMOD=(long)(1e9+7);Scannerscanner=newScanner(Syste......
  • Python pip pip3 源设置成国内源,阿里云源,清华大学源
     由于python自带的源下载速度非常慢,特别是安装一些库的时候,甚至有时会失败。因此,建议将下载源替换成国内的(本文以阿里云为例),下载速度会快很多。总共有两种方法代码替换手动替换 代码替换pipconfigsetglobal.index-urlhttps://mirrors.aliyun.com/pypi/simplep......
  • BetterZip2024功能强大、操作便捷且用户体验优秀的Mac端解压缩软件
    作为一名软件专家,对于市面上各类软件都有较为深入的了解,下面介绍的是一款适用于Mac系统的解压缩软件——BetterZip,将从其功能特点、使用方法、用户体验及适用人群等方面进行详细介绍。BetterZip5-安装包绿色版下载如下:https://wm.makeding.com/iclk/?zoneid=60187首先是功......
  • BetterZip2024Mac上一款功能强大的Mac平台解压压缩软件
    一、软件概述BetterZip是一款Mac平台上的压缩解压缩工具,它为用户提供了一个方便的方式来处理各种压缩文件,包括但不限于ZIP、TAR、GZIP等格式。除了基本的压缩解压缩功能外,BetterZip还具备文件预览、文件加密、分卷压缩等高级功能,使得用户能够更加灵活高效地管理自己的压缩文件......
  • 【IEEE出版 | 西安理工大学主办,多高校承办 | EI、SCOPUS双检索 | 计算机领域 ei 会议
    第九届计算机与信息处理技术国际学术会议(ISCIPT2024)将于2024年5月24日-26日在西安召开会议。ISCIPT2024将围绕“计算机与信息处理技术”的新研究领域,为来自国内外高等院校、科学研究所、企事业单位的专家、教授、学者、工程师等提供一个分享专业经验,扩大专业网络,面对面交流新......
  • Javascript
    JS的引入方式<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><metaname="viewport"content="width=device-width,initial-scale=1.0"><title>js的引入方式</title&......