SlideShare una empresa de Scribd logo
1 de 42
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Module 2:
Getting started with the cloud
Papon Yongpisanpop
Technical Trainer
Amazon Web Services
• S e s s i o n I D
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Getting started
with AWS services
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS products
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Cloud journey
v
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Build your infrastructure
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What is Amazon EC2?
ü Application server
ü Web server
ü Database server
ü Game server
ü Mail server
ü Media server
ü Catalog server
ü File server
ü Computing server
ü Proxy server
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Benefits of Amazon EC2
• Elasticity
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Benefits of Amazon EC2
• Elasticity
• Control
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Benefits of Amazon EC2
• Elasticity
• Control
• Flexibility
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Benefits of Amazon EC2
www.example.com
Amazon
Route 53
Elastic Load
Balancing
(ELB)
Availability Zone #1
Amazon S3
bucket
Amazon EBS
snapshot
root volume
Auto Scaling group
Security group
EC2 instance
security group
data volume
web app
server
logs
CloudFront
distribution
media.example.com
• Elasticity
• Control
• Flexibility
• Integrated
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Benefits of Amazon EC2
• Elasticity
• Control
• Flexibility
• Integrated
• Reliable
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Benefits of Amazon EC2
AWS Cloud• Elasticity
• Control
• Flexibility
• Integrated
• Reliable
• Secure
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Benefits of Amazon EC2
• Elasticity
• Control
• Flexibility
• Integrated
• Reliable
• Secure
• Inexpensive
AWS Cloud
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Benefits of Amazon EC2
• Elasticity
• Control
• Flexibility
• Integrated
• Reliable
• Secure
• Inexpensive
• Easy
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Choosing the right Amazon EC2 instances
• EC2 Instance types are
optimized for different use
cases, workloads & come
in multiple sizes. This allows
you to optimally scale resources
to your workload requirements.
• AWS utilizes Intel® Xeon®
processors for EC2 Instances
providing customers with high
performance and value.
• Consider the following when
choosing your instances: core
count, memory size, storage size
& type, network performance, I/O
requirements & CPU technologies.
• Hurry Up & Go Idle - A larger
compute instance can save you
time and money, therefore paying
more per hour for a shorter amount
of time can be less expensive.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
EC2 instances powered by Intel Technologies
EC2 instance
type
Compute optimized General purpose Memory optimized Storage optimized
C5 C4 M5 M4 T2 X1 X1e R4 H1 I3 D2
Intel processor
Xeon
Platinum
8175M
Xeon E5
2666 v3
Xeon
Platinum
8175M
Xeon E5
2686 v4
2676 v3
Xeon
Family
Xeon E7
8880 v3
Xeon E7
8880 v3
Xeon E5
2686 v4
Xeon E5
2686 v4
Xeon E5
2686 v4
Xeon E5
2676 v3
Intel processor
technology
Skylake Haswell Skylake
Broadwell
Haswell
Yes Haswell Haswell Broadwell Broadwell Broadwell Haswell
Intel AVX Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Intel AVX2 Yes Yes Yes Yes - Yes Yes Yes Yes Yes Yes
Intel AVX-512 Yes - Yes - - - - - - - -
Intel turbo
boost
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Storage EBS-only EBS-only EBS-only EBS-only
EBS-
only
SSD
EBS-Opt
SSD
EBS-Opt
- HDD SSD HDD
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
C5: Compute-optimized instances
• Based on 3.0 GHz Intel Xeon
Scalable Processors (Skylake)
• Up to 72 vCPUs and 144 GiB of memory
(2:1 Memory:vCPU ratio)
• 25 Gbps NW bandwidth
• Support for Intel AVX-512
25% price/performance
improvement over C4
C4 C5
“We saw significant performance improvement on Amazon
EC2 C5, with up to a 140% performance improvement in
industry standard CPU benchmarks over C4.”
“We are eager to migrate onto the AVX-512 enabled
c5.18xlarge instance size… . We expect to decrease the
processing time of some of our key workloads by more
than 30%.”
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
M5: Next-gen general purpose instances
• Powered by 2.5 GHz Intel Xeon Scalable
Processors (Skylake)
• New larger instance size—m5.24xlarge
with 96 vCPUs and 384 GiB of memory
(4:1 Memory:vCPU ratio)
• Improved network and EBS performance
on smaller instance sizes
• Support for Intel AVX-512 offering up
to twice the performance for vector and
floating point workloads
14% price/performance
improvement With M5
M4 M5
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What’s your platform?
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Store your data
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Elastic Block Store (Amazon EBS)
• Persistent block storage for instances
Amazon EBS Volumes
Amazon
EC2
instance
Amazon
EC2
instance
AWS Cloud
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Elastic Block Store (Amazon EBS)
• Persistent block storage for instances
• Protected through replication
Availability zone
Amazon EBS Volumes
Amazon
EC2
instance
Amazon
EC2
instance
AWS Cloud
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Elastic Block Store (Amazon EBS)
Solid State Drives (SSD)
• Provisioned IOPS SSD (io1) Volumes
• General Purpose SSD (gp2) Volumes
Hard Disk Drives (HDD)
• Throughput Optimized HDD (st1) Volumes
• Cold HDD (sc1) Volumes
• Persistent block storage for instances
• Protected through replication
• Different drive types
Amazon EBS Volumes
Amazon
EC2
instance
Amazon
EC2
instance
AWS Cloud
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Elastic Block Store (Amazon EBS)
• Persistent block storage for instances
• Protected through replication
• Different drive types
• Scale up or down in minutes
Amazon EBS Volumes
Amazon
EC2
instance
Amazon
EC2
instance
AWS Cloud
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Elastic Block Store (Amazon EBS)
• Persistent block storage for instances
• Protected through replication
• Different drive types
• Scale up or down in minutes
• Pay for only what you provision
Amazon EBS Volumes
Amazon
EC2
instance
Amazon
EC2
instance
AWS Cloud
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Elastic Block Store (Amazon EBS)
• Persistent block storage for instances
• Protected through replication
• Different drive types
• Scale up or down in minutes
• Pay for only what you provision
• Snapshot functionality
Amazon EBS Volumes
Amazon
EC2
instance
Amazon
EC2
instance
AWS Cloud
Monday’s snapshot
Tuesday’s snapshot
Wednesday’s snapshot
Thursday’s snapshot
Friday’s snapshot
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Elastic Block Store (Amazon EBS)
• Persistent block storage for instances
• Protected through replication
• Different drive types
• Scale up or down in minutes
• Pay for only what you provision
• Snapshot functionality
• Encryption available
Amazon EBS Volumes
Amazon
EC2
instance
Amazon
EC2
instance
AWS Cloud
Monday’s snapshot
Tuesday’s snapshot
Wednesday’s snapshot
Thursday’s snapshot
Friday’s snapshot
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What is Amazon S3?
• Data is stored as objects within buckets
• Unlimited storage
• Single object limited to 5TB
• 99.999999999% durable
• Granular access to bucket and objects
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon S3 core functionality
• Fast, durable, highly available key-based access to objects
• Object storage built to store and retrieve data
• Not a file system
Amazon
S3 bucket
Amazon S3
Client
ß Object returned
CLI sends GET request via S3 API à
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon S3 common scenarios
• Backup and storage
• Application hosting
• Media hosting
• Software delivery
Amazon S3 buckets
Corporate
DatacenterAmazon
EC2
instances
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Not just a storage bucket
• Requester pays
• Versioning
• Hosting static websites
• Object lifecycle management
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What is Amazon S3 Glacier?
• Low-cost data archiving
and long-term backup
• 3- to 5-hour or within
12 hours*
• Can configure lifecycle
archiving of Amazon S3
content to Amazon Glacier
Amazon
S3 Glacier
Amazon
S3 bucket
Archive after
30 days
Delete after
5 years
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon S3 Glacier use cases
Media asset workflows
Healthcare information archiving
Regulatory and compliance archiving
Scientific data storage
Digital preservation
Magnetic tape replacement
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon S3 Glacier vault lock policy
• Deploy and enforce compliance controls on
individual Amazon Glacier vaults
• Vault becomes immutable once locked
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon S3 storage classes
Storage class Features
S3 Standard • ≥3 availability zones
S3 Standard –
Infrequent Access (IA)
• Retrieval fee associated with objects
• Most suitable for infrequently accessed data
S3 Intelligent- Tiering
• Automatically moves objects between tiers
based on access patterns
• ≥3 availability zones
S3 One Zone-IA
• 1 availability zone
• Costs 20% less than S3 Standard-IA
S3 Glacier
• Not available for real-time access
• Must restore objects before you can access them
• Restoring objects can take 1 minute - 12 hours
S3 Glacier Deep Archive
• Lowest cost storage for long term retention
(7-10 years)
• ≥3 availability zones
• Retrieval time within 12 hours
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Architecture example
AWS Cloud
Internet
gateway
Internet
EC2
Web application
Instance store
(ephemeral)
S3 bucket
(static content)
EBS volume
(database files)
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Secure your data
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Virtual Private Cloud (Amazon VPC)
AWS Cloud
Region
VPC (IP Range for VPC)
Availability Zone A
Public subnet
Instances
Private subnet
Public
internet
Corporate
datacenter
Instances
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Security groups Security Group A
Security Group-B
Security Group-C
Inbound
Source Protocol Port Range
0.0.0.0/0 TCP 80
0.0.0.0/0 TCP 443
Inbound
Source Protocol Port Range
10.0.1.0/24 TCP 22
Inbound
Source Protocol Port Range
ID of Security Group B All All
VPC
Public subnet Private subnet
Security group
A
Instance
Instance
Security group
B
Security group
C
Instance
Instance
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Security group details
• Only “allow” rules; no “deny” rules
• Default values:
• No inbound traffic allowed
• All outbound traffic allowed
• Stateful:
• Allows responses from allowed inbound traffic
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Security groups example
SG-Web-Tier
Inbound
Source Protocol Port Range
0.0.0.0/0 TCP 80
0.0.0.0/0 TCP 443
10.0.16.0/20 TCP 22
Public
internet
SG-App-Tier
Inbound
Source Protocol Port Range
ID of SG-Web-Tier TCP 6455
10.0.16.0/20 TCP 22
SG-DB-Tier
Inbound
Source Protocol Port Range
ID of SG-App-Tier TCP 3306
10.0.16.0/20 TCP 22
WWW Servers
MyPublicSubnet
(10.0.0.0/24)
VPC
SG-Web-Tier
MyPrivateSubnet (10.0.1.0/24)
SG-App-Tier SG-DB-Tier
App Servers DB Servers
Corp
(10.0.16.0/20)
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Más contenido relacionado

