SlideShare a Scribd company logo
Deep Dive on EC2 and S3
ARUN SIRIMALLA
Overview
of Amazon
Web
Services
Regions and Availability Zones
• Amazon EC2 is hosted in multiple locations world-wide
• Each region is a separate geographic area
• Each region has multiple, isolated locations know as Availability zones
VPC
• Virtual datacenter in the cloud
• You can create your own public-facing subnet for your webservers and
place your backend systems such as databases or application servers in
private subnet
• You can create a hardware virtual private network connection b/w your
corporate datacenter and AWS
• Assign custom IP address range in each subnet
• Create internet gateways
• Leverage multiple layers of security
Deep Dive on EC2 and S3
Amazon EC2
• Web service that provides secure, resizable compute capacity in the cloud
• Pay only for capacity that you actually use
• Choose Linux or Windows
• Per second billing for existing and newly launched instance
ü On-demand Instances
Applications with spiky or unpredictable workloads or being developed or tested on
AmazonEC2
ü Reserved Instances
Steady state or predictable usage and able to make upfront payment
ü Spot Instances
Applications that have flexible start and end times
Amazon Machine Image (AMI)
Provides the information required to launch an instance
An AMI includes the following:
ü A template for the root volume for the instance (for example, an
operating system, an application server, and applications)
ü Launch permissions that control which AWS accounts can use the AMI
to launch instances
ü A block device mapping that specifies the volumes to attach to the
instance when it's launched
Deep Dive on EC2 and S3
Deep Dive on EC2 and S3
Deep Dive on EC2 and S3
Deep Dive on EC2 and S3
Amazon EBS vs Amazon EC2 Instance Store
Amazon EBS
• Data stored on Amazon EBS volume can persist independently of the life of the instance
• Storage is persistent
ü Magnetic
ü General Purpose (SSD)
ü Provisioned IOPS (SSD)
Amazon EC2 Instance Store
• Data stored on a local instance store persists only as long as the instance is alive
• Physically attached to the host computer
• Storage is ephemeral
EBS Volumes: Larger and Faster
General Purpose (SSD) Provisioned IOPS(SSD)
Up to 16 TB up to 16 TB
10000 IOPS 20000 IOPS
Deep Dive on EC2 and S3
Security Groups
• Acts as a virtual firewall that controls the traffic for one or more instances
• Add rules to each security group that allow traffic to or from its
associated instances
• By default, security groups allow all outbound traffic
• You can specify allow rules, but not deny rules
• You can specify separate rules for inbound and outbound traffic
Auto Scaling
• Allows you to dynamically scale your Amazon EC2 capacity up or
down automatically according to conditions you define
• Helps you maintain application availability
• Automatically replace impaired instances
• Ability to Scale out, scale up or scale down
Deep Dive on EC2 and S3
Fleet Management
• Monitoring the health of running instances
• Automatically replacing impaired instances
• Balancing capacity across Availability Zones
Dynamic scaling
• Automatically scale your Amazon EC2 fleet
• Add instances when CPU utilization is high
• Remove instances based on request count
Deep Dive on EC2 and S3
Demo
• Creating AMI
• Creating EC2 instance using custom AMI
• Creating Security Groups
• Increasing EC2 instance limits
• Auto Scaling
Amazon Simple Storage Service
(S3)
The infinite Hard Drive in the Cloud
Amazon Simple Storage Service(S3)
• Store and retrieve any amount of data, any time, from anywhere on the web
• Highly Scalable, reliable, fast and durable
• S3 object based allows you to upload files
• Files can be 1 Byte to 5 TB
• Buckets have unique namespace for each region
• Amazon guarantees 99.99% availability
• Guarantees durability of 99.999999999%
Amazon S3
concepts
uAmazon S3 stores data as objects within
buckets
uAn object is composed of a file and optionally
any metadata that describes that file
uYou can have up to 100 buckets in each
account
uYou can control access to the bucket and its
objects
• Write once, Read many
• Eventually consistent
• Secure by default
• Use S3 Policies, ACLs or IAM to define rules
• Cross-region replication
Storage Classes
Standard
ü For frequently accessed data
Standard – Infrequent access
ü For long-lived, but less frequently accessed data
Glacier
ü For long-term archive
S3 Versioning
• Stores all versions of an object
• Works as a backup tool
• Once enabled, versioning cannot be disabled, only suspended
• If you enable versioning, you pay for the each version of the file
S3 Lifecycle management
• Can be used in conjunction with versioning
• Can be applied to current versions and pervious
versions
• Actions allowed in conjunction with or without
versioning
ü Archive only
ü Permanently delete only
ü Archive and then permanently delete
S3 Encryption
• Upload/Download your data to S3 via SSL encrypted endpoints
• S3 automatically encrypt your data at rest
In-transit encryption
• You can protect data in transit by using SSL or by using client-side encryption
At rest
Use Server-Side Encryption – You request Amazon S3 to encrypt your object before saving it on disks
in its data centers and decrypt it when you download the objects.
Use Client-Side Encryption – You can encrypt data client-side and upload the encrypted data to
Amazon S3. In this case, you manage the encryption process, the encryption keys, and related tools
Demo
Enabling Versioning on S3 bucket
Create Encrypted S3 bucket
Upload files to encrypted bucket through AWS CLI
Thank you!
Upcoming Sessions
Oct 31 - Identity and Access Management (IAM)
Ad

