Professional Documents
Culture Documents
Aws Saa
Aws Saa
in US states)
it's helpful when you want for example present one version of a
website for all Europeans, and the other version for all Africans
Latency Geolocation
allows you to route traffic based on the lowest network latency
Manages Docker containers on a cluster of EC2 instances Eventual consistency for overwrite PUTS and DELETES (after
modifying or deleting file the changes can take some time to
Object based storage propagate)
can be used to deploy sophisticated applications on a
microservices model each object is build from: key (name), value (data), ID (important
for versioning), metadata (e.g. date of uploading) and
subresources
subresources contain: ACLs and torrent (it supports BitTorrent
EC2 instances have to be in the same security groups as the protocol)
elastic file system each object (flat file) is limited to 5TB
Glacier
cheap but takes 3-5 hours to retrieve data
Only SSD and Magnetic disks can be bootable. The HDD ones
CANNOT be root disks (but can be mounted additionally)
Magnetic standard
Lowest price per GB
normally taking a snapshot excludes application and OS cached
data, however in RAID it can be a problem due to
interdependencies of the array
SC1 - Cold HDD
Lowest cost storage for infrequently accessed workloads (e.g. as
a file server,
EBS types
EBS - virtual storage disk which you attach to your EC2 instance. RAID = Redundant Array of Independent Disks RAID 1 - Mirrored more than 10000 IOPS
It is a block storage so it allows you to install components on it IO1 - Provisioned IOPS SSD
(just like on your PC's HDD) to maximize IOPS performance the best strategy is to add
multiple additional volumes with provisioned IOPS and then
RAID 5 - at least 3 disks, good for reads and bad for writes; not create a RAID0 stripe across those volumes
recommended by AWS
from multiple EBS volumes you can create a RAID (the EBSes You cannot mount 1 EBS to 2 EC2. Use EFS instead
can be of different types), e.g. from 4 different volumes create
one striped partition D://
remember about the tagging - thanks to tags you're able to track
particular services which generate the costs.
EC2 Instance Types
Configuring by default the EC2 and its disks are deleted when terminated
AMI = Amazon Machine Image (but you can change this behaviour)
a virtual machine in the cloud
For each availability zone there is a separated subnet (1 subnet
= 1 availability zone).
on Demand
Compute pay fixed rate by hour (or on seconds for Linux)
Reserved
capacity reservation. Requires signing a contract for 1-3 years
it is possible to transfer a reserved instance from one AZ to
EC2 price options another
If you terminate the instance then you're going to pay for this
Lightsail hour. If the AWS terminates your instance then it is for free
Spot you need to set a bid price (a maximum price that you can spend
for an hour/second of using EC2). If there is high demand for
EC2 (a lot of people is buying it at the moment) then the price of
it is going up. If this dynamic price is above your bind your
instances will be stopped or terminated.
in the auto scaling group you define the amount of instances and
the subnets (each subnet is a separate availability zone) - the
more subnets the bigger redundancy you have.
In advanced settings you can specify the load balancer which
does a health check
Grace period is a length of time before Auto Scaling does a
health check
Launch Configuration
PV - Para Virtualization
2 types of virtualization
HVM - Hardware Virtual Machine