La actualidad más candente

Amazon電商案例互動與體驗的新零售時代
Amazon電商案例互動與體驗的新零售時代Amazon電商案例互動與體驗的新零售時代
Amazon電商案例互動與體驗的新零售時代
Amazon Web Services
 

La actualidad más candente (20)

AWSome Day Online 2020_โมดูล 1: แนะนำเบื้องต้นเกี่ยวกับ AWS Cloud
AWSome Day Online 2020_โมดูล 1: แนะนำเบื้องต้นเกี่ยวกับ AWS CloudAWSome Day Online 2020_โมดูล 1: แนะนำเบื้องต้นเกี่ยวกับ AWS Cloud
AWSome Day Online 2020_โมดูล 1: แนะนำเบื้องต้นเกี่ยวกับ AWS Cloud
 
AWS Technical Essentials Day
AWS Technical Essentials DayAWS Technical Essentials Day
AWS Technical Essentials Day
 
Crea dashboard interattive con Amazon QuickSight
Crea dashboard interattive con Amazon QuickSightCrea dashboard interattive con Amazon QuickSight
Crea dashboard interattive con Amazon QuickSight
 
AWS 微服務架構分享
AWS 微服務架構分享AWS 微服務架構分享
AWS 微服務架構分享
 
AWSome Day Madrid - March 2018
AWSome Day Madrid -  March 2018AWSome Day Madrid -  March 2018
AWSome Day Madrid - March 2018
 