More Related Content

What's hot (10)

Aws platform overview
Aws platform overviewAws platform overview
Aws platform overview
Vinay Yelluri
 
Backup to the Cloud
Backup to the CloudBackup to the Cloud
Backup to the Cloud
2nd Watch
 
Backup on the cloud Webinar
Backup on the cloud WebinarBackup on the cloud Webinar
Backup on the cloud Webinar
2nd Watch
 
Backup on the cloud 10.1.13
Backup on the cloud 10.1.13Backup on the cloud 10.1.13
Backup on the cloud 10.1.13
2nd Watch
 
Big data and Analytics on AWS
Big data and Analytics on AWSBig data and Analytics on AWS
Big data and Analytics on AWS
2nd Watch
 
Amazon rds
Amazon rdsAmazon rds
Amazon rds
Abhishek Amralkar
 
Cómputo en AWS
Cómputo en AWSCómputo en AWS
Cómputo en AWS
Amazon Web Services LATAM
 
Hands-On With Amazon Web Services (AWS) - part 3
Hands-On With Amazon Web Services (AWS) - part 3Hands-On With Amazon Web Services (AWS) - part 3
Hands-On With Amazon Web Services (AWS) - part 3
P3 InfoTech Solutions Pvt. Ltd.
 
Amazon Web Services lection 6
Amazon Web Services lection 6  Amazon Web Services lection 6
Amazon Web Services lection 6
Binary Studio
 
AWS Database Migration Service
AWS Database Migration ServiceAWS Database Migration Service
AWS Database Migration Service
techugo
 
Aws platform overview
Aws platform overviewAws platform overview
Aws platform overview
Vinay Yelluri
 
Backup to the Cloud
Backup to the CloudBackup to the Cloud
Backup to the Cloud
2nd Watch
 
Backup on the cloud Webinar
Backup on the cloud WebinarBackup on the cloud Webinar
Backup on the cloud Webinar
2nd Watch
 
Backup on the cloud 10.1.13
Backup on the cloud 10.1.13Backup on the cloud 10.1.13
Backup on the cloud 10.1.13
2nd Watch
 
Big data and Analytics on AWS
Big data and Analytics on AWSBig data and Analytics on AWS
Big data and Analytics on AWS
2nd Watch
 
Amazon Web Services lection 6
Amazon Web Services lection 6  Amazon Web Services lection 6
Amazon Web Services lection 6
Binary Studio
 
AWS Database Migration Service
AWS Database Migration ServiceAWS Database Migration Service
AWS Database Migration Service
techugo
 

Similar to Deep Dive on EC2 and S3 (19)

