Amazon Elastic Compute Cloud (Amazon EC2)

Amazon Elastic Compute Cloud (Amazon EC2) provides secure, resizable compute capacity in the cloud as Amazon EC2 instances.

Multitenancy: sharing underlying hardware between virtual machines

How Amazon EC2 works

1. Launch

First, you launch an instance. Begin by selecting a template with basic configurations for your instance.
These configurations include the operating system, application server, or applications. You also select the instance type, which is the specific hardware configuration of your instance

2.Connect

Next, connect to the instance. You can connect to the instance in several ways. Your programs and applications have multiple different methods to connect directly to the instance and exchange data. Users can also connect to the instance by logging in and accessing the computer desktop

3. Use

After you have connected to the instance, you can begin using it. You can run commands to install software, add storage, copy and organize files, and more.

Amazon EC2 instance types

Each amazon EC2 instance type is grouped under an instance family

  1. General purpose instances

Balanced resources

  • diverse workloads
  • web servers
  • code repos
  1. Compute optimized instances

Compute intensive tasks

  • gaming servers
  • High performance computing (HPC)
  • scientific modeling
  1. Memory optimized

Memory intensive tasks
Designed to deliver fast performance for workloads that process large datasets in memory

  1. Accelerated computing instance
  • Floating point number calculations
  • Graphics processing
  • data pattern matching
  • utilize hardware accelerators
  1. Storage optimized
  • High performance for locally stored data

EC2 pricing

  1. On-Demand

On-Demand Instances are ideal for short-term, irregular workloads that cannot be interrupted.

  1. Amazon EC2 Savings Plans
  2. Reserved Instances

Reserved Instances are a billing discount applied to the use of On-Demand Instances in your account.

  1. Spot instances

Spot Instances are ideal for workloads with flexible start and end times, or that can withstand interruptions. Spot Instances use unused Amazon EC2 computing capacity and offer you cost savings at up to 90% off of On-Demand prices.

  1. Dedicated Hosts

Dedicated Hosts are physical servers with Amazon EC2 instance capacity that is fully dedicated to your use.

Scaling Amazon EC2

scalability involves beginning with only the resources you need and designing your architecture to automatically respond to changing demand by scaling out or in.
As a result, you pay for only the resources you use.

Amazon EC2 Auto scaling

Amazon EC2 Auto Scaling enables you to automatically add or remove Amazon EC2 instances in response to changing application demand.

Within Amazon EC2 Auto Scaling, you can use two approaches: dynamic scaling and predictive scaling.

Dynamic scaling responds to changing demand.
Predictive scaling automatically schedules the right number of Amazon EC2 instances based on predicted demand.

Elastic Load Balancing

Load balancing

A load balancer is an application that takes in requests and routes them to the instances to be processed

Properly distribute traffic

  • High performance
  • cost-efficient
  • highly available
  • automatically scalable

Elastic Load Balancing is the AWS service that automatically distributes incoming application traffic across multiple resources, such as Amazon EC2 instances.

Although Elastic Load Balancing and Amazon EC2 Auto Scaling are separate services, they work together to help ensure that applications running in Amazon EC2 can provide high performance and availability.

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末,一起剝皮案震驚了整個濱河市怀吻,隨后出現(xiàn)的幾起案子晕窑,更是在濱河造成了極大的恐慌,老刑警劉巖窍霞,帶你破解...
    沈念sama閱讀 211,123評論 6 490
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件沦补,死亡現(xiàn)場離奇詭異罩缴,居然都是意外死亡,警方通過查閱死者的電腦和手機(jī)缩功,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 90,031評論 2 384
  • 文/潘曉璐 我一進(jìn)店門送粱,熙熙樓的掌柜王于貴愁眉苦臉地迎上來,“玉大人掂之,你說我怎么就攤上這事抗俄。” “怎么了世舰?”我有些...
    開封第一講書人閱讀 156,723評論 0 345
  • 文/不壞的土叔 我叫張陵动雹,是天一觀的道長。 經(jīng)常有香客問我跟压,道長胰蝠,這世上最難降的妖魔是什么? 我笑而不...
    開封第一講書人閱讀 56,357評論 1 283
  • 正文 為了忘掉前任震蒋,我火速辦了婚禮茸塞,結(jié)果婚禮上,老公的妹妹穿的比我還像新娘查剖。我一直安慰自己钾虐,他們只是感情好,可當(dāng)我...
    茶點(diǎn)故事閱讀 65,412評論 5 384
  • 文/花漫 我一把揭開白布笋庄。 她就那樣靜靜地躺著效扫,像睡著了一般倔监。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上菌仁,一...
    開封第一講書人閱讀 49,760評論 1 289
  • 那天浩习,我揣著相機(jī)與錄音,去河邊找鬼济丘。 笑死谱秽,一個胖子當(dāng)著我的面吹牛,可吹牛的內(nèi)容都是我干的摹迷。 我是一名探鬼主播疟赊,決...
    沈念sama閱讀 38,904評論 3 405
  • 文/蒼蘭香墨 我猛地睜開眼,長吁一口氣:“原來是場噩夢啊……” “哼泪掀!你這毒婦竟也來了?” 一聲冷哼從身側(cè)響起颂碘,我...
    開封第一講書人閱讀 37,672評論 0 266
  • 序言:老撾萬榮一對情侶失蹤异赫,失蹤者是張志新(化名)和其女友劉穎,沒想到半個月后头岔,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體塔拳,經(jīng)...
    沈念sama閱讀 44,118評論 1 303
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 36,456評論 2 325
  • 正文 我和宋清朗相戀三年峡竣,在試婚紗的時候發(fā)現(xiàn)自己被綠了靠抑。 大學(xué)時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片。...
    茶點(diǎn)故事閱讀 38,599評論 1 340
  • 序言:一個原本活蹦亂跳的男人離奇死亡适掰,死狀恐怖颂碧,靈堂內(nèi)的尸體忽然破棺而出,到底是詐尸還是另有隱情类浪,我是刑警寧澤载城,帶...
    沈念sama閱讀 34,264評論 4 328
  • 正文 年R本政府宣布,位于F島的核電站费就,受9級特大地震影響诉瓦,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜力细,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 39,857評論 3 312
  • 文/蒙蒙 一睬澡、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧眠蚂,春花似錦煞聪、人聲如沸。這莊子的主人今日做“春日...
    開封第一講書人閱讀 30,731評論 0 21
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽瑟捣。三九已至,卻和暖如春栅干,著一層夾襖步出監(jiān)牢的瞬間迈套,已是汗流浹背。 一陣腳步聲響...
    開封第一講書人閱讀 31,956評論 1 264
  • 我被黑心中介騙來泰國打工碱鳞, 沒想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留桑李,地道東北人。 一個月前我還...
    沈念sama閱讀 46,286評論 2 360
  • 正文 我出身青樓窿给,卻偏偏與公主長得像贵白,于是被迫代替她去往敵國和親。 傳聞我的和親對象是個殘疾皇子崩泡,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 43,465評論 2 348

推薦閱讀更多精彩內(nèi)容