Module 2 - AWSome Day Online Conference 2018
Module 2 - AWSome Day Online Conference 2018Module 2 - AWSome Day Online Conference 2018
Module 2 - AWSome Day Online Conference 2018
 
Module 1 - AWSome Day Online Conference 2018
Module 1 - AWSome Day Online Conference 2018Module 1 - AWSome Day Online Conference 2018
Module 1 - AWSome Day Online Conference 2018
 
AWS 101
AWS 101AWS 101
AWS 101
 
AWSome Day 2019 - Detroit
AWSome Day 2019 - DetroitAWSome Day 2019 - Detroit
AWSome Day 2019 - Detroit
 
Design, Deploy, & Optimize SQL Server Workloads
Design, Deploy, & Optimize SQL Server Workloads Design, Deploy, & Optimize SQL Server Workloads
Design, Deploy, & Optimize SQL Server Workloads
 
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
 
Amazon電商案例互動與體驗的新零售時代
Amazon電商案例互動與體驗的新零售時代Amazon電商案例互動與體驗的新零售時代
Amazon電商案例互動與體驗的新零售時代
 
AWSome Day Geneva Main Track: Infrastructure Part 1.pdf
AWSome Day Geneva Main Track: Infrastructure Part 1.pdfAWSome Day Geneva Main Track: Infrastructure Part 1.pdf
AWSome Day Geneva Main Track: Infrastructure Part 1.pdf
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Come costruire apllicazioni "12-factor microservices" in AWS
Come costruire apllicazioni "12-factor microservices" in AWSCome costruire apllicazioni "12-factor microservices" in AWS
Come costruire apllicazioni "12-factor microservices" in AWS
 
