Você está na página 1de 12

Moin Chaudhry

AMAZON WEB
SERVICES (AWS)
Cloud Practitioner CLF-C01
1

INDEX

Identity Access Management

Simple Storage Service (S3)

Networking Services

Compute Services

Elastic Load Balancing &Autoscaling

Content Delivery &DNS Service

Monitoring &Logging Services

Notification Service

Database Service
2

IDENTITY ACCESS MANAGEMENT (IAM)

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

be done by creating groups of users &granting them permission instead of granting

permission to each user one by one

STORAGE SERVICES

“S3 is file storage, EC2 is virtual machines, RDS is databases”

• 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.

• Benefits of S3: Durable, Reliable, Scalable. Secure, offers 4 different kinds of

encryptions

• Buckets: Folders in S3

• Subfolders: folders in the Bucket

• Objects: files stored in the Buckets or the Subfolder (Folder)


3

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

message takes to traverse a system. If your files will be accessed by a customer or

someone else. Select the region closest to your customer to reduce latency.

RULES FOR CREATING A BUCKET:


• The name must be unique

• 3-63 characters

• Must only contain lowercase letters, numbers, &hyphens

• Can't be named as an IP address

CREATING A FOLDER IN BUCKET:


• Navigate into bucket > Click Upload > Select the file to upload > Click Start

upload

CREATING A FOLDER IN BUCKET:


• Navigate into bucket > Click Create Folder > name the folder
4

STORAGE CLASSES:
• Standard: default storage class, designed to general purpose storage,

99.999999999% (11 nines) durability &99.99% availability. Most expensive storage

class

• Standard IA: Designed for objects that are not needed to be accessed frequently

but need to be immediately available instantly when needed to be accessed.

99.999999999% durability & 99.99% availability. Less expensive than Standard

storage class.

• One Zone IA: Designed for objects that are not needed to be accessed

frequently but need to be immediately available instantly when needed to be accessed.

This storage class only stores the file in one availability zone. 99.99% durability &

99.50% availability. 20% less expensive

• Intelligent tiering: based on your usage, this storage class will move the data to

the most cost-effective tier. 99.999999999% durability &99.90% availability,

• 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.

Cheapest S3 storage class.

STORAGE CLASSES VARY IN ATTRIBUTES TO:

• Storage cost
5

• Object Availability

• Object durability

• Frequency of accessing the file/object

• 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%

chance of file being lost in one year.

• Availability: percent over one-year period that file stored in S3 will be

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

o EC2: basically, a desktop computer.


7

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

EC2 BUYING OPTIONS


• On-demand
o Most expensive and most flexible purchasing option, you will only be
charged to the time the instance is running, you will be billed by the
second. You can terminate the instance at any time
• Reserved
o This type of purchase is if you want to purchase an instance for a set
period of time, 1 or 3 years. You will get a significant amount of discount.
You can pay upfront, partially upfront or with no upfront payment. Once you
8

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.

• Now let’s compare EC2 and lambda:


9

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.

ELASTIC LOAD BALANCING AND AUTO

SCALING.
10

“Elastic load balanicng is the foundation component of high availability and fault
tolerance.”

• Elastic load balancing is a feature that equally distribute traffic across


multiple EC2 instances in multiple availability zones. EC2 instances that aee
associated with it. This increases that fault tolerance on the applications. Elastic
load balancing detects unhealthy instances and directs traffic to healthy
instances.

• 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.

CONTENT DELIVERY AND DNS SERVICE

Coming Soon……………..

Você também pode gostar