Escolar Documentos
Profissional Documentos
Cultura Documentos
AMAZON WEB
SERVICES (AWS)
Cloud Practitioner CLF-C01
1
INDEX
Networking Services
Compute Services
Notification Service
Database Service
2
Services where AWS user accounts &their access to various aws services is
managed to grant access to an AWS user, permission must be granted This can also
STORAGE SERVICES
• S3: Simple Storage Service. Storage service is the primary AWS storage
service offered by AWS that can be accessed from almost any device. Literally
any type of file can be stored in AWS. if the file exists, it can be stored in aws.
encryptions
• Buckets: Folders in S3
You must select a region when storing a file in S3. whichever region you select,
the file will be physically located in the data center in that region. Selecting the region
physically closest to you will reduce transfer latency. Latency is the amount of time a
someone else. Select the region closest to your customer to reduce latency.
• 3-63 characters
upload
STORAGE CLASSES:
• Standard: default storage class, designed to general purpose storage,
class
• Standard IA: Designed for objects that are not needed to be accessed frequently
storage class.
• One Zone IA: Designed for objects that are not needed to be accessed
This storage class only stores the file in one availability zone. 99.99% durability &
• Intelligent tiering: based on your usage, this storage class will move the data to
• Glacier: designed for files that may never be accessed or accessed very
infrequently. May take up to several hours to retrieve a file from this storage class.
• Storage cost
5
• Object Availability
• Object durability
• Durability: Percent over one-year time period that a file stored in S3 will not be
lost. So, 99.999999999% object durability mean that there is only .000000001%
accessible. 99.99% availability means that there is .01 chance that you won't be
able to access the file one year = One hours every 10,000 hours
NETWORKING SERVICES
• Virtual Private cloud (VPC): private sub-section of aws that you control, in
which you can place your aws resources, such as EC2 &databases. You have
full control over who has access to aws resources that you place inside your vpc.
• Subnet: sub-section of a network, subnet includes all of the computer sin a
specific location
• Network Access Control List (ACL): Firewall or Security Layer on the subnet
level
• Security Group (SG): Firewall or security layer on the instance (EC2) /server
level
6
• Firewall: Type of
software that allows or
block certain type of traffic.
For ex, if SG and ACL are
configured to allow http
traffic and block FTP traffic,
then only HTTP traffic will
be allowed in the subnet,
FTP will be blocked.
COMPUTE SERVICES
AMIs: Operating system you want for your instance. (Windows, Linux, MacOS)
• Community Amis
o free to use
o With this type of amis, your just selecting what type of operating system
you want
• AWS Marketplace Amis
o Pay to use
o generlly come with additional licensed sofwatres
• My Amis
o AMIS that you create yourself
buy a reserved instance, you are the owner for the time period, and you will
pay the entire price. Regardless of how often you use it or even if you don’t
use it.
• Spot
o Spot pricing is when you bid on an instance type and you only pay for when
the spot price is equal-to or below your bid. Amazon uses this to sell
unused instances with a substantial discount. Spot prices fluctuate base on
the supply and demand. You’re charged by the second, but bid pricing
based on hourly rate. The instance will be automatically terminated when
spot price is greater than your bid.
o Buying instance through spot pricing is useful when you have a job that
isn’t time sensitive, like video encoding. And it doesn’t matter if that process
gets interrupted because its not urgent.
o For example, you need to encode 100 videos, which isn’t urgent. You can
encode them, tomorrow next week or after two weeks, you could set the bid
and start encoding, once spot price goes higher than your bid, then the
process will be stopped and you wont have access t the instance anymore,
but maybe in couple day the spot price will come back down and fall lower
that your bid, that’s when you can continue encoding your video.
Lambda
• What Is Lambda? Lambda is serverless computing, next generation of cloud
computing, lambda computing is expected to replace EC2 in the future.
• AWS Lambda is a serverless compute service that runs your code in response to
events and automatically manages the underlying compute resources for you.
Lambda runs your code on high-availability compute infrastructure and performs
all the administration of the compute resources, including server and operating
system maintenance, capacity provisioning and automatic scaling, code and
security patch deployment, and code monitoring and logging. All you need to do
is supply the code.
so with Lambda, you don’t need tow orry about VPC, ACLs, Subnets, or Security
Groups. Lamda takes care of all of that.
• Benefits of Lambda
o No servers to manage
o Continous scaling, Lambda.
o Subseconf meter
o Integrates with every othe AWS Service
• Primary user cases
o Data processing
o Real time file processing
o Real time stream processing
o Build serverless backends for web, mobile, IOT and third-party API
requests.
SCALING.
10
“Elastic load balanicng is the foundation component of high availability and fault
tolerance.”
• If the Web Server 2 crashes, the ELB will direct all the traffic to Web Server 1.
What if the traffic is so high that both of the servers combined cant
handle it?
“Auto scaling builds on the benefits of elastic load balanicng while adding the benefits
foo elasticity and scalability”
11
Auto scaling: auto scaling feature automates that process of scaling up/ adding more
server or scaling down/removing servers base on the traffic demand of the application.
You can specify the minimum number of users to a server so that number of users
never go allow that, you can also specify the maximum number of users, so the server
isn’t working at its highest capacity. After the server reaches the maximum number of
users you specified, automatically, a server will be added.
Coming Soon……………..