Révision Cloud Computing
Révision Cloud Computing
1
● Scalability : increase/decrease the components of my infrastructure to
handle my workload
● Elasticity: once a system is scalable , elasticity means the automatic
capability to adapt resources based on the real-time demand = autoscaling
● Agility: the ability to respond quickly to changes or new requirements
● High availability: maintaining consistent system with the minimum latency in
the normal condition
● Fault tolerance ( La tolérance aux pannes) : in case of system failure (
disaster), your application must stay available and with the minimum latence /
your system must recover from failure
● The Global Infrastructure on AWS:
° Regions : it’s a geographic zone where the data centerS are located
° Availability zone: a single data center , separated from the other data
centers by its own networking , supply power … etc
° Point of presence = Edge Location : to access a part of my application
without the need of the internet ( to insure the concept of going global in
minute)
2
● What is the root account? it’s the first account created when the AWS
account is established / it has all the permissions by default , and it has a
higher privilege than the administrator ( because the administrator is an IAM
user)
● = Server
● it’s a virtual server
● in the cloud, we don’t say server , we say INSTANCE
● What is the user data? it’s command lines or a script that i passed to
my EC2 instance and it will be executed during its launch =
bootstrapping
● What are the types of instances?
● Pay what you use ● reserve for a ● up to 90% ● you ● you have
● higher cost than specific period ( discount have the
reserved and spot 1 or 3 years) ● you can “lose” the access to
instance ● Up to 72% of ● the instance acces the
● used for short discount ( No at any time s to server ,
and predictable Upfront + , ● used for the but
workload and Partial Upfront short, physic shared
un-interrupted ++, All Upfront unpredictabl al with
+++) e and servic other
● used for long interrupted e dedicate
and predictable workload d
workload , and instance
un-interrupted)
● Convertible RI:
I can change
the EC2 type,
family , os .. etc
3
whole year , and Spot instance for the machine learning job ( because in case you
lose it, it will not affect your business , it’s a cost-effective solution)
● What is the security Group? it’s a virtual firewall that control the inbound
and the outbound traffic to your instance ( inbound by default blocked , and
the outbound by default allowed) / inbound = le traffic qui entre à l’instance ;
outbound = le traffic qui sort de l’instance / ex : allow/deny connection from
port HTTP : 80
● What are the classes of the EC2 instance?
° General purpose : it’s a balanced class between memory , compute and
storage
° Compute Optimized : it’s a class that we use for the applications that needs
a high performance ( ex : for machine learning purpose )
° Memory Optimized : it’s a class that we use for the applications that needs a
high memory ( ex : hosting a database)
● Shared Responsibility Model for the EC2 :
⇒ IN THE CLOUD : it’s the customer responsibility
⇒ OF THE CLOUD : it’s the AWS responsibility
AWS CUSTOMER
4
want to have with a normal traffic ) / we configure the launch template ( type ,
os , cpu , ram … etc) , it’s a template where the autoscaling group use to
create new instance
EBS : Elastic Block Store EFS : Elastic File System S3 : Simple Storage
Service
● EBS: Elastic Block Storage : it’s a network drive attached to your EC2
instance / we can only attach EBS volumes to an EC2 instance IN THE SAME
AVAILABILITY ZONE (AZ) / we can’t attach ONE EBS TO MULTIPLE
INSTANCE IN THE SAME TIME, but we can attach multiple EBS to a single
EC2 / to move an EBS from an AZ to another , we create a snapshot ( Copy)
( EBS Volume = SSD disk on-prem)
● EFS: Elastic File System: it’s a managed file system for EC2 instance , very
scalable, elastic and with a high capacity / it can be attached to multiple EC2
in the same time and in multiple AZ’s
5
● Instance Store: it will be directly related to the EC2 instance in the same
hardware to minimize the latency
Database Section
All the databases are managed by AWS ( SAAS )
6
ERROR SECTION