«ec2 без страха»

103
EC2 без страха Валентин Завадский

Upload: -

Post on 19-Jul-2015

457 views

Category:

Technology


3 download

TRANSCRIPT

EC2 без страха

Валентин Завадский

<картинка с

обнимашками>

• Прошлый - 20 сентября 2014

• Сегодня - 21 февраля 2015

• Средняя частота нормального пульса для людей

дети старше 10 лет, включая пожилых — 60-100

в минуту

• 221760 минут * 75 у/м = 17 740 800 ударов

• Объем крови, перекачанной сердцем, может

варьироваться в широком диапазоне, от 5 до 30

литров в минуту

• 221760 минут * 17.5 л/м = 3 880 800 литров =

3880 м^3

• 21м* 50 м * 2.25м = 2 362 м^3

• 3880 м^3 / 2362 м^3 = 1,64267

• В среднем человек выпускает газы около 14 раз

в день, образуя около 0,5 литров газов.

Кто вообще этот

длинный?

App Servers

Load Balancer

DB

Torrents

DB

App

Server

Web

Server

TOMCAT??

WTF?

???

?????

? :(

PV vs HVM

Paravirtual (PV)

Paravirtual AMIs boot with a special boot loader called PV-GRUB, which starts the boot cycle and then chain loads the

kernel specified in the menu.lst file on your image. Paravirtual guests can run on host hardware that does not have explicit

support for virtualization, but they cannot take advantage of special hardware extensions such as enhanced networking or

GPU processing. Historically, PV guests had better performance than HVM guests in many cases, but because of

enhancements in HVM virtualization and the availability of PV drivers for HVM AMIs, this is no longer true.

Hardware Virtual Machine (HVM)

HVM AMIs are presented with a fully virtualized set of hardware and boot by executing the master boot record of the root

block device of your image. This virtualization type provides the ability to run an operating system directly on top of a virtual

machine without any modification, as if it were run on the bare-metal hardware. The Amazon EC2 host system emulates

some or all of the underlying hardware that is presented to the guest.

Unlike PV guests, HVM guests can take advantage of hardware extensions that provide fast access to the underlying

hardware on the host system. For more information on CPU virtualization extensions available in Amazon EC2, see Server

Virtualization on the Intel website. HVM AMIs are required to take advantage of enhanced networking and GPU processing.

In order to pass through instructions to specialized network and GPU devices, the OS needs to be able to have access to

the native hardware platform; HVM virtualization provides this access. For more information, see Enhanced Networking and

Linux GPU Instances.

EC2 instance types

• General Purpose ( t2.*, m3.*)

• Compute Optimized ( c3.*, c4.* )

• Memory Optimized ( r3.* )

• GPU ( g2.2xlarge )

• Storage Optimized ( i2.*, hs1.8xlarge )

http://www.ec2instances.info/

and more…

Соntacts

• skype: valentine.zavadskiy

• github: github.com/saicheg

• twitter: twitter.com/saicheg

• facebook: facebook.com/saicheg

• vk: vk.com/saicheg