SlideShare a Scribd company logo
1 of 97
Download to read offline
Ian Massingham	 @IanMmmm

Chief Evangelist (EMEA), AWS
Amazon EC2: Masterclass
LIVE
Masterclass
1. A technical deep dive that goes beyond the basics
2. Intended to educate you on how to get the best from AWS services
3. Show you how things work and how to get things done
Amazon EC2
Provides resizable compute capacity in the Cloud
Designed to make web-scale cloud computing easier
A true virtual computing environment
Launch instances with a variety of operating systems
Run as many or few systems as you desire
Amazon EC2
Elastic Web-Scale
Flexible
Inexpensive Secure
Reliable
Completely Controlled
Easy to Start
Amazon EC2
New Amazon EC2/Compute Services Features
Agenda
Amazon EC2 Concepts & Fundamentals
Storage & Networking
Monitoring, Metrics & Logs

Security & Access Control
Deployment
Cost Optimization
Amazon EC2 Concepts
Regions
The geographical area where Amazon EC2 will launch the
instances that you create
Choose a region to optimize latency, minimize costs, or
address regulatory requirements
12 regions around the world
Availability Zones
Distinct locations that are engineered to be insulated from
failures in other Availability Zones
Provide inexpensive, low latency network connectivity to
other Availability Zones in the same Region
Regions contain between 2 & 5 EC2 availability zones
Instances
Amazon EC2 provides a wide selection of instance types
optimized to fit different use cases
Instance types comprise varying combinations of CPU,
memory, storage, and networking capacity
c4.2xlarge r3.4xlarge
Amazon EC2 Fundamentals
Purchasing options
for cost optimization
Available in
different locations
Extensive list of
supported operating
systems & software
Choice of instance
families with differing
resource ratios
Integrated with
other AWS Services
Import and export
virtual machines
Available in
Different Locations
docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html
aws.amazon.com/ec2/faqs/
Extensive list of
supported operating
systems & software
RedHat Linux, Windows Server, SuSE Linux, Ubuntu, Fedora,
Debian, Cent OS, Gentoo Linux, Oracle Linux, and FreeBSD
aws.amazon.com/marketplace
Extensive list of
supported operating
systems & software
Integrated with
other AWS
Services
▶︎ Amazon Elastic Block Store
▶︎ Amazon CloudWatch
▶︎ Amazon Virtual Private Cloud
▶︎ AWS Identity and Access Management
aws.amazon.com/ec2/purchasing-options/
Purchasing options
for cost optimisationOn-Demand Instances
Pay for compute capacity by the hour with no long-term
commitments or upfront payments
Reserved Instances
Provide you with a significant discount (up to 75%)
compared to On-Demand Instance pricing
Spot Instances
Purchase compute capacity with no upfront commitment
and at hourly rates usually lower than the On-Demand
rate
aws.amazon.com/ec2/vm-import/
Import and export
virtual machines
aws.amazon.com/ec2/instance-types/
Choice of instance
families with differing
resource ratios
i2.xlarge (Storage-Optimized)
FamilyGeneration
Type
docs.aws.amazon.com/AWSEC2/latest/UserGuide/t2-instances.html
T2 Instances : Low Cost EC2 Instances with Burstable Performance
C4 Instances : Highest Compute Performance on Amazon EC2
docs.aws.amazon.com/AWSEC2/latest/UserGuide/c4-instances.html
Coming Soon: Amazon EC2 X1 Instances
Amazon EC2 X1 Instances are high-memory instances designed for in-
memory databases such as SAP HANA as well as memory intensive and
latency sensitive workloads such as Microsoft SQL Server, Apache Spark,
and Presto. X1 instances will have up to 2 TB of instance memory, and are
powered by four-way 2.3 GHz Intel® Xeon® E7 8880 v3 (Haswell)
processors, which offer high memory bandwidth and a large L3 cache to
boost performance of in-memory applications.
Demo: Getting Started with EC2
Creating EC2 Instances with the AWS CLI
docs.aws.amazon.com/cli/latest/reference/ec2/index.html
Amazon Machine Image ID
aws ec2 run-instances 
--image-id ami-c229c0a2 
--instance-type m3.medium 
--count 5 
--security-group-ids sg-9d5c2dfa 
--subnet-id subnet-608ebb14 
--key-name ec2-masterclass
Creating EC2 Instances with the AWS CLI
docs.aws.amazon.com/cli/latest/reference/ec2/index.html
EC2 Instance type to run
aws ec2 run-instances 
--image-id ami-c229c0a2 
--instance-type m3.medium 
--count 5 
--security-group-ids sg-9d5c2dfa 
--subnet-id subnet-608ebb14 
--key-name ec2-masterclass
Creating EC2 Instances with the AWS CLI
docs.aws.amazon.com/cli/latest/reference/ec2/index.html
Number of instances to run
aws ec2 run-instances 
--image-id ami-c229c0a2 
--instance-type m3.medium 
--count 5 
--security-group-ids sg-9d5c2dfa 
--subnet-id subnet-608ebb14 
--key-name ec2-masterclass
Creating EC2 Instances with the AWS CLI
docs.aws.amazon.com/cli/latest/reference/ec2/index.html
Security group to apply to instance(s)aws ec2 run-instances 
--image-id ami-c229c0a2 
--instance-type m3.medium 
--count 5 
--security-group-ids sg-9d5c2dfa 
--subnet-id subnet-608ebb14 
--key-name ec2-masterclass
Creating EC2 Instances with the AWS CLI
docs.aws.amazon.com/cli/latest/reference/ec2/index.html
Subnet ID to launch instances within
aws ec2 run-instances 
--image-id ami-c229c0a2 
--instance-type m3.medium 
--count 5 
--security-group-ids sg-9d5c2dfa 
--subnet-id subnet-608ebb14 
--key-name ec2-masterclass
Creating EC2 Instances with the AWS CLI
docs.aws.amazon.com/cli/latest/reference/ec2/index.html
Key pair to secure access to instance(s)
aws ec2 run-instances 
--image-id ami-c229c0a2 
--instance-type m3.medium 
--count 5 
--security-group-ids sg-9d5c2dfa 
--subnet-id subnet-608ebb14 
--key-name ec2-masterclass
Managing EC2 via the AWS CLI AWS CLI
Detailed help on a
specific command
In this case:
aws ec2 run-instances
Managing EC2 via the AWS CLI AWS CLI
Detailed help on a
specific command
In this case:
aws ec2 run-instances
docs.aws.amazon.com/cli/latest/reference/ec2/index.html
Launching and Terminating Instances
>>> import boto3
>>> client = boto3.client('ec2')
>>> response=client.run_instances(DryRun=True, ImageId='ami-c229c0a2', MinCount=5, MaxCount=5,
InstanceType='m3.medium', KeyName='ec2-masterclass', SecurityGroupIds=['sg-9d5c2dfa'],
SubnetId='subnet-608ebb14')
>>> response = client.terminate_instances(InstanceIds=['i-d4116c0c'])
>>> print response
{u'TerminatingInstances': [{u'InstanceId': 'i-d4116c0c', u'CurrentState': {u'Code': 32, u'Name':
'shutting-down'}, u'PreviousState': {u'Code': 16, u'Name': 'running'}}], 'ResponseMetadata':
{'HTTPStatusCode': 200, 'RequestId': 'e7b021e8-dc9a-4757-8698-9c747a5a702a'}}
>>> instance=boto3.resource('ec2')
>>> instance = ec2.instance('i-d3116c0b')
>>> instance.terminate(){u'TerminatingInstances': [{u'InstanceId': 'i-d3116c0b',
u'CurrentState': {u'Code': 32, u'Name': 'shutting-down'}, u'PreviousState': {u'Code': 16,
u'Name': 'running'}}], 'ResponseMetadata': {'HTTPStatusCode': 200, 'RequestId': 'a7ca0aeb-
b35e-4555-8d89-faacacb3c2ca'}}
>>>
Python Boto3
github.com/boto/boto3
Storage
Data Storage Options
Instance Store
Physically attached

to the host computer
Type and amount differs

by instance type



Data dependent upon instance
lifecycle
Data Storage Options
Amazon EBS
Persistent block level storage
volumes



Magnetic
General Purpose (SSD)
Provisioned IOPS (SSD)

Data independent of instance
lifecycle
Instance Store
Physically attached

to the host computer
Type and amount differs

by instance type



Data dependent upon
instance lifecycle
Instance store data persists if:
• The OS in the instance is rebooted
• The instance is restarted
Instance store data is lost when:
• An underlying instance drive fails
• An EBS-backed instance is stopped
• The instance is terminated
Amazon EBS
Persistent block level
storage volumes



Magnetic
General Purpose (SSD)
Provisioned IOPS (SSD)

Data independent of
instance lifecycle
EBS Volumes
EBS volumes automatically replicated
within the Availability Zone (AZ) in
which they are created
Use EBS-optimized instances to deliver
dedicated throughput between Amazon
EC2 and Amazon EBS, with options
between 500 and 4,000 Mbps,
depending on the instance type
Amazon EBS
Persistent block level
storage volumes



Magnetic
General Purpose (SSD)
Provisioned IOPS (SSD)

Data independent of
instance lifecycle
EBS Volumes
EBS volumes attached to a running
instance automatically detach from the
instance with their data intact when that
instance is terminated.
EBS volumes created and attached to an
instance at launch are deleted when that
instance is terminated. You can modify
this behavior by changing the value of
the flag DeleteOnTermination.
Amazon EBS
Persistent block level
storage volumes



Magnetic
General Purpose (SSD)
Provisioned IOPS (SSD)

Data independent of
instance lifecycle
EBS Snapshots
An EBS snapshot is a point-in-time
backup copy of an EBS volume that is
stored in Amazon S3
Snapshots are incremental, only the
blocks that have changed after your
most recent snapshot are saved
Amazon EBS
Persistent block level
storage volumes



Magnetic
General Purpose (SSD)
Provisioned IOPS (SSD)

Data independent of
instance lifecycle
EBS Snapshots
When you delete a snapshot, only the
data exclusive to that snapshot is
removed
Can be shared across AWS accounts or
copied across AWS regions
Amazon EBS
Persistent block level
storage volumes



Magnetic
General Purpose (SSD)
Provisioned IOPS (SSD)

Data independent of
instance lifecycle
EBS Encryption
Data stored at rest on the volume, disk I/
O, and snapshots created from the
volume are all encrypted
The encryption occurs on the servers
that host Amazon EC2 instances,
providing encryption of data-in-transit
from EC2 instances to EBS storage
Amazon EBS
Persistent block level
storage volumes



Magnetic
General Purpose (SSD)
Provisioned IOPS (SSD)

Data independent of
instance lifecycle
EBS Encryption
Uses AWS Key Management Service
(AWS KMS) master keys unless you
select a Customer Master Key (CMK).
Creating your own CMK gives you the
ability to create, rotate, disable, define
access controls, and audit the encryption
keys.
General Purpose (SSD)
Up to 16TB
10,000 IOPS (burst)
Up to 160 MBps
EBS Volumes: Larger & Faster
Provisioned IOPS (SSD)
Up to 16TB
20,000 IOPS
Up to 320 MBps
Demo: Working with EBS Volumes
Networking
Amazon VPC
Amazon VPC

A virtual network in your own logically isolated area within
the AWS cloud populated by infrastructure, platform, and
application services that share common security and
interconnection
aws.amazon.com/vpc/
VPC Networking
• Elastic Network Interface (ENI)
• Subnet
• Network Access Control List (NACL)
• Route Table
• Internet Gateway
• Virtual Private Gateway
• Route 53 Private Hosted Zone
VPC Network Topology
A VPC can span multiple AZs, but each subnet must reside
entirely within one AZ
Use at least 2 subnets in different AZs for each layer of your
network
Control of Subnets and Routing Tables
VPC Creation with the VPC Wizard
VPC Creation with AWS CloudFormation

VPC Peering
A networking connection between two VPCs
docs.aws.amazon.com/AmazonVPC/latest/UserGuide/vpc-peering.html
ClassicLink
Private Communication Between Classic EC2 Instances &
VPC Resources
aws.amazon.com/blogs/aws/classiclink-private-communication-between-classic-ec2-instances-vpc-resources/
Elastic Load Balancing
aws.amazon.com/elasticloadbalancing/
Elastic Load Balancing
Timeout Configuration
Connection Draining
Cross-zone Load Balancing
aws.amazon.com/elasticloadbalancing/
Monitoring, Metrics & Logs
Amazon CloudWatch
aws.amazon.com/cloudwatch/
Amazon CloudWatch
A monitoring service for AWS cloud resources and the
applications you run on AWS.
Use Amazon CloudWatch to collect and track metrics,
collect and monitor log files, and set alarms.
aws.amazon.com/cloudwatch/
Amazon CloudWatch
CloudWatch Metrics in the EC2 Console
Monitoring Scripts for EC2 Instances
docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/mon-scripts.html
Amazon CloudWatch Logs
Monitor applications and systems using log data
Store in a highly durable storage & set retention policies
Access your log files via Web, CLI or SDK
Amazon EC2 (Linux & Windows)
AWS Lambda
…
docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/WhatIsCloudWatchLogs.html
CloudWatch Metrics & Alarms
AWS
Resource
Your
Custom
Data
Metric Alarm Action
CloudWatch
CloudWatch Logs + Filter
AWS
Resource
Your
Custom
Data
Metric Alarm Action
CloudWatch
FilterLogs
Alarm Actions
Action
Notification
(SNS)
Auto
Scaling
Action
EC2 Action
Recover
Stop
Terminate
Amazon EC2
Auto Recovery
Use this action
together with
Status Checks
to automate
instance recovery
Security & Access Control
Access Credentials
Access key and secret key used to
authenticate when accessing AWS
APIs
Key Pairs
Public key and private key used to
authenticate when accessing an
Amazon EC2 instance
Use IAM Roles to pass access credentials to EC2 instances
Demo: Using IAM Roles
Deployment
Amazon Machine Images
Amazon
maintained
Set of Linux and 

Windows images
Kept up to date by
Amazon in each
region
Community
maintained
Images published by
other AWS users
Managed and
maintained by
Marketplace
partners
Your machine
images
AMIs you have
created from EC2
instances
Can be kept private
or shared with other
accounts
Create an AMI
Start an instance
Configure the instance
Create an AMI from your instance
Start new ones from the AMI
Create an AMI
Start an instance
Configure the instance
Create an AMI from your instance
Start new ones from the AMI
Configure Dynamically
Launch an instance
Use metadata service & cloud-init
to perform actions on the instance
when it launches
EC2 Instance Metadata
$ curl http://169.254.169.254/latest/meta-data/
ami-id
ami-launch-index
ami-manifest-path
block-device-mapping/
hostname
instance-action
instance-id
instance-type
kernel-id
local-hostname
local-ipv4
mac
network/
placement/
public-hostname
public-ipv4
public-keys/
reservation-id
security-groups
services/
$ curl http://169.254.169.254/latest/user-data
…
docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
EC2 User-data
Windows
<script>…</script>
or
<powershell>…</powershell>
Linux
#!/bin/bash
yum update -y
AWS provided AMIs include services that access
and execute the contents of the User data
attribute in EC2 Instance Metadata at instance
creation time
This can be used for automated instance
bootstrapping at instance creation time
Create an AMI
Start an instance
Configure the instance
Create an AMI from your instance
Start new ones from the AMI
Configure Dynamically
Launch an instance
Use metadata service & cloud-init
to perform actions on the instance
when it launches
These two approaches are not mutually exclusive
Time consuming configuration
startup time
Static configurations

less change management
Create an

AMI
Configure
dynamically
Continuous deployment

latest code
Environment specific

dev-test-prod
Create an

AMI
Configure
dynamically
Auto Scaling
Maintain EC2 instance availability
Detects impaired EC2 instances
Replaces the instances
automatically
Automatically Scale Your Amazon EC2 Fleet
Follow the demand curve for your
applications
Reduce the need to manually
provision Amazon EC2 capacity
Run at optimal utilization
Launch
Configuration
Describes what Auto Scaling will
create when adding Instances
Only one active launch
configuration at a time
aws autoscaling create-launch-configuration	
--launch-configuration-name launch-config
--image-id ami-54cf5c3d	
--instance-type m3.medium	
--key-name mykey	
--security-groups webservers
Auto Scaling
Group
Auto Scaling managed grouping
of EC2 instances
Automatically scale the number
of instances by policy
aws autoscaling create-auto-scaling-group	
--auto-scaling-group-name autoscaling-group	
--availability-zones eu-west-1a eu-west-1b	
--launch-configuration launch-config	
--load-balancer-names myELB	
--min-size 1	
--max-size 5
Auto Scaling
Policy
Parameters for performing an Auto
Scaling action
Scale Up/Down and by how muchh
aws autoscaling put-scaling-policy	
--auto-scaling-group-name autoscaling-group	
--policy-name autoscaling-policy	
--min-adjustment-magnitude=2	
--adjustment-type ChangeInCapacity	
--cooldown 300
Utilization & Auto Scaling Granularity
00:00 02:00 04:00 06:00 08:00 10:00 12:00 14:00 16:00 18:00 20:00 22:00
Utilization & Auto Scaling Granularity
00:00 02:00 04:00 06:00 08:00 10:00 12:00 14:00 16:00 18:00 20:00 22:00
41 Instance Hours

m4.large @ $0.12/hr
= $4.92/day
Utilization & Auto Scaling Granularity
00:00 02:00 04:00 06:00 08:00 10:00 12:00 14:00 16:00 18:00 20:00 22:00
70 Instance Hours

t2.small @ $0.026/hr
= $1.82/day
63%SAVING
New Scaling Policies for More Responsive Scaling

aws.amazon.com/blogs/aws/auto-scaling-update-new-scaling-policies-for-more-responsive-scaling
Cost Optimization
On-Demand Instances
Pay for compute capacity by the hour with no long-term
commitments or upfront payments
Reserved Instances
Provide you with a significant discount (up to 75%) compared to
On-Demand Instance pricing
Spot Instances
Purchase compute capacity with no upfront commitment and at
hourly rates usually lower than the On-Demand rate
aws.amazon.com/ec2/purchasing-options/
Getting Started with Reserved Instances
aws.amazon.com/ec2/purchasing-options/reserved-instances/getting-started/
Spot Instances
Spot Instances are spare Amazon EC2 instances that you can bid on.
The Spot price fluctuates in real-time based on supply and demand.
When your bid exceeds the Spot Price and spot capacity is available,
your Spot instance is launched and will run until the Spot market price
exceeds your bid (a Spot interruption).
aws.amazon.com/ec2/purchasing-options/spot-instances/
Useful Resources
aws.amazon.com/ec2/
Thank You
Ian Massingham	 @IanMmmm

Chief Evangelist (EMEA), AWS

More Related Content

What's hot

AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...
AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...
AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...Simplilearn
 
AWS Webcast - Introduction to EBS
AWS Webcast - Introduction to EBS AWS Webcast - Introduction to EBS
AWS Webcast - Introduction to EBS Amazon Web Services
 
Access Control for the Cloud: AWS Identity and Access Management (IAM) (SEC20...
Access Control for the Cloud: AWS Identity and Access Management (IAM) (SEC20...Access Control for the Cloud: AWS Identity and Access Management (IAM) (SEC20...
Access Control for the Cloud: AWS Identity and Access Management (IAM) (SEC20...Amazon Web Services
 
Advanced Security Best Practices Masterclass
Advanced Security Best Practices MasterclassAdvanced Security Best Practices Masterclass
Advanced Security Best Practices MasterclassAmazon Web Services
 
Set it and Forget it: Auto Scaling Target Tracking Policies - AWS Online Tech...
Set it and Forget it: Auto Scaling Target Tracking Policies - AWS Online Tech...Set it and Forget it: Auto Scaling Target Tracking Policies - AWS Online Tech...
Set it and Forget it: Auto Scaling Target Tracking Policies - AWS Online Tech...Amazon Web Services
 
Disaster Recovery with the AWS Cloud
Disaster Recovery with the AWS CloudDisaster Recovery with the AWS Cloud
Disaster Recovery with the AWS CloudAmazon Web Services
 
Amazon Elastic Compute Cloud (EC2) - Module 2 Part 1 - AWSome Day 2017
Amazon Elastic Compute Cloud (EC2) - Module 2 Part 1 - AWSome Day 2017Amazon Elastic Compute Cloud (EC2) - Module 2 Part 1 - AWSome Day 2017
Amazon Elastic Compute Cloud (EC2) - Module 2 Part 1 - AWSome Day 2017Amazon Web Services
 
Amazon AWS | What is Amazon AWS | AWS Tutorial | AWS Training | Edureka
Amazon AWS | What is Amazon AWS | AWS Tutorial | AWS Training | EdurekaAmazon AWS | What is Amazon AWS | AWS Tutorial | AWS Training | Edureka
Amazon AWS | What is Amazon AWS | AWS Tutorial | AWS Training | EdurekaEdureka!
 
(SEC318) AWS CloudTrail Deep Dive
(SEC318) AWS CloudTrail Deep Dive(SEC318) AWS CloudTrail Deep Dive
(SEC318) AWS CloudTrail Deep DiveAmazon Web Services
 

What's hot (20)

AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...
AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...
AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...
 
AWS EC2
AWS EC2AWS EC2
AWS EC2
 
Getting Started with Amazon EC2
Getting Started with Amazon EC2Getting Started with Amazon EC2
Getting Started with Amazon EC2
 
AWS Webcast - Introduction to EBS
AWS Webcast - Introduction to EBS AWS Webcast - Introduction to EBS
AWS Webcast - Introduction to EBS
 
Access Control for the Cloud: AWS Identity and Access Management (IAM) (SEC20...
Access Control for the Cloud: AWS Identity and Access Management (IAM) (SEC20...Access Control for the Cloud: AWS Identity and Access Management (IAM) (SEC20...
Access Control for the Cloud: AWS Identity and Access Management (IAM) (SEC20...
 
Advanced Security Best Practices Masterclass
Advanced Security Best Practices MasterclassAdvanced Security Best Practices Masterclass
Advanced Security Best Practices Masterclass
 
IAM Best Practices
IAM Best PracticesIAM Best Practices
IAM Best Practices
 
Set it and Forget it: Auto Scaling Target Tracking Policies - AWS Online Tech...
Set it and Forget it: Auto Scaling Target Tracking Policies - AWS Online Tech...Set it and Forget it: Auto Scaling Target Tracking Policies - AWS Online Tech...
Set it and Forget it: Auto Scaling Target Tracking Policies - AWS Online Tech...
 
Amazon services ec2
Amazon services ec2Amazon services ec2
Amazon services ec2
 
AWS EC2 Fundametals
AWS EC2 FundametalsAWS EC2 Fundametals
AWS EC2 Fundametals
 
AWS Storage Gateway
AWS Storage GatewayAWS Storage Gateway
AWS Storage Gateway
 
Disaster Recovery with the AWS Cloud
Disaster Recovery with the AWS CloudDisaster Recovery with the AWS Cloud
Disaster Recovery with the AWS Cloud
 
AWS Storage Options
AWS Storage OptionsAWS Storage Options
AWS Storage Options
 
Amazon EC2 Masterclass
Amazon EC2 MasterclassAmazon EC2 Masterclass
Amazon EC2 Masterclass
 
Deep Dive Amazon EC2
Deep Dive Amazon EC2Deep Dive Amazon EC2
Deep Dive Amazon EC2
 
Amazon Elastic Compute Cloud (EC2) - Module 2 Part 1 - AWSome Day 2017
Amazon Elastic Compute Cloud (EC2) - Module 2 Part 1 - AWSome Day 2017Amazon Elastic Compute Cloud (EC2) - Module 2 Part 1 - AWSome Day 2017
Amazon Elastic Compute Cloud (EC2) - Module 2 Part 1 - AWSome Day 2017
 
Amazon AWS | What is Amazon AWS | AWS Tutorial | AWS Training | Edureka
Amazon AWS | What is Amazon AWS | AWS Tutorial | AWS Training | EdurekaAmazon AWS | What is Amazon AWS | AWS Tutorial | AWS Training | Edureka
Amazon AWS | What is Amazon AWS | AWS Tutorial | AWS Training | Edureka
 
Introduction to Amazon EC2
Introduction to Amazon EC2Introduction to Amazon EC2
Introduction to Amazon EC2
 
AWS 101
AWS 101AWS 101
AWS 101
 
(SEC318) AWS CloudTrail Deep Dive
(SEC318) AWS CloudTrail Deep Dive(SEC318) AWS CloudTrail Deep Dive
(SEC318) AWS CloudTrail Deep Dive
 

Viewers also liked

Amazon EC2 - Masterclass - Pop-up Loft Tel Aviv
Amazon EC2 - Masterclass - Pop-up Loft Tel AvivAmazon EC2 - Masterclass - Pop-up Loft Tel Aviv
Amazon EC2 - Masterclass - Pop-up Loft Tel AvivAmazon Web Services
 
Tutorial - Cloud Computing Primeiros Acessos Linux
Tutorial - Cloud Computing Primeiros Acessos LinuxTutorial - Cloud Computing Primeiros Acessos Linux
Tutorial - Cloud Computing Primeiros Acessos LinuxTecla Internet
 
AWS October Webinar Series - Using Spot Instances to Save up to 90% off Your ...
AWS October Webinar Series - Using Spot Instances to Save up to 90% off Your ...AWS October Webinar Series - Using Spot Instances to Save up to 90% off Your ...
AWS October Webinar Series - Using Spot Instances to Save up to 90% off Your ...Amazon Web Services
 
IAM Best Practices to Live By - Pop-up Loft Tel Aviv
IAM Best Practices to Live By - Pop-up Loft Tel AvivIAM Best Practices to Live By - Pop-up Loft Tel Aviv
IAM Best Practices to Live By - Pop-up Loft Tel AvivAmazon Web Services
 
Advanced security best practices - Masterclass - Pop-up Loft Tel Aviv
Advanced security best practices - Masterclass - Pop-up Loft Tel AvivAdvanced security best practices - Masterclass - Pop-up Loft Tel Aviv
Advanced security best practices - Masterclass - Pop-up Loft Tel AvivAmazon Web Services
 
Keeping Developers and Auditors Happy in the Cloud
Keeping Developers and Auditors Happy in the Cloud Keeping Developers and Auditors Happy in the Cloud
Keeping Developers and Auditors Happy in the Cloud Amazon Web Services
 
Maintaining Trust & Control of your Data in the Cloud
Maintaining Trust & Control of your Data in the CloudMaintaining Trust & Control of your Data in the Cloud
Maintaining Trust & Control of your Data in the CloudAmazon Web Services
 
The Science of Saving with AWS Reserved Instances -Session Sponsored by Cloud...
The Science of Saving with AWS Reserved Instances -Session Sponsored by Cloud...The Science of Saving with AWS Reserved Instances -Session Sponsored by Cloud...
The Science of Saving with AWS Reserved Instances -Session Sponsored by Cloud...Amazon Web Services
 
What's (nearly) new | AWS Security Roadshow Dublin
What's (nearly) new | AWS Security Roadshow DublinWhat's (nearly) new | AWS Security Roadshow Dublin
What's (nearly) new | AWS Security Roadshow DublinAmazon Web Services
 
AWS Certification Paths And Tips for Getting Certified
AWS Certification Paths And Tips for Getting CertifiedAWS Certification Paths And Tips for Getting Certified
AWS Certification Paths And Tips for Getting CertifiedAdam Book
 
Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency
Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum EfficiencyDeploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency
Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum EfficiencyAmazon Web Services
 
AWSome Day Intro - Copenhagen 20160309
AWSome Day Intro - Copenhagen 20160309AWSome Day Intro - Copenhagen 20160309
AWSome Day Intro - Copenhagen 20160309Amazon Web Services
 
Building enterprise class disaster recovery as a service to aws - session spo...
Building enterprise class disaster recovery as a service to aws - session spo...Building enterprise class disaster recovery as a service to aws - session spo...
Building enterprise class disaster recovery as a service to aws - session spo...Amazon Web Services
 
Cloud is the New Normal, So How Do I Get Started? - Business
Cloud is the New Normal, So How Do I Get Started? - BusinessCloud is the New Normal, So How Do I Get Started? - Business
Cloud is the New Normal, So How Do I Get Started? - BusinessAmazon Web Services
 
支援大規模流量的網站應用程式雲端架構 (Web Applications on AWS)
支援大規模流量的網站應用程式雲端架構 (Web Applications on AWS)支援大規模流量的網站應用程式雲端架構 (Web Applications on AWS)
支援大規模流量的網站應用程式雲端架構 (Web Applications on AWS)Amazon Web Services
 
Cloud computing e Amazon Web Services
Cloud computing e Amazon Web ServicesCloud computing e Amazon Web Services
Cloud computing e Amazon Web ServicesRafael Biriba
 

Viewers also liked (20)

Introduction to Amazon EC2
Introduction to Amazon EC2Introduction to Amazon EC2
Introduction to Amazon EC2
 
Introduction on Amazon EC2
 Introduction on Amazon EC2 Introduction on Amazon EC2
Introduction on Amazon EC2
 
Amazon EC2 - Masterclass - Pop-up Loft Tel Aviv
Amazon EC2 - Masterclass - Pop-up Loft Tel AvivAmazon EC2 - Masterclass - Pop-up Loft Tel Aviv
Amazon EC2 - Masterclass - Pop-up Loft Tel Aviv
 
Tutorial - Cloud Computing Primeiros Acessos Linux
Tutorial - Cloud Computing Primeiros Acessos LinuxTutorial - Cloud Computing Primeiros Acessos Linux
Tutorial - Cloud Computing Primeiros Acessos Linux
 
AWS October Webinar Series - Using Spot Instances to Save up to 90% off Your ...
AWS October Webinar Series - Using Spot Instances to Save up to 90% off Your ...AWS October Webinar Series - Using Spot Instances to Save up to 90% off Your ...
AWS October Webinar Series - Using Spot Instances to Save up to 90% off Your ...
 
The Nordic Startup Scene
The Nordic Startup SceneThe Nordic Startup Scene
The Nordic Startup Scene
 
IAM Best Practices to Live By - Pop-up Loft Tel Aviv
IAM Best Practices to Live By - Pop-up Loft Tel AvivIAM Best Practices to Live By - Pop-up Loft Tel Aviv
IAM Best Practices to Live By - Pop-up Loft Tel Aviv
 
Advanced security best practices - Masterclass - Pop-up Loft Tel Aviv
Advanced security best practices - Masterclass - Pop-up Loft Tel AvivAdvanced security best practices - Masterclass - Pop-up Loft Tel Aviv
Advanced security best practices - Masterclass - Pop-up Loft Tel Aviv
 
Keeping Developers and Auditors Happy in the Cloud
Keeping Developers and Auditors Happy in the Cloud Keeping Developers and Auditors Happy in the Cloud
Keeping Developers and Auditors Happy in the Cloud
 
Maintaining Trust & Control of your Data in the Cloud
Maintaining Trust & Control of your Data in the CloudMaintaining Trust & Control of your Data in the Cloud
Maintaining Trust & Control of your Data in the Cloud
 
The Science of Saving with AWS Reserved Instances -Session Sponsored by Cloud...
The Science of Saving with AWS Reserved Instances -Session Sponsored by Cloud...The Science of Saving with AWS Reserved Instances -Session Sponsored by Cloud...
The Science of Saving with AWS Reserved Instances -Session Sponsored by Cloud...
 
What's (nearly) new | AWS Security Roadshow Dublin
What's (nearly) new | AWS Security Roadshow DublinWhat's (nearly) new | AWS Security Roadshow Dublin
What's (nearly) new | AWS Security Roadshow Dublin
 
AWS Certification Paths And Tips for Getting Certified
AWS Certification Paths And Tips for Getting CertifiedAWS Certification Paths And Tips for Getting Certified
AWS Certification Paths And Tips for Getting Certified
 
Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency
Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum EfficiencyDeploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency
Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency
 
AWSome Day Intro - Copenhagen 20160309
AWSome Day Intro - Copenhagen 20160309AWSome Day Intro - Copenhagen 20160309
AWSome Day Intro - Copenhagen 20160309
 
Startup Showcase - Mojang
Startup Showcase - MojangStartup Showcase - Mojang
Startup Showcase - Mojang
 
Building enterprise class disaster recovery as a service to aws - session spo...
Building enterprise class disaster recovery as a service to aws - session spo...Building enterprise class disaster recovery as a service to aws - session spo...
Building enterprise class disaster recovery as a service to aws - session spo...
 
Cloud is the New Normal, So How Do I Get Started? - Business
Cloud is the New Normal, So How Do I Get Started? - BusinessCloud is the New Normal, So How Do I Get Started? - Business
Cloud is the New Normal, So How Do I Get Started? - Business
 
支援大規模流量的網站應用程式雲端架構 (Web Applications on AWS)
支援大規模流量的網站應用程式雲端架構 (Web Applications on AWS)支援大規模流量的網站應用程式雲端架構 (Web Applications on AWS)
支援大規模流量的網站應用程式雲端架構 (Web Applications on AWS)
 
Cloud computing e Amazon Web Services
Cloud computing e Amazon Web ServicesCloud computing e Amazon Web Services
Cloud computing e Amazon Web Services
 

Similar to Amazon EC2:Masterclass

AWS March 2016 Webinar Series - Amazon EC2 Masterclass
AWS March 2016 Webinar Series - Amazon EC2 MasterclassAWS March 2016 Webinar Series - Amazon EC2 Masterclass
AWS March 2016 Webinar Series - Amazon EC2 MasterclassAmazon Web Services
 
Amazon cloud intance launch3
Amazon cloud intance launch3Amazon cloud intance launch3
Amazon cloud intance launch3Zenita Smythe
 
Amazon cloud intance launch3
Amazon cloud intance launch3Amazon cloud intance launch3
Amazon cloud intance launch3Zenita Smythe
 
Amazon cloud intance launch
Amazon cloud intance launchAmazon cloud intance launch
Amazon cloud intance launchZenita Smythe
 
AWS Webcast - Amazon EC2 Masterclass
AWS Webcast - Amazon EC2 MasterclassAWS Webcast - Amazon EC2 Masterclass
AWS Webcast - Amazon EC2 MasterclassAmazon Web Services
 
The IoT Academy_awstraining_part2_aws_ec2_iaas
The IoT Academy_awstraining_part2_aws_ec2_iaasThe IoT Academy_awstraining_part2_aws_ec2_iaas
The IoT Academy_awstraining_part2_aws_ec2_iaasThe IOT Academy
 
Architecting for the Cloud: Best Practices
Architecting for the Cloud: Best PracticesArchitecting for the Cloud: Best Practices
Architecting for the Cloud: Best PracticesAmazon Web Services
 
Workshop: Deploy a Deep Learning Framework on Amazon ECS
Workshop: Deploy a Deep Learning Framework on Amazon ECSWorkshop: Deploy a Deep Learning Framework on Amazon ECS
Workshop: Deploy a Deep Learning Framework on Amazon ECSAmazon Web Services
 
AWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh Varia
AWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh VariaAWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh Varia
AWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh VariaAmazon Web Services
 
Weaveworks at AWS re:Invent 2016: Operations Management with Amazon ECS
Weaveworks at AWS re:Invent 2016: Operations Management with Amazon ECSWeaveworks at AWS re:Invent 2016: Operations Management with Amazon ECS
Weaveworks at AWS re:Invent 2016: Operations Management with Amazon ECSWeaveworks
 
Scaling drupal horizontally and in cloud
Scaling drupal horizontally and in cloudScaling drupal horizontally and in cloud
Scaling drupal horizontally and in cloudVladimir Ilic
 
Introduction to EC2
Introduction to EC2Introduction to EC2
Introduction to EC2Mark Squires
 
AWS Compute Services
AWS Compute ServicesAWS Compute Services
AWS Compute ServicesSabir Mustafa
 

Similar to Amazon EC2:Masterclass (20)

AWS March 2016 Webinar Series - Amazon EC2 Masterclass
AWS March 2016 Webinar Series - Amazon EC2 MasterclassAWS March 2016 Webinar Series - Amazon EC2 Masterclass
AWS March 2016 Webinar Series - Amazon EC2 Masterclass
 
Masterclass Live: Amazon EC2
Masterclass Live: Amazon EC2 Masterclass Live: Amazon EC2
Masterclass Live: Amazon EC2
 
EC2.pdf
EC2.pdfEC2.pdf
EC2.pdf
 
Amazon cloud intance launch3
Amazon cloud intance launch3Amazon cloud intance launch3
Amazon cloud intance launch3
 
Amazon cloud intance launch3
Amazon cloud intance launch3Amazon cloud intance launch3
Amazon cloud intance launch3
 
Amazon cloud intance launch
Amazon cloud intance launchAmazon cloud intance launch
Amazon cloud intance launch
 
CC ppt.pptx
CC ppt.pptxCC ppt.pptx
CC ppt.pptx
 
AWS Webcast - Amazon EC2 Masterclass
AWS Webcast - Amazon EC2 MasterclassAWS Webcast - Amazon EC2 Masterclass
AWS Webcast - Amazon EC2 Masterclass
 
The IoT Academy_awstraining_part2_aws_ec2_iaas
The IoT Academy_awstraining_part2_aws_ec2_iaasThe IoT Academy_awstraining_part2_aws_ec2_iaas
The IoT Academy_awstraining_part2_aws_ec2_iaas
 
應用開發新思維
應用開發新思維應用開發新思維
應用開發新思維
 
Architecting for the Cloud: Best Practices
Architecting for the Cloud: Best PracticesArchitecting for the Cloud: Best Practices
Architecting for the Cloud: Best Practices
 
Workshop: Deploy a Deep Learning Framework on Amazon ECS
Workshop: Deploy a Deep Learning Framework on Amazon ECSWorkshop: Deploy a Deep Learning Framework on Amazon ECS
Workshop: Deploy a Deep Learning Framework on Amazon ECS
 
Introduction to Amazon EC2
Introduction to Amazon EC2Introduction to Amazon EC2
Introduction to Amazon EC2
 
Aws class demo
Aws class demoAws class demo
Aws class demo
 
AWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh Varia
AWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh VariaAWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh Varia
AWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh Varia
 
Weaveworks at AWS re:Invent 2016: Operations Management with Amazon ECS
Weaveworks at AWS re:Invent 2016: Operations Management with Amazon ECSWeaveworks at AWS re:Invent 2016: Operations Management with Amazon ECS
Weaveworks at AWS re:Invent 2016: Operations Management with Amazon ECS
 
Amazon EC2
Amazon EC2Amazon EC2
Amazon EC2
 
Scaling drupal horizontally and in cloud
Scaling drupal horizontally and in cloudScaling drupal horizontally and in cloud
Scaling drupal horizontally and in cloud
 
Introduction to EC2
Introduction to EC2Introduction to EC2
Introduction to EC2
 
AWS Compute Services
AWS Compute ServicesAWS Compute Services
AWS Compute Services
 

More from Amazon Web Services

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...Amazon Web Services
 
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...Amazon Web Services
 
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 FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
 
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 Amazon Web Services
 
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...Amazon Web Services
 
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...Amazon Web Services
 
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 WorkloadsAmazon Web Services
 
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 sfatareAmazon Web Services
 
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 NodeJSAmazon Web Services
 
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 webAmazon Web Services
 
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 sfatareAmazon 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 AWSAmazon 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 DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon 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
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon Web Services
 

More from 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...
 
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...
 
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...
 
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...
 
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
 

Recently uploaded

TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????blackmambaettijean
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 

Amazon EC2:Masterclass

  • 1. Ian Massingham @IanMmmm Chief Evangelist (EMEA), AWS Amazon EC2: Masterclass LIVE
  • 2. Masterclass 1. A technical deep dive that goes beyond the basics 2. Intended to educate you on how to get the best from AWS services 3. Show you how things work and how to get things done
  • 3. Amazon EC2 Provides resizable compute capacity in the Cloud Designed to make web-scale cloud computing easier A true virtual computing environment Launch instances with a variety of operating systems Run as many or few systems as you desire
  • 4. Amazon EC2 Elastic Web-Scale Flexible Inexpensive Secure Reliable Completely Controlled Easy to Start
  • 6.
  • 7.
  • 8. New Amazon EC2/Compute Services Features
  • 9. Agenda Amazon EC2 Concepts & Fundamentals Storage & Networking Monitoring, Metrics & Logs
 Security & Access Control Deployment Cost Optimization
  • 11. Regions The geographical area where Amazon EC2 will launch the instances that you create Choose a region to optimize latency, minimize costs, or address regulatory requirements 12 regions around the world
  • 12. Availability Zones Distinct locations that are engineered to be insulated from failures in other Availability Zones Provide inexpensive, low latency network connectivity to other Availability Zones in the same Region Regions contain between 2 & 5 EC2 availability zones
  • 13. Instances Amazon EC2 provides a wide selection of instance types optimized to fit different use cases Instance types comprise varying combinations of CPU, memory, storage, and networking capacity c4.2xlarge r3.4xlarge
  • 14. Amazon EC2 Fundamentals Purchasing options for cost optimization Available in different locations Extensive list of supported operating systems & software Choice of instance families with differing resource ratios Integrated with other AWS Services Import and export virtual machines
  • 16. aws.amazon.com/ec2/faqs/ Extensive list of supported operating systems & software RedHat Linux, Windows Server, SuSE Linux, Ubuntu, Fedora, Debian, Cent OS, Gentoo Linux, Oracle Linux, and FreeBSD
  • 18. Integrated with other AWS Services ▶︎ Amazon Elastic Block Store ▶︎ Amazon CloudWatch ▶︎ Amazon Virtual Private Cloud ▶︎ AWS Identity and Access Management
  • 19. aws.amazon.com/ec2/purchasing-options/ Purchasing options for cost optimisationOn-Demand Instances Pay for compute capacity by the hour with no long-term commitments or upfront payments Reserved Instances Provide you with a significant discount (up to 75%) compared to On-Demand Instance pricing Spot Instances Purchase compute capacity with no upfront commitment and at hourly rates usually lower than the On-Demand rate
  • 23. docs.aws.amazon.com/AWSEC2/latest/UserGuide/t2-instances.html T2 Instances : Low Cost EC2 Instances with Burstable Performance
  • 24. C4 Instances : Highest Compute Performance on Amazon EC2 docs.aws.amazon.com/AWSEC2/latest/UserGuide/c4-instances.html
  • 25. Coming Soon: Amazon EC2 X1 Instances Amazon EC2 X1 Instances are high-memory instances designed for in- memory databases such as SAP HANA as well as memory intensive and latency sensitive workloads such as Microsoft SQL Server, Apache Spark, and Presto. X1 instances will have up to 2 TB of instance memory, and are powered by four-way 2.3 GHz Intel® Xeon® E7 8880 v3 (Haswell) processors, which offer high memory bandwidth and a large L3 cache to boost performance of in-memory applications.
  • 27. Creating EC2 Instances with the AWS CLI docs.aws.amazon.com/cli/latest/reference/ec2/index.html Amazon Machine Image ID aws ec2 run-instances --image-id ami-c229c0a2 --instance-type m3.medium --count 5 --security-group-ids sg-9d5c2dfa --subnet-id subnet-608ebb14 --key-name ec2-masterclass
  • 28. Creating EC2 Instances with the AWS CLI docs.aws.amazon.com/cli/latest/reference/ec2/index.html EC2 Instance type to run aws ec2 run-instances --image-id ami-c229c0a2 --instance-type m3.medium --count 5 --security-group-ids sg-9d5c2dfa --subnet-id subnet-608ebb14 --key-name ec2-masterclass
  • 29. Creating EC2 Instances with the AWS CLI docs.aws.amazon.com/cli/latest/reference/ec2/index.html Number of instances to run aws ec2 run-instances --image-id ami-c229c0a2 --instance-type m3.medium --count 5 --security-group-ids sg-9d5c2dfa --subnet-id subnet-608ebb14 --key-name ec2-masterclass
  • 30. Creating EC2 Instances with the AWS CLI docs.aws.amazon.com/cli/latest/reference/ec2/index.html Security group to apply to instance(s)aws ec2 run-instances --image-id ami-c229c0a2 --instance-type m3.medium --count 5 --security-group-ids sg-9d5c2dfa --subnet-id subnet-608ebb14 --key-name ec2-masterclass
  • 31. Creating EC2 Instances with the AWS CLI docs.aws.amazon.com/cli/latest/reference/ec2/index.html Subnet ID to launch instances within aws ec2 run-instances --image-id ami-c229c0a2 --instance-type m3.medium --count 5 --security-group-ids sg-9d5c2dfa --subnet-id subnet-608ebb14 --key-name ec2-masterclass
  • 32. Creating EC2 Instances with the AWS CLI docs.aws.amazon.com/cli/latest/reference/ec2/index.html Key pair to secure access to instance(s) aws ec2 run-instances --image-id ami-c229c0a2 --instance-type m3.medium --count 5 --security-group-ids sg-9d5c2dfa --subnet-id subnet-608ebb14 --key-name ec2-masterclass
  • 33. Managing EC2 via the AWS CLI AWS CLI Detailed help on a specific command In this case: aws ec2 run-instances
  • 34. Managing EC2 via the AWS CLI AWS CLI Detailed help on a specific command In this case: aws ec2 run-instances docs.aws.amazon.com/cli/latest/reference/ec2/index.html
  • 35. Launching and Terminating Instances >>> import boto3 >>> client = boto3.client('ec2') >>> response=client.run_instances(DryRun=True, ImageId='ami-c229c0a2', MinCount=5, MaxCount=5, InstanceType='m3.medium', KeyName='ec2-masterclass', SecurityGroupIds=['sg-9d5c2dfa'], SubnetId='subnet-608ebb14') >>> response = client.terminate_instances(InstanceIds=['i-d4116c0c']) >>> print response {u'TerminatingInstances': [{u'InstanceId': 'i-d4116c0c', u'CurrentState': {u'Code': 32, u'Name': 'shutting-down'}, u'PreviousState': {u'Code': 16, u'Name': 'running'}}], 'ResponseMetadata': {'HTTPStatusCode': 200, 'RequestId': 'e7b021e8-dc9a-4757-8698-9c747a5a702a'}} >>> instance=boto3.resource('ec2') >>> instance = ec2.instance('i-d3116c0b') >>> instance.terminate(){u'TerminatingInstances': [{u'InstanceId': 'i-d3116c0b', u'CurrentState': {u'Code': 32, u'Name': 'shutting-down'}, u'PreviousState': {u'Code': 16, u'Name': 'running'}}], 'ResponseMetadata': {'HTTPStatusCode': 200, 'RequestId': 'a7ca0aeb- b35e-4555-8d89-faacacb3c2ca'}} >>> Python Boto3 github.com/boto/boto3
  • 38. Instance Store Physically attached
 to the host computer Type and amount differs
 by instance type
 
 Data dependent upon instance lifecycle Data Storage Options Amazon EBS Persistent block level storage volumes
 
 Magnetic General Purpose (SSD) Provisioned IOPS (SSD)
 Data independent of instance lifecycle
  • 39. Instance Store Physically attached
 to the host computer Type and amount differs
 by instance type
 
 Data dependent upon instance lifecycle Instance store data persists if: • The OS in the instance is rebooted • The instance is restarted Instance store data is lost when: • An underlying instance drive fails • An EBS-backed instance is stopped • The instance is terminated
  • 40. Amazon EBS Persistent block level storage volumes
 
 Magnetic General Purpose (SSD) Provisioned IOPS (SSD)
 Data independent of instance lifecycle EBS Volumes EBS volumes automatically replicated within the Availability Zone (AZ) in which they are created Use EBS-optimized instances to deliver dedicated throughput between Amazon EC2 and Amazon EBS, with options between 500 and 4,000 Mbps, depending on the instance type
  • 41. Amazon EBS Persistent block level storage volumes
 
 Magnetic General Purpose (SSD) Provisioned IOPS (SSD)
 Data independent of instance lifecycle EBS Volumes EBS volumes attached to a running instance automatically detach from the instance with their data intact when that instance is terminated. EBS volumes created and attached to an instance at launch are deleted when that instance is terminated. You can modify this behavior by changing the value of the flag DeleteOnTermination.
  • 42. Amazon EBS Persistent block level storage volumes
 
 Magnetic General Purpose (SSD) Provisioned IOPS (SSD)
 Data independent of instance lifecycle EBS Snapshots An EBS snapshot is a point-in-time backup copy of an EBS volume that is stored in Amazon S3 Snapshots are incremental, only the blocks that have changed after your most recent snapshot are saved
  • 43. Amazon EBS Persistent block level storage volumes
 
 Magnetic General Purpose (SSD) Provisioned IOPS (SSD)
 Data independent of instance lifecycle EBS Snapshots When you delete a snapshot, only the data exclusive to that snapshot is removed Can be shared across AWS accounts or copied across AWS regions
  • 44. Amazon EBS Persistent block level storage volumes
 
 Magnetic General Purpose (SSD) Provisioned IOPS (SSD)
 Data independent of instance lifecycle EBS Encryption Data stored at rest on the volume, disk I/ O, and snapshots created from the volume are all encrypted The encryption occurs on the servers that host Amazon EC2 instances, providing encryption of data-in-transit from EC2 instances to EBS storage
  • 45. Amazon EBS Persistent block level storage volumes
 
 Magnetic General Purpose (SSD) Provisioned IOPS (SSD)
 Data independent of instance lifecycle EBS Encryption Uses AWS Key Management Service (AWS KMS) master keys unless you select a Customer Master Key (CMK). Creating your own CMK gives you the ability to create, rotate, disable, define access controls, and audit the encryption keys.
  • 46. General Purpose (SSD) Up to 16TB 10,000 IOPS (burst) Up to 160 MBps EBS Volumes: Larger & Faster Provisioned IOPS (SSD) Up to 16TB 20,000 IOPS Up to 320 MBps
  • 47. Demo: Working with EBS Volumes
  • 50. Amazon VPC
 A virtual network in your own logically isolated area within the AWS cloud populated by infrastructure, platform, and application services that share common security and interconnection aws.amazon.com/vpc/
  • 51. VPC Networking • Elastic Network Interface (ENI) • Subnet • Network Access Control List (NACL) • Route Table • Internet Gateway • Virtual Private Gateway • Route 53 Private Hosted Zone
  • 52. VPC Network Topology A VPC can span multiple AZs, but each subnet must reside entirely within one AZ Use at least 2 subnets in different AZs for each layer of your network
  • 53. Control of Subnets and Routing Tables
  • 54. VPC Creation with the VPC Wizard
  • 55. VPC Creation with AWS CloudFormation

  • 56. VPC Peering A networking connection between two VPCs docs.aws.amazon.com/AmazonVPC/latest/UserGuide/vpc-peering.html
  • 57. ClassicLink Private Communication Between Classic EC2 Instances & VPC Resources aws.amazon.com/blogs/aws/classiclink-private-communication-between-classic-ec2-instances-vpc-resources/
  • 59. Elastic Load Balancing Timeout Configuration Connection Draining Cross-zone Load Balancing aws.amazon.com/elasticloadbalancing/
  • 62. Amazon CloudWatch A monitoring service for AWS cloud resources and the applications you run on AWS. Use Amazon CloudWatch to collect and track metrics, collect and monitor log files, and set alarms. aws.amazon.com/cloudwatch/
  • 64. CloudWatch Metrics in the EC2 Console
  • 65. Monitoring Scripts for EC2 Instances docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/mon-scripts.html
  • 66. Amazon CloudWatch Logs Monitor applications and systems using log data Store in a highly durable storage & set retention policies Access your log files via Web, CLI or SDK Amazon EC2 (Linux & Windows) AWS Lambda … docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/WhatIsCloudWatchLogs.html
  • 67. CloudWatch Metrics & Alarms AWS Resource Your Custom Data Metric Alarm Action CloudWatch
  • 68. CloudWatch Logs + Filter AWS Resource Your Custom Data Metric Alarm Action CloudWatch FilterLogs
  • 69. Alarm Actions Action Notification (SNS) Auto Scaling Action EC2 Action Recover Stop Terminate Amazon EC2 Auto Recovery Use this action together with Status Checks to automate instance recovery
  • 70. Security & Access Control
  • 71. Access Credentials Access key and secret key used to authenticate when accessing AWS APIs Key Pairs Public key and private key used to authenticate when accessing an Amazon EC2 instance
  • 72. Use IAM Roles to pass access credentials to EC2 instances
  • 76. Amazon maintained Set of Linux and 
 Windows images Kept up to date by Amazon in each region Community maintained Images published by other AWS users Managed and maintained by Marketplace partners Your machine images AMIs you have created from EC2 instances Can be kept private or shared with other accounts
  • 77. Create an AMI Start an instance Configure the instance Create an AMI from your instance Start new ones from the AMI
  • 78. Create an AMI Start an instance Configure the instance Create an AMI from your instance Start new ones from the AMI Configure Dynamically Launch an instance Use metadata service & cloud-init to perform actions on the instance when it launches
  • 79. EC2 Instance Metadata $ curl http://169.254.169.254/latest/meta-data/ ami-id ami-launch-index ami-manifest-path block-device-mapping/ hostname instance-action instance-id instance-type kernel-id local-hostname local-ipv4 mac network/ placement/ public-hostname public-ipv4 public-keys/ reservation-id security-groups services/ $ curl http://169.254.169.254/latest/user-data … docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
  • 80. EC2 User-data Windows <script>…</script> or <powershell>…</powershell> Linux #!/bin/bash yum update -y AWS provided AMIs include services that access and execute the contents of the User data attribute in EC2 Instance Metadata at instance creation time This can be used for automated instance bootstrapping at instance creation time
  • 81. Create an AMI Start an instance Configure the instance Create an AMI from your instance Start new ones from the AMI Configure Dynamically Launch an instance Use metadata service & cloud-init to perform actions on the instance when it launches These two approaches are not mutually exclusive
  • 82. Time consuming configuration startup time Static configurations
 less change management Create an
 AMI Configure dynamically
  • 83. Continuous deployment
 latest code Environment specific
 dev-test-prod Create an
 AMI Configure dynamically
  • 85. Maintain EC2 instance availability Detects impaired EC2 instances Replaces the instances automatically Automatically Scale Your Amazon EC2 Fleet Follow the demand curve for your applications Reduce the need to manually provision Amazon EC2 capacity Run at optimal utilization
  • 86. Launch Configuration Describes what Auto Scaling will create when adding Instances Only one active launch configuration at a time aws autoscaling create-launch-configuration --launch-configuration-name launch-config --image-id ami-54cf5c3d --instance-type m3.medium --key-name mykey --security-groups webservers Auto Scaling Group Auto Scaling managed grouping of EC2 instances Automatically scale the number of instances by policy aws autoscaling create-auto-scaling-group --auto-scaling-group-name autoscaling-group --availability-zones eu-west-1a eu-west-1b --launch-configuration launch-config --load-balancer-names myELB --min-size 1 --max-size 5 Auto Scaling Policy Parameters for performing an Auto Scaling action Scale Up/Down and by how muchh aws autoscaling put-scaling-policy --auto-scaling-group-name autoscaling-group --policy-name autoscaling-policy --min-adjustment-magnitude=2 --adjustment-type ChangeInCapacity --cooldown 300
  • 87. Utilization & Auto Scaling Granularity 00:00 02:00 04:00 06:00 08:00 10:00 12:00 14:00 16:00 18:00 20:00 22:00
  • 88. Utilization & Auto Scaling Granularity 00:00 02:00 04:00 06:00 08:00 10:00 12:00 14:00 16:00 18:00 20:00 22:00 41 Instance Hours m4.large @ $0.12/hr = $4.92/day
  • 89. Utilization & Auto Scaling Granularity 00:00 02:00 04:00 06:00 08:00 10:00 12:00 14:00 16:00 18:00 20:00 22:00 70 Instance Hours t2.small @ $0.026/hr = $1.82/day 63%SAVING
  • 90. New Scaling Policies for More Responsive Scaling
 aws.amazon.com/blogs/aws/auto-scaling-update-new-scaling-policies-for-more-responsive-scaling
  • 92. On-Demand Instances Pay for compute capacity by the hour with no long-term commitments or upfront payments Reserved Instances Provide you with a significant discount (up to 75%) compared to On-Demand Instance pricing Spot Instances Purchase compute capacity with no upfront commitment and at hourly rates usually lower than the On-Demand rate aws.amazon.com/ec2/purchasing-options/
  • 93. Getting Started with Reserved Instances aws.amazon.com/ec2/purchasing-options/reserved-instances/getting-started/
  • 94. Spot Instances Spot Instances are spare Amazon EC2 instances that you can bid on. The Spot price fluctuates in real-time based on supply and demand. When your bid exceeds the Spot Price and spot capacity is available, your Spot instance is launched and will run until the Spot market price exceeds your bid (a Spot interruption). aws.amazon.com/ec2/purchasing-options/spot-instances/
  • 97. Thank You Ian Massingham @IanMmmm Chief Evangelist (EMEA), AWS