AWS Webinar Series - Cost Optimisation Levers, Tools, and Strategies
AWS Webinar Series - Cost Optimisation Levers, Tools, and StrategiesAWS Webinar Series - Cost Optimisation Levers, Tools, and Strategies
AWS Webinar Series - Cost Optimisation Levers, Tools, and Strategies
 
Technical Essentials Training: AWS Innovate Ottawa
Technical Essentials Training: AWS Innovate OttawaTechnical Essentials Training: AWS Innovate Ottawa
Technical Essentials Training: AWS Innovate Ottawa
 
Module 1 - AWSome Day Online Conference Thailand
Module 1 - AWSome Day Online Conference Thailand Module 1 - AWSome Day Online Conference Thailand
Module 1 - AWSome Day Online Conference Thailand
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
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?
 

Similar a AWSome Day Online 2020_โมดูล 2: เริ่มต้นใช้งานบน AWS Cloud

Moving your commercial databases to Amazon RDS
Moving your commercial databases to Amazon RDSMoving your commercial databases to Amazon RDS
Moving your commercial databases to Amazon RDS
Amazon Web Services
 

Similar a AWSome Day Online 2020_โมดูล 2: เริ่มต้นใช้งานบน AWS Cloud (20)

AWSome Day Online 2020_Modul 2: Memulai dengan Cloud
AWSome Day Online 2020_Modul 2: Memulai dengan CloudAWSome Day Online 2020_Modul 2: Memulai dengan Cloud
AWSome Day Online 2020_Modul 2: Memulai dengan Cloud
 
Module 2: Getting started with the cloud - AWSome Day Online Conference 2019
 Module 2: Getting started with the cloud - AWSome Day Online Conference 2019 Module 2: Getting started with the cloud - AWSome Day Online Conference 2019
Module 2: Getting started with the cloud - AWSome Day Online Conference 2019
 
Design, Deploy, and Optimize Microsoft SQL Server on AWS (WIN324-R1) - AWS re...
Design, Deploy, and Optimize Microsoft SQL Server on AWS (WIN324-R1) - AWS re...Design, Deploy, and Optimize Microsoft SQL Server on AWS (WIN324-R1) - AWS re...
Design, Deploy, and Optimize Microsoft SQL Server on AWS (WIN324-R1) - AWS re...
 
Getting started with AWS Foundational Services
Getting started with AWS Foundational ServicesGetting started with AWS Foundational Services
Getting started with AWS Foundational Services
 
Module 2: AWS Infrastructure – Compute, Storage and Networking - AWSome Day O...
Module 2: AWS Infrastructure – Compute, Storage and Networking - AWSome Day O...Module 2: AWS Infrastructure – Compute, Storage and Networking - AWSome Day O...
Module 2: AWS Infrastructure – Compute, Storage and Networking - AWSome Day O...
 
Best Practices for Running Microsoft SQL Server on AWS
Best Practices for Running Microsoft SQL Server on AWSBest Practices for Running Microsoft SQL Server on AWS
Best Practices for Running Microsoft SQL Server on AWS
 
Moving your commercial databases to Amazon RDS
Moving your commercial databases to Amazon RDSMoving your commercial databases to Amazon RDS
Moving your commercial databases to Amazon RDS
 
AWSome Day - Israel
AWSome Day - IsraelAWSome Day - Israel
AWSome Day - Israel
 
Oracle and SQL Server on the Cloud - Bill Baldwin
Oracle and SQL Server on the Cloud - Bill BaldwinOracle and SQL Server on the Cloud - Bill Baldwin
Oracle and SQL Server on the Cloud - Bill Baldwin
 
