Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 11

thinkcloudly

thinkcloudly thinkcloudly

thinkcloudly
Elastic Compute
thinkcloudly

thinkcloudly
Cloud thinkcloudly
thinkcloudly

thinkcloudly thinkcloudly thinkcloudly

thinkcloudly Instructor
thinkcloudly thinkcloudly
Bisma Gulzar
Cloud Architect & Trainer
Copyright Thinkcloudly, All rights reserved
Questions?
thinkcloudly

thinkcloudly thinkcloudly

thinkcloudly
thinkcloudly
What is EC2? Capabilities

thinkcloudly thinkcloudly
thinkcloudly

Security Group 01 01 Elastic IPs 02 Launch Types 03


thinkcloudly thinkcloudly thinkcloudly

AMIs 04 Placement Group 05 EC2 Hibernate 06


thinkcloudly
thinkcloudly thinkcloudly

Provisioning Steps 07 AWS Console EC2 08


Copyright Thinkcloudly, All rights reserved
thinkcloudly
Security Group thinkcloudly
thinkcloudly

thinkcloudly
thinkcloudly
Fundamental of Network Control Inbound &
Security & Firewall
01 02 Outbound Traffic
thinkcloudly thinkcloudly
thinkcloudly

Regulate access to ports & Attach with Multiple


IP ranges 03 04 Instances
thinkcloudly thinkcloudly thinkcloudly

Locked down to a Maintain one separate


thinkcloudly
region/VPC
05 06 group for SSH access
thinkcloudly thinkcloudly

Copyright Thinkcloudly, All rights reserved


What is Elastic IP?
thinkcloudly

thinkcloudly thinkcloudly

thinkcloudly
Static IP Max Limit
thinkcloudly
Helps to keep static Maximum 5 Ips per
public IP on start/stop account

thinkcloudly thinkcloudly
thinkcloudly
One Instance Pay
Pay for elastic IP. So
Attach one instance at
a time thinkcloudly
Elastic IPs
thinkcloudly
release IP if
thinkcloudly
disassociated.

Reduce Failures
thinkcloudly SSH
Mask Failures of thinkcloudly thinkcloudly
SSH uses public IP
rapidly changing IPs

Copyright Thinkcloudly, All rights reserved


What are Instance
thinkcloudly Launch Types?
thinkcloudly thinkcloudly

thinkcloudly

On Demand thinkcloudly Reserved



01 02 • Up to 75% discount compared to
Highest cost but no upfront
payment. On-demand.
• No long term commitment thinkcloudly • Paythinkcloudly
upfront with long term
• thinkcloudly
Recommended for short term and Instance commitment.
uninterrupted workloads Launch Types • Can be for 1 to 3 years.
• Recommended for steady usage
applications (DB)

thinkcloudly thinkcloudly thinkcloudly

Spot Dedicated Instance/Host


• Up thinkcloudly
to 90% discount compared to On-


demand.
Lose at any point of time. If max price
03 thinkcloudly
04 •

Physical dedicated EC2 server.
thinkcloudly
Visibility into the underlying
is less than current spot price. sockets/cores of the hardware
• • 3 year period reservation.
Useful for Batch jobs, Image
• Bring your Own license model.
processing, Data analysis.
• • More expensive
Not good for critical jobs or databases

Copyright Thinkcloudly, All rights reserved


What is AMI?
thinkcloudly

An image to use to create your own instances (Linux or windows).


thinkcloudly thinkcloudly

thinkcloudly
thinkcloudly
01 Required Packages
Pre-installed packages

thinkcloudly thinkcloudly
thinkcloudly
02 Faster boot time
No need of EC2 user data at boot time

thinkcloudly
Highly optimized
03thinkcloudly thinkcloudly
Run someone else’s app, DB etc.,

thinkcloudly 04 Take Space & Live in S3


Stores as an image
thinkcloudly thinkcloudly

Private, locked in one account/region


05 Can be sold on marketplace

Copyright Thinkcloudly, All rights reserved


Placement
thinkcloudly Groups

thinkcloudly thinkcloudly

thinkcloudly
thinkcloudly

thinkcloudly thinkcloudly
thinkcloudly

thinkcloudly thinkcloudly thinkcloudly


1 2 3

thinkcloudly Cluster Partition Spread


thinkcloudly
• No 2 partition share thinkcloudly
Instances share same • Distinct racks
hardware same rack
• 7 partitions per AZ • 7 instances per AZ

Copyright Thinkcloudly, All rights reserved


EC2 Hibernate
thinkcloudly

thinkcloudly thinkcloudly

thinkcloudly
thinkcloudly In Memory RAM
01
State is preserved

thinkcloudly thinkcloudly
Fast Instance Boot
thinkcloudly
02
OS is not stopped

Long Running
thinkcloudly thinkcloudly thinkcloudly
03 processes
Saving RAM state

thinkcloudly
EBS Volume
04
thinkcloudly thinkcloudly
Must be encrypted

Copyright Thinkcloudly, All rights reserved


Provisioning
thinkcloudly Steps
thinkcloudly thinkcloudly

thinkcloudly
thinkcloudly
security risk
Templates Subnet management practices Confirmation
thinkcloudly thinkcloudly
thinkcloudly
Security
AMI Instance Configure Storage Tags Group Review Create

thinkcloudly
Five Families thinkcloudly New Volumes thinkcloudly
Submit & Launch
Virtual Firewall
Compute optimized
Memory Optimized
GPU Optimized
thinkcloudly
Storage optimized
General Purpose thinkcloudly thinkcloudly

Copyright Thinkcloudly, All rights reserved


AWS EC2 Console & SSH
Thank You

You might also like