SlideShare a Scribd company logo
1 of 14
© 2018, Amazon Web Serv ices, Inc. or its Af f iliates. All rights reserv ed.
Module 2 – AWS Infrastructure
@AWS_UKI
@AWS_actus
#AWSomeDay
© 2018, Amazon Web Serv ices, Inc. or its Af f iliates. All rights reserv ed.
Module 2 - Overview
AWS S3 and Glacier
Hands on Demo with S3
Amazon EC2
Hands on Demo creating a simple website
Understanding EC2 pricing and lifecycle
Storage options for compute
© 2018, Amazon Web Serv ices, Inc. or its Af f iliates. All rights reserv ed.
AWS S3 and Glacier – Object Storage
Simple Storage Service S3 Glacier
Archive
Bucket Vault
Object
Unlimited Capacity
No need to pre-provision
99.999999999% Durability
Pay for what you use
Multiple options for data encryption:
SSE with S3 Keys
KMS managed keys or
Customer provided keys (BYOK)
Automate withLambda
© 2018, Amazon Web Serv ices, Inc. or its Af f iliates. All rights reserv ed.
Demo – Create S3 CLI & Console
© 2018, Amazon Web Serv ices, Inc. or its Af f iliates. All rights reserv ed.
A single EC2 is called an Instance
General Purpose Compute
Optimized
Memory
Optimized
Accelerated
Computing
Storage
Optimized
T2 instances are
Burstable
Performance Instances
that provide a
baseline level of CPU
performance with the
ability to burst above
the baseline. The
baseline performance
and ability to burst are
governed by CPU
Credits.
C4 instances are
optimized for
compute-intensive
workloads and
delivers very cost-
effective high
performance at a low
price/compute
performance in EC2.
X1 Instances are
optimized for large-
scale, enterprise-
class, in-memory
applications and
high-performance
databases, and have
the lowest price per
GiB of RAM among
Amazon EC2 instance
types.
P3 instances are the
next generation of
general purpose GPU
computing instances.
This family includes
the High Storage
Instances that provide
Non-Volatile Memory
Express (NVMe) SSD
backed instance
storage optimized for
low latency, very high
random I/O
performance, high
sequential read
throughput and
provide high IOPS at a
low cost.
Over 60+ EC2 types
Elastic Cloud Compute – EC2
© 2018, Amazon Web Serv ices, Inc. or its Af f iliates. All rights reserv ed.
A single EC2 is called an Instance
Choose from 1 vCPU to 128 and
from 0.5Gb to 4Tb memory
CloudWatch &
Alarms
Use CloudWatch
graphs to rightsize
the EC2
EC2 (Elastic Cloud Compute)
Choose an Operating System
Linux / Windows / Custom
At AWS we call these AMI’s
(Amazon Machine Image)
You can use AWS managed AMI’s or
you can build your own
EBS (Elastic Block Store)
1Gb to 16 Tb
Multiple types available
offeringdifferent IOP’s
performance
EC2 Launch Process
© 2018, Amazon Web Serv ices, Inc. or its Af f iliates. All rights reserv ed.
EC2 (Elastic Cloud Compute)
EBS (Elastic Block Store)
Before launching our new server we can add some
scripting called UserData. This script will run the first
time we launch this new EC2 instance.
#!/bin/bash
yum update –y
yum install -y httpd24 php56
service httpd start
This is supported for both Linux (bash script) and Windows (powershell)
Launch
Customize EC2 at first boot
<powershell>
Import-Module ServerManager
Install-WindowsFeature web-server, web-webserver
Install-WindowsFeature web-mgmt-tools
</powershell>
© 2018, Amazon Web Serv ices, Inc. or its Af f iliates. All rights reserv ed.
EC2 (Elastic Cloud Compute)
pending
running
Reboot
rebooting
terminated
shutting-
down
Terminate
Terminate
EBS-backed instances only
Start
Stop
stopping stopped
Launch
EC2 – Billed per second
(Minimum duration 1 minute)
When on demand EC2 is
stopped or terminated you
stop paying for it. (But still
paying for the EBS volumes)
EC2 Lifecycle
© 2018, Amazon Web Serv ices, Inc. or its Af f iliates. All rights reserv ed.
Demo – Create simple EC2 website
© 2018, Amazon Web Serv ices, Inc. or its Af f iliates. All rights reserv ed.
Amazon EBS
Amazon EBS
Multiple types available with range of performance up to 32,000 IOPS & 500
MiBs per volume.
Pay for what you commission. Rightsize for cost efficiency
Volume
From 500 GiB to 16 TiB depending onEBS type.
You can connectmultiple volumes to a single EC2
Snapshot
EBS volumes exist in a single Availability Zone AZ so it is important to
snapshot. Multiple snapshots are incremental.
EBS snapshots are stored in S3 for increased durability. New EBS volumes
can be created from snapshots
© 2018, Amazon Web Serv ices, Inc. or its Af f iliates. All rights reserv ed.
Amazon EC2 Instance Storage
Size and number of disks is dependent on the type of EC2 being used.
Is optimized for up to 365,000 Read IOPS and 315,000 First Write IOPS.
Has no persistence.
Automatically deletes data when an EC2 instance stops, fails or is terminated.
Example use cases are for caching, swap files, temporaryfiles or scratch disks.
© 2018, Amazon Web Serv ices, Inc. or its Af f iliates. All rights reserv ed.
Amazon EFS Elastic File Service
Amazon EFS EC2 Instance
Amazon EFS is elastic, growing and shrinking
automatically as you add and remove files.
Mounted on EC2 via the NFSv4.1 protocol EC2 Instance
EC2 Instance
© 2018, Amazon Web Serv ices, Inc. or its Af f iliates. All rights reserv ed.
Demo – Snapshot and Resize EBS
© 2018, Amazon Web Serv ices, Inc. or its Af f iliates. All rights reserv ed.
End of Module 2
@AWS_UKI
@AWS_actus
#AWSomeDay