Relational Database Services on AWS - Bill Baldwin, Gareth Eagar
Relational Database Services on AWS - Bill Baldwin, Gareth EagarRelational Database Services on AWS - Bill Baldwin, Gareth Eagar
Relational Database Services on AWS - Bill Baldwin, Gareth Eagar
 
AWS Compute Services
AWS Compute ServicesAWS Compute Services
AWS Compute Services
 
AWS Tech Talks: Armazenamento Híbrido na Nuvem
AWS Tech Talks: Armazenamento Híbrido na NuvemAWS Tech Talks: Armazenamento Híbrido na Nuvem
AWS Tech Talks: Armazenamento Híbrido na Nuvem
 
Oracle & SQL Server on the Cloud: Database Week SF
Oracle & SQL Server on the Cloud: Database Week SFOracle & SQL Server on the Cloud: Database Week SF
Oracle & SQL Server on the Cloud: Database Week SF
 
Oracle & SQL Server on the Cloud: Database Week San Francisco
Oracle & SQL Server on the Cloud: Database Week San FranciscoOracle & SQL Server on the Cloud: Database Week San Francisco
Oracle & SQL Server on the Cloud: Database Week San Francisco
 
Oracle and SQL Server on the Cloud
Oracle and SQL Server on the CloudOracle and SQL Server on the Cloud
Oracle and SQL Server on the Cloud
 
AWS Webcast - Webinar Series for State and Local Government #2: Discover the ...
AWS Webcast - Webinar Series for State and Local Government #2: Discover the ...AWS Webcast - Webinar Series for State and Local Government #2: Discover the ...
AWS Webcast - Webinar Series for State and Local Government #2: Discover the ...
 
Module 2 AWS Foundational Services - AWSome Day Online Conference
Module 2 AWS Foundational Services - AWSome Day Online Conference Module 2 AWS Foundational Services - AWSome Day Online Conference
Module 2 AWS Foundational Services - AWSome Day Online Conference
 
Module 2: AWS Foundational Services - AWSome Day Online Conference
Module 2: AWS Foundational Services - AWSome Day Online ConferenceModule 2: AWS Foundational Services - AWSome Day Online Conference
Module 2: AWS Foundational Services - AWSome Day Online Conference
 
Best Practices running SQL Server on AWS
Best Practices running SQL Server on AWSBest Practices running SQL Server on AWS
Best Practices running SQL Server on AWS
 
AWSome Day Online 2020_Module 3: Building in the cloud
AWSome Day Online 2020_Module 3: Building in the cloudAWSome Day Online 2020_Module 3: Building in the cloud
AWSome Day Online 2020_Module 3: Building in the cloud
 

Más de 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
 

Más de Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
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
 
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
 
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
 