AWS compute Services
AWS compute ServicesAWS compute Services
AWS compute Services
Nagesh Ramamoorthy
 
AWS EC2 Fundametals
AWS EC2 FundametalsAWS EC2 Fundametals
AWS EC2 Fundametals
Piyush Agrawal
 
cse40822-amazon.pptx
cse40822-amazon.pptxcse40822-amazon.pptx
cse40822-amazon.pptx
prathamgunj
 
Amazon EC2 notes.pdf
Amazon EC2 notes.pdfAmazon EC2 notes.pdf
Amazon EC2 notes.pdf
yididya3
 
AWS EC2 JSP.pptx
AWS EC2 JSP.pptxAWS EC2 JSP.pptx
AWS EC2 JSP.pptx
Jayesh Patil
 
AWS EC2
AWS EC2AWS EC2
AWS EC2
Mahesh Raj
 
amazon web servics in the cloud aws and its categories compute cloud and stor...
amazon web servics in the cloud aws and its categories compute cloud and stor...amazon web servics in the cloud aws and its categories compute cloud and stor...
amazon web servics in the cloud aws and its categories compute cloud and stor...
soundharya59
 
Amazon services ec2
Amazon services ec2Amazon services ec2
Amazon services ec2
Ismaeel Enjreny
 
Amazon Web Services - Relational Database Service Meetup
Amazon Web Services - Relational Database Service MeetupAmazon Web Services - Relational Database Service Meetup
Amazon Web Services - Relational Database Service Meetup
cyrilkhairallah
 
Aws ec2
Aws ec2Aws ec2
Aws ec2
Bhavik Vashi
 
Migrating enterprise workloads to AWS
Migrating enterprise workloads to AWSMigrating enterprise workloads to AWS
Migrating enterprise workloads to AWS
Tom Laszewski
 
IBM Cloud Object Storage
IBM Cloud Object StorageIBM Cloud Object Storage
IBM Cloud Object Storage
Nagesh Ramamoorthy
 
AWS Elastic Compute Cloud (EC2)
AWS Elastic Compute Cloud (EC2) AWS Elastic Compute Cloud (EC2)
AWS Elastic Compute Cloud (EC2)
zekeLabs Technologies
 
Migrating enterprise workloads to AWS
Migrating enterprise workloads to AWS Migrating enterprise workloads to AWS
Migrating enterprise workloads to AWS
Tom Laszewski
 
Scaling your Application with AWS Relational Databases I AWS Dev Day 2018
Scaling your Application with AWS Relational Databases I AWS Dev Day 2018Scaling your Application with AWS Relational Databases I AWS Dev Day 2018
Scaling your Application with AWS Relational Databases I AWS Dev Day 2018
AWS Germany
 
UCT AWS_IOT
UCT AWS_IOTUCT AWS_IOT
UCT AWS_IOT
uniconvergetechnologies
 
Cloud Service.pptx
Cloud Service.pptxCloud Service.pptx
Cloud Service.pptx
SibinBharathi
 
002 AWSSlides.pdf
002 AWSSlides.pdf002 AWSSlides.pdf
002 AWSSlides.pdf
DrBashirMSaad
 
Hack proof your aws cloud cloudcheckr_040416
Hack proof your aws cloud cloudcheckr_040416Hack proof your aws cloud cloudcheckr_040416
Hack proof your aws cloud cloudcheckr_040416
Jarrett Plante
 
cse40822-amazon.pptx
cse40822-amazon.pptxcse40822-amazon.pptx
cse40822-amazon.pptx
prathamgunj
 
Amazon EC2 notes.pdf
Amazon EC2 notes.pdfAmazon EC2 notes.pdf
Amazon EC2 notes.pdf
yididya3
 
amazon web servics in the cloud aws and its categories compute cloud and stor...
amazon web servics in the cloud aws and its categories compute cloud and stor...amazon web servics in the cloud aws and its categories compute cloud and stor...
amazon web servics in the cloud aws and its categories compute cloud and stor...
soundharya59
 