More Related Content

More from Amazon Web Services

Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
Amazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
Amazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
Amazon Web Services
 
Protect your applications from DDoS/BOT & Advanced Attacks
Protect your applications from DDoS/BOT & Advanced AttacksProtect your applications from DDoS/BOT & Advanced Attacks
Protect your applications from DDoS/BOT & Advanced Attacks
Amazon Web Services
 
Track 6 Session 6_ 透過 AWS AI 服務模擬、部署機器人於產業之應用
Track 6 Session 6_ 透過 AWS AI 服務模擬、部署機器人於產業之應用Track 6 Session 6_ 透過 AWS AI 服務模擬、部署機器人於產業之應用
Track 6 Session 6_ 透過 AWS AI 服務模擬、部署機器人於產業之應用
Amazon Web Services
 

More from Amazon Web Services (20)

Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 
Come costruire un'architettura Serverless nel Cloud AWS
Come costruire un'architettura Serverless nel Cloud AWSCome costruire un'architettura Serverless nel Cloud AWS
Come costruire un'architettura Serverless nel Cloud AWS
 
AWS Serverless per startup: come innovare senza preoccuparsi dei server
AWS Serverless per startup: come innovare senza preoccuparsi dei serverAWS Serverless per startup: come innovare senza preoccuparsi dei server
AWS Serverless per startup: come innovare senza preoccuparsi dei server
 
Crea dashboard interattive con Amazon QuickSight
Crea dashboard interattive con Amazon QuickSightCrea dashboard interattive con Amazon QuickSight
Crea dashboard interattive con Amazon QuickSight
 
Costruisci modelli di Machine Learning con Amazon SageMaker Autopilot
Costruisci modelli di Machine Learning con Amazon SageMaker AutopilotCostruisci modelli di Machine Learning con Amazon SageMaker Autopilot
Costruisci modelli di Machine Learning con Amazon SageMaker Autopilot
 
Migra le tue file shares in cloud con FSx for Windows
Migra le tue file shares in cloud con FSx for Windows Migra le tue file shares in cloud con FSx for Windows
Migra le tue file shares in cloud con FSx for Windows
 
La tua organizzazione è pronta per adottare una strategia di cloud ibrido?
La tua organizzazione è pronta per adottare una strategia di cloud ibrido?La tua organizzazione è pronta per adottare una strategia di cloud ibrido?
La tua organizzazione è pronta per adottare una strategia di cloud ibrido?
 
Protect your applications from DDoS/BOT & Advanced Attacks
Protect your applications from DDoS/BOT & Advanced AttacksProtect your applications from DDoS/BOT & Advanced Attacks
Protect your applications from DDoS/BOT & Advanced Attacks
 
Track 6 Session 6_ 透過 AWS AI 服務模擬、部署機器人於產業之應用
Track 6 Session 6_ 透過 AWS AI 服務模擬、部署機器人於產業之應用Track 6 Session 6_ 透過 AWS AI 服務模擬、部署機器人於產業之應用
Track 6 Session 6_ 透過 AWS AI 服務模擬、部署機器人於產業之應用
 