AWSome Day Online 2020_โมดูล 2: เริ่มต้นใช้งานบน AWS Cloud

  • 1. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Module 2: Getting started with the cloud Papon Yongpisanpop Technical Trainer Amazon Web Services • S e s s i o n I D
  • 2. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Getting started with AWS services
  • 3. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS products
  • 4. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Cloud journey v
  • 5. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Build your infrastructure
  • 6. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. What is Amazon EC2? ü Application server ü Web server ü Database server ü Game server ü Mail server ü Media server ü Catalog server ü File server ü Computing server ü Proxy server
  • 7. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Benefits of Amazon EC2 • Elasticity
  • 8. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Benefits of Amazon EC2 • Elasticity • Control
  • 9. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Benefits of Amazon EC2 • Elasticity • Control • Flexibility
  • 10. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Benefits of Amazon EC2 www.example.com Amazon Route 53 Elastic Load Balancing (ELB) Availability Zone #1 Amazon S3 bucket Amazon EBS snapshot root volume Auto Scaling group Security group EC2 instance security group data volume web app server logs CloudFront distribution media.example.com • Elasticity • Control • Flexibility • Integrated
  • 11. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Benefits of Amazon EC2 • Elasticity • Control • Flexibility • Integrated • Reliable
  • 12. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Benefits of Amazon EC2 AWS Cloud• Elasticity • Control • Flexibility • Integrated • Reliable • Secure
  • 13. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Benefits of Amazon EC2 • Elasticity • Control • Flexibility • Integrated • Reliable • Secure • Inexpensive AWS Cloud
  • 14. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Benefits of Amazon EC2 • Elasticity • Control • Flexibility • Integrated • Reliable • Secure • Inexpensive • Easy
  • 15. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Choosing the right Amazon EC2 instances • EC2 Instance types are optimized for different use cases, workloads & come in multiple sizes. This allows you to optimally scale resources to your workload requirements. • AWS utilizes Intel® Xeon® processors for EC2 Instances providing customers with high performance and value. • Consider the following when choosing your instances: core count, memory size, storage size & type, network performance, I/O requirements & CPU technologies. • Hurry Up & Go Idle - A larger compute instance can save you time and money, therefore paying more per hour for a shorter amount of time can be less expensive.
  • 16. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. EC2 instances powered by Intel Technologies EC2 instance type Compute optimized General purpose Memory optimized Storage optimized C5 C4 M5 M4 T2 X1 X1e R4 H1 I3 D2 Intel processor Xeon Platinum 8175M Xeon E5 2666 v3 Xeon Platinum 8175M Xeon E5 2686 v4 2676 v3 Xeon Family Xeon E7 8880 v3 Xeon E7 8880 v3 Xeon E5 2686 v4 Xeon E5 2686 v4 Xeon E5 2686 v4 Xeon E5 2676 v3 Intel processor technology Skylake Haswell Skylake Broadwell Haswell Yes Haswell Haswell Broadwell Broadwell Broadwell Haswell Intel AVX Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Intel AVX2 Yes Yes Yes Yes - Yes Yes Yes Yes Yes Yes Intel AVX-512 Yes - Yes - - - - - - - - Intel turbo boost Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Storage EBS-only EBS-only EBS-only EBS-only EBS- only SSD EBS-Opt SSD EBS-Opt - HDD SSD HDD
  • 17. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. C5: Compute-optimized instances • Based on 3.0 GHz Intel Xeon Scalable Processors (Skylake) • Up to 72 vCPUs and 144 GiB of memory (2:1 Memory:vCPU ratio) • 25 Gbps NW bandwidth • Support for Intel AVX-512 25% price/performance improvement over C4 C4 C5 “We saw significant performance improvement on Amazon EC2 C5, with up to a 140% performance improvement in industry standard CPU benchmarks over C4.” “We are eager to migrate onto the AVX-512 enabled c5.18xlarge instance size… . We expect to decrease the processing time of some of our key workloads by more than 30%.”
  • 18. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. M5: Next-gen general purpose instances • Powered by 2.5 GHz Intel Xeon Scalable Processors (Skylake) • New larger instance size—m5.24xlarge with 96 vCPUs and 384 GiB of memory (4:1 Memory:vCPU ratio) • Improved network and EBS performance on smaller instance sizes • Support for Intel AVX-512 offering up to twice the performance for vector and floating point workloads 14% price/performance improvement With M5 M4 M5
  • 19. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. What’s your platform?
  • 20. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Store your data
  • 21. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Elastic Block Store (Amazon EBS) • Persistent block storage for instances Amazon EBS Volumes Amazon EC2 instance Amazon EC2 instance AWS Cloud
  • 22. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Elastic Block Store (Amazon EBS) • Persistent block storage for instances • Protected through replication Availability zone Amazon EBS Volumes Amazon EC2 instance Amazon EC2 instance AWS Cloud
  • 23. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Elastic Block Store (Amazon EBS) Solid State Drives (SSD) • Provisioned IOPS SSD (io1) Volumes • General Purpose SSD (gp2) Volumes Hard Disk Drives (HDD) • Throughput Optimized HDD (st1) Volumes • Cold HDD (sc1) Volumes • Persistent block storage for instances • Protected through replication • Different drive types Amazon EBS Volumes Amazon EC2 instance Amazon EC2 instance AWS Cloud
  • 24. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Elastic Block Store (Amazon EBS) • Persistent block storage for instances • Protected through replication • Different drive types • Scale up or down in minutes Amazon EBS Volumes Amazon EC2 instance Amazon EC2 instance AWS Cloud
  • 25. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Elastic Block Store (Amazon EBS) • Persistent block storage for instances • Protected through replication • Different drive types • Scale up or down in minutes • Pay for only what you provision Amazon EBS Volumes Amazon EC2 instance Amazon EC2 instance AWS Cloud
  • 26. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Elastic Block Store (Amazon EBS) • Persistent block storage for instances • Protected through replication • Different drive types • Scale up or down in minutes • Pay for only what you provision • Snapshot functionality Amazon EBS Volumes Amazon EC2 instance Amazon EC2 instance AWS Cloud Monday’s snapshot Tuesday’s snapshot Wednesday’s snapshot Thursday’s snapshot Friday’s snapshot
  • 27. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Elastic Block Store (Amazon EBS) • Persistent block storage for instances • Protected through replication • Different drive types • Scale up or down in minutes • Pay for only what you provision • Snapshot functionality • Encryption available Amazon EBS Volumes Amazon EC2 instance Amazon EC2 instance AWS Cloud Monday’s snapshot Tuesday’s snapshot Wednesday’s snapshot Thursday’s snapshot Friday’s snapshot
  • 28. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. What is Amazon S3? • Data is stored as objects within buckets • Unlimited storage • Single object limited to 5TB • 99.999999999% durable • Granular access to bucket and objects
  • 29. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon S3 core functionality • Fast, durable, highly available key-based access to objects • Object storage built to store and retrieve data • Not a file system Amazon S3 bucket Amazon S3 Client ß Object returned CLI sends GET request via S3 API à
  • 30. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon S3 common scenarios • Backup and storage • Application hosting • Media hosting • Software delivery Amazon S3 buckets Corporate DatacenterAmazon EC2 instances
  • 31. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Not just a storage bucket • Requester pays • Versioning • Hosting static websites • Object lifecycle management
  • 32. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. What is Amazon S3 Glacier? • Low-cost data archiving and long-term backup • 3- to 5-hour or within 12 hours* • Can configure lifecycle archiving of Amazon S3 content to Amazon Glacier Amazon S3 Glacier Amazon S3 bucket Archive after 30 days Delete after 5 years
  • 33. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon S3 Glacier use cases Media asset workflows Healthcare information archiving Regulatory and compliance archiving Scientific data storage Digital preservation Magnetic tape replacement
  • 34. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon S3 Glacier vault lock policy • Deploy and enforce compliance controls on individual Amazon Glacier vaults • Vault becomes immutable once locked
  • 35. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon S3 storage classes Storage class Features S3 Standard • ≥3 availability zones S3 Standard – Infrequent Access (IA) • Retrieval fee associated with objects • Most suitable for infrequently accessed data S3 Intelligent- Tiering • Automatically moves objects between tiers based on access patterns • ≥3 availability zones S3 One Zone-IA • 1 availability zone • Costs 20% less than S3 Standard-IA S3 Glacier • Not available for real-time access • Must restore objects before you can access them • Restoring objects can take 1 minute - 12 hours S3 Glacier Deep Archive • Lowest cost storage for long term retention (7-10 years) • ≥3 availability zones • Retrieval time within 12 hours
  • 36. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Architecture example AWS Cloud Internet gateway Internet EC2 Web application Instance store (ephemeral) S3 bucket (static content) EBS volume (database files)
  • 37. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Secure your data
  • 38. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Virtual Private Cloud (Amazon VPC) AWS Cloud Region VPC (IP Range for VPC) Availability Zone A Public subnet Instances Private subnet Public internet Corporate datacenter Instances
  • 39. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Security groups Security Group A Security Group-B Security Group-C Inbound Source Protocol Port Range 0.0.0.0/0 TCP 80 0.0.0.0/0 TCP 443 Inbound Source Protocol Port Range 10.0.1.0/24 TCP 22 Inbound Source Protocol Port Range ID of Security Group B All All VPC Public subnet Private subnet Security group A Instance Instance Security group B Security group C Instance Instance
  • 40. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Security group details • Only “allow” rules; no “deny” rules • Default values: • No inbound traffic allowed • All outbound traffic allowed • Stateful: • Allows responses from allowed inbound traffic
  • 41. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Security groups example SG-Web-Tier Inbound Source Protocol Port Range 0.0.0.0/0 TCP 80 0.0.0.0/0 TCP 443 10.0.16.0/20 TCP 22 Public internet SG-App-Tier Inbound Source Protocol Port Range ID of SG-Web-Tier TCP 6455 10.0.16.0/20 TCP 22 SG-DB-Tier Inbound Source Protocol Port Range ID of SG-App-Tier TCP 3306 10.0.16.0/20 TCP 22 WWW Servers MyPublicSubnet (10.0.0.0/24) VPC SG-Web-Tier MyPrivateSubnet (10.0.1.0/24) SG-App-Tier SG-DB-Tier App Servers DB Servers Corp (10.0.16.0/20)
  • 42. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.