Amazon Web Services - Relational Database Service Meetup
Amazon Web Services - Relational Database Service MeetupAmazon Web Services - Relational Database Service Meetup
Amazon Web Services - Relational Database Service Meetup
cyrilkhairallah
 
Migrating enterprise workloads to AWS
Migrating enterprise workloads to AWSMigrating enterprise workloads to AWS
Migrating enterprise workloads to AWS
Tom Laszewski
 
Migrating enterprise workloads to AWS
Migrating enterprise workloads to AWS Migrating enterprise workloads to AWS
Migrating enterprise workloads to AWS
Tom Laszewski
 
Scaling your Application with AWS Relational Databases I AWS Dev Day 2018
Scaling your Application with AWS Relational Databases I AWS Dev Day 2018Scaling your Application with AWS Relational Databases I AWS Dev Day 2018
Scaling your Application with AWS Relational Databases I AWS Dev Day 2018
AWS Germany
 
Hack proof your aws cloud cloudcheckr_040416
Hack proof your aws cloud cloudcheckr_040416Hack proof your aws cloud cloudcheckr_040416
Hack proof your aws cloud cloudcheckr_040416
Jarrett Plante
 
Ad

Recently uploaded (20)

Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
Generative Artificial Intelligence (GenAI) in Business
Generative Artificial Intelligence (GenAI) in BusinessGenerative Artificial Intelligence (GenAI) in Business
Generative Artificial Intelligence (GenAI) in Business
Dr. Tathagat Varma
 
Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
How analogue intelligence complements AI
How analogue intelligence complements AIHow analogue intelligence complements AI
How analogue intelligence complements AI
Paul Rowe
 
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
BookNet Canada
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
 
HCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser EnvironmentsHCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser Environments
panagenda
 
Quantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur MorganQuantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Heap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and DeletionHeap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and Deletion
Jaydeep Kale
 
Drupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy ConsumptionDrupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy Consumption
Exove
 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
organizerofv
 
Cybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure ADCybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure AD
VICTOR MAESTRE RAMIREZ
 
Build Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For DevsBuild Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For Devs
Brian McKeiver
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
Generative Artificial Intelligence (GenAI) in Business
Generative Artificial Intelligence (GenAI) in BusinessGenerative Artificial Intelligence (GenAI) in Business
Generative Artificial Intelligence (GenAI) in Business
Dr. Tathagat Varma
 
Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
How analogue intelligence complements AI
How analogue intelligence complements AIHow analogue intelligence complements AI
How analogue intelligence complements AI
Paul Rowe
 
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
BookNet Canada
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
 
HCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser EnvironmentsHCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser Environments
panagenda
 
Quantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur MorganQuantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Heap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and DeletionHeap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and Deletion
Jaydeep Kale
 
Drupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy ConsumptionDrupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy Consumption
Exove
 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
organizerofv
 
Cybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure ADCybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure AD
VICTOR MAESTRE RAMIREZ
 
Build Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For DevsBuild Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For Devs
Brian McKeiver
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
Ad