AWSome Day MODULE 2 - Compute and Storage Services

  • 1. © 2018, Amazon Web Serv ices, Inc. or its Af f iliates. All rights reserv ed. Module 2 – AWS Infrastructure @AWS_UKI @AWS_actus #AWSomeDay
  • 2. © 2018, Amazon Web Serv ices, Inc. or its Af f iliates. All rights reserv ed. Module 2 - Overview AWS S3 and Glacier Hands on Demo with S3 Amazon EC2 Hands on Demo creating a simple website Understanding EC2 pricing and lifecycle Storage options for compute
  • 3. © 2018, Amazon Web Serv ices, Inc. or its Af f iliates. All rights reserv ed. AWS S3 and Glacier – Object Storage Simple Storage Service S3 Glacier Archive Bucket Vault Object Unlimited Capacity No need to pre-provision 99.999999999% Durability Pay for what you use Multiple options for data encryption: SSE with S3 Keys KMS managed keys or Customer provided keys (BYOK) Automate withLambda
  • 4. © 2018, Amazon Web Serv ices, Inc. or its Af f iliates. All rights reserv ed. Demo – Create S3 CLI & Console
  • 5. © 2018, Amazon Web Serv ices, Inc. or its Af f iliates. All rights reserv ed. A single EC2 is called an Instance General Purpose Compute Optimized Memory Optimized Accelerated Computing Storage Optimized T2 instances are Burstable Performance Instances that provide a baseline level of CPU performance with the ability to burst above the baseline. The baseline performance and ability to burst are governed by CPU Credits. C4 instances are optimized for compute-intensive workloads and delivers very cost- effective high performance at a low price/compute performance in EC2. X1 Instances are optimized for large- scale, enterprise- class, in-memory applications and high-performance databases, and have the lowest price per GiB of RAM among Amazon EC2 instance types. P3 instances are the next generation of general purpose GPU computing instances. This family includes the High Storage Instances that provide Non-Volatile Memory Express (NVMe) SSD backed instance storage optimized for low latency, very high random I/O performance, high sequential read throughput and provide high IOPS at a low cost. Over 60+ EC2 types Elastic Cloud Compute – EC2
  • 6. © 2018, Amazon Web Serv ices, Inc. or its Af f iliates. All rights reserv ed. A single EC2 is called an Instance Choose from 1 vCPU to 128 and from 0.5Gb to 4Tb memory CloudWatch & Alarms Use CloudWatch graphs to rightsize the EC2 EC2 (Elastic Cloud Compute) Choose an Operating System Linux / Windows / Custom At AWS we call these AMI’s (Amazon Machine Image) You can use AWS managed AMI’s or you can build your own EBS (Elastic Block Store) 1Gb to 16 Tb Multiple types available offeringdifferent IOP’s performance EC2 Launch Process
  • 7. © 2018, Amazon Web Serv ices, Inc. or its Af f iliates. All rights reserv ed. EC2 (Elastic Cloud Compute) EBS (Elastic Block Store) Before launching our new server we can add some scripting called UserData. This script will run the first time we launch this new EC2 instance. #!/bin/bash yum update –y yum install -y httpd24 php56 service httpd start This is supported for both Linux (bash script) and Windows (powershell) Launch Customize EC2 at first boot <powershell> Import-Module ServerManager Install-WindowsFeature web-server, web-webserver Install-WindowsFeature web-mgmt-tools </powershell>
  • 8. © 2018, Amazon Web Serv ices, Inc. or its Af f iliates. All rights reserv ed. EC2 (Elastic Cloud Compute) pending running Reboot rebooting terminated shutting- down Terminate Terminate EBS-backed instances only Start Stop stopping stopped Launch EC2 – Billed per second (Minimum duration 1 minute) When on demand EC2 is stopped or terminated you stop paying for it. (But still paying for the EBS volumes) EC2 Lifecycle
  • 9. © 2018, Amazon Web Serv ices, Inc. or its Af f iliates. All rights reserv ed. Demo – Create simple EC2 website
  • 10. © 2018, Amazon Web Serv ices, Inc. or its Af f iliates. All rights reserv ed. Amazon EBS Amazon EBS Multiple types available with range of performance up to 32,000 IOPS & 500 MiBs per volume. Pay for what you commission. Rightsize for cost efficiency Volume From 500 GiB to 16 TiB depending onEBS type. You can connectmultiple volumes to a single EC2 Snapshot EBS volumes exist in a single Availability Zone AZ so it is important to snapshot. Multiple snapshots are incremental. EBS snapshots are stored in S3 for increased durability. New EBS volumes can be created from snapshots
  • 11. © 2018, Amazon Web Serv ices, Inc. or its Af f iliates. All rights reserv ed. Amazon EC2 Instance Storage Size and number of disks is dependent on the type of EC2 being used. Is optimized for up to 365,000 Read IOPS and 315,000 First Write IOPS. Has no persistence. Automatically deletes data when an EC2 instance stops, fails or is terminated. Example use cases are for caching, swap files, temporaryfiles or scratch disks.
  • 12. © 2018, Amazon Web Serv ices, Inc. or its Af f iliates. All rights reserv ed. Amazon EFS Elastic File Service Amazon EFS EC2 Instance Amazon EFS is elastic, growing and shrinking automatically as you add and remove files. Mounted on EC2 via the NFSv4.1 protocol EC2 Instance EC2 Instance
  • 13. © 2018, Amazon Web Serv ices, Inc. or its Af f iliates. All rights reserv ed. Demo – Snapshot and Resize EBS
  • 14. © 2018, Amazon Web Serv ices, Inc. or its Af f iliates. All rights reserv ed. End of Module 2 @AWS_UKI @AWS_actus #AWSomeDay