Deep Dive on EC2 and S3

  • 1. Deep Dive on EC2 and S3 ARUN SIRIMALLA
  • 3. Regions and Availability Zones • Amazon EC2 is hosted in multiple locations world-wide • Each region is a separate geographic area • Each region has multiple, isolated locations know as Availability zones VPC • Virtual datacenter in the cloud • You can create your own public-facing subnet for your webservers and place your backend systems such as databases or application servers in private subnet • You can create a hardware virtual private network connection b/w your corporate datacenter and AWS • Assign custom IP address range in each subnet • Create internet gateways • Leverage multiple layers of security
  • 5. Amazon EC2 • Web service that provides secure, resizable compute capacity in the cloud • Pay only for capacity that you actually use • Choose Linux or Windows • Per second billing for existing and newly launched instance ü On-demand Instances Applications with spiky or unpredictable workloads or being developed or tested on AmazonEC2 ü Reserved Instances Steady state or predictable usage and able to make upfront payment ü Spot Instances Applications that have flexible start and end times
  • 6. Amazon Machine Image (AMI) Provides the information required to launch an instance An AMI includes the following: ü A template for the root volume for the instance (for example, an operating system, an application server, and applications) ü Launch permissions that control which AWS accounts can use the AMI to launch instances ü A block device mapping that specifies the volumes to attach to the instance when it's launched
  • 11. Amazon EBS vs Amazon EC2 Instance Store Amazon EBS • Data stored on Amazon EBS volume can persist independently of the life of the instance • Storage is persistent ü Magnetic ü General Purpose (SSD) ü Provisioned IOPS (SSD) Amazon EC2 Instance Store • Data stored on a local instance store persists only as long as the instance is alive • Physically attached to the host computer • Storage is ephemeral EBS Volumes: Larger and Faster General Purpose (SSD) Provisioned IOPS(SSD) Up to 16 TB up to 16 TB 10000 IOPS 20000 IOPS
  • 13. Security Groups • Acts as a virtual firewall that controls the traffic for one or more instances • Add rules to each security group that allow traffic to or from its associated instances • By default, security groups allow all outbound traffic • You can specify allow rules, but not deny rules • You can specify separate rules for inbound and outbound traffic
  • 14. Auto Scaling • Allows you to dynamically scale your Amazon EC2 capacity up or down automatically according to conditions you define • Helps you maintain application availability • Automatically replace impaired instances • Ability to Scale out, scale up or scale down
  • 16. Fleet Management • Monitoring the health of running instances • Automatically replacing impaired instances • Balancing capacity across Availability Zones Dynamic scaling • Automatically scale your Amazon EC2 fleet • Add instances when CPU utilization is high • Remove instances based on request count
  • 18. Demo • Creating AMI • Creating EC2 instance using custom AMI • Creating Security Groups • Increasing EC2 instance limits • Auto Scaling
  • 19. Amazon Simple Storage Service (S3) The infinite Hard Drive in the Cloud
  • 20. Amazon Simple Storage Service(S3) • Store and retrieve any amount of data, any time, from anywhere on the web • Highly Scalable, reliable, fast and durable • S3 object based allows you to upload files • Files can be 1 Byte to 5 TB • Buckets have unique namespace for each region • Amazon guarantees 99.99% availability • Guarantees durability of 99.999999999%
  • 21. Amazon S3 concepts uAmazon S3 stores data as objects within buckets uAn object is composed of a file and optionally any metadata that describes that file uYou can have up to 100 buckets in each account uYou can control access to the bucket and its objects
  • 22. • Write once, Read many • Eventually consistent • Secure by default • Use S3 Policies, ACLs or IAM to define rules • Cross-region replication Storage Classes Standard ü For frequently accessed data Standard – Infrequent access ü For long-lived, but less frequently accessed data Glacier ü For long-term archive
  • 23. S3 Versioning • Stores all versions of an object • Works as a backup tool • Once enabled, versioning cannot be disabled, only suspended • If you enable versioning, you pay for the each version of the file S3 Lifecycle management • Can be used in conjunction with versioning • Can be applied to current versions and pervious versions • Actions allowed in conjunction with or without versioning ü Archive only ü Permanently delete only ü Archive and then permanently delete
  • 24. S3 Encryption • Upload/Download your data to S3 via SSL encrypted endpoints • S3 automatically encrypt your data at rest In-transit encryption • You can protect data in transit by using SSL or by using client-side encryption At rest Use Server-Side Encryption – You request Amazon S3 to encrypt your object before saving it on disks in its data centers and decrypt it when you download the objects. Use Client-Side Encryption – You can encrypt data client-side and upload the encrypted data to Amazon S3. In this case, you manage the encryption process, the encryption keys, and related tools
  • 25. Demo Enabling Versioning on S3 bucket Create Encrypted S3 bucket Upload files to encrypted bucket through AWS CLI
  • 27. Upcoming Sessions Oct 31 - Identity and Access Management (IAM)