Please enable JavaScript.
Coggle requires JavaScript to display documents.
AWS (S3 (Lifecycle Management (Can be used in conjunction with versioning,…
AWS
S3
-
Charges
-
-
-
-
Transfer Acceleration
enables fast, easy and secure transfers of files over long distances between your end users and an S3 bucket. It takes advantage of Amazon CloudFront's globally distributed edge locations.
-
CloudFront
What is a CDN?
A content delivery network is a system of distributed servers that deliver webpages and other web content to a user based on the geographical locations of the user, the origin of the webpage and a content delivery server.
Edge Location
Edge locations are not just READ only, you can write to them too
-
You can clear cached objects, but you will be charged
-
Origin
This is the origin of all the files that the CDN will distribute. This can be either an S3 Bucket, and EC2 instance, an Elastic Load Balancer or Route53.
Distribution
This is the name given the CDN which consists of a collection of Edge Locations (Web Distribution, RTMP)
Amazon CloudFront is optimized to work with other AWS, like S3, Ec2, ELB & Route53. CloudFront also works seamlessly with any non-AWS origin server, which stores the original, definitive versions of your files.
Tired Storage Available
-
S3 Standard
99.99% availability 11-9% durability, stored redundantly across multiple facilities, and is designed to sustain the loss of 2 facilities concurrently
S3 One Zone - IA
lower-cost option for IA data, but do not require the multiple AZ data resilience
-
-
Once enabled, cannot be disabled, only suspended
-
-
-
Security
By default, all newly created buckets are PRIVATE
You can setup access control to your buckets using:
- Bucket Policies
- Access Control Lists
-
Storage Gateway
File Gateway (NFS)
For flat files, stored directly on S3.
Volumes Gateway (iSCSI)
- Stored Volumes
- Cached Volumes
-
-
Tape Gateway (VTL)
Used for backup and uses popular backup applications like NetBackup, Backup Exec, Veeam ...
-
Object-Based
There are two type of Cloud Storages:
- Object-Based (Files only/No OS or DBMS installation)
- Block-Based
Storage Types
A simple Key-value Store
- Key
- Value
- Version ID
- Metadata
- Subresources (ACL/Torrent)
-
-
-
-
-
When you upload a file, you receive a HTTP 200 response
Built for 99.99% availability
Amazon Guarantee 99.9% availability
Amazon guarantees 11-9 durability for information
-
Elastic Load Balancers
-
Network Load Balancer
are best suited for load balancing of TCP traffic where extreme performance is required. Operating at the connection level (Layer 4). Use for extreme performance. capable of handling millions of requests per second, while maintaining ultra-low latencies.
Classic Load Balancer
legacy ELB. You can load balance HTTP/HTTPS applications and use Layer 7 specific features such as X-Forwarded and sticky sessions. You can also use strict Layer 4 load balancing for applications that rely purely on the TCP protocol.
504 Error means the gateway has timed out. This means that the application is not responding within the idea timeout period
Instances monitored by ELB are reported as: InService, or OutofService
-
-
EC2
Options
-
Reserved
Provides you with a capacity reservation, and offer a significant discount on the hourly charge for an instance.
-
-
-
Spot
enables you to bid whatever price you want for instance capacity, providing for even greater savings if your applications have flexible start and end times
-
-
-
Dedicated Hosts
Physical EC2 server dedicated for your use. Dedicated hosts can help you reduce costs by allowing you to use your existing server-bound software licenses
-
-
-
-
-
AMI
-
-
Selection Criteria
-
-
-
-
Storage for the Root Device
- Instance Store (EPHEMERAL STORAGE)
- EBS Backend Volumes
EBS vs Instance Store
For EBS root device for an instance launched fro the AMI is an Amazon EBS volume create from an EBS Snapshot
For Instance store root device for an instance launched from the AMI is an instance store volume created from a template stored in S3
Instance Store Volumes cannot be stopped. If the underlying host fails, you will lose your data
-
By default, both ROOT volumes will be deleted on termination, however with EBS volumes, you can tell AWS to keep the root device volume
Storage
EBS
-
Once attached, you can create a file system on top of these volumes, run a database, ....
EBS volumes are placed in a specific AZ, where they are automatically replicated to protect you from the failure of a single component
Types
-
-
-
Cold HDD (SC1)
- Lowest cost storage for infrequently accessed workloads
- File server
Cannot be a boot volume
Magnetic (Standard)
Lowest cost per gigabyte of all EBS volume types that is bootable. Ideal for workloads where data is accessed infrequently, and application where the lowest storage cost is important
Volumes & Snapshots
-
-
-
Snapshots are incremental - This means that only the blocks that have changed since your last snapshot are moved to S3
To create a snapshot for Amazon EBS volumes that serve as root devices, you should stop the instance before taking the snapshot
-
-
You can change EBS volume sizes on the fly, including changing the size and storage type
-
To move an EC2 volume from one AZ/Region to another, take a snap or image of it, then copy it to the new AZ/Region
-
-
You can share snapshots, but only if they are unencrypted
- These snapshots can be shared with other AWS accounts or made public
-
Amazon Elastic Compute Cloud is a web service that provides resizable compute capacity in the cloud and reduces the time required to obtain new server instances to minutes allowing you to quickly scale capacity, both up & down, as your computing requirements change. EC2 changes the economics of computing by allowing you to pay only for capacity that you actually use.
CloudWatch
-
Exam Tip
-
-
-
Logs - helps you to aggregate, monitor, and store logs
CloudWatch = Monitoring, CloudTrail = Audit
Architecture
Infrastructure
Network
VPC
Security Group
-
-
-
-
-
-
-
You cannot block specific IP addresses using Security Groups, instead use Network Access Control Lists
You can specify allow rules, but not deny rules
Virtual Private Cloud (VPC) let you provision a logically isolated section of the AWS Cloud where you can launch AWS resources in a virtual network that you define. You have complete control over your virtual network environment, including selection of your own IP address range, creation of subnets, and configuration of route tables and network gateways.
-
VPC Peering
- Allows you to connect one VPC with another via a direct network route using private IP addresses
- Instances behave as if they were on the same private network
- You can peer VPC's with other AWS accounts as well as with other VPCs in the same account
- Peering is in a star configuration: ie 1 central VPC peers with 4 others. NO TRANSITIVE PEERING!!!
VPC Flow Logs
a feature that enables you to capture information about the IP addresses going to and from network interfaces to your VPC. Logs are stored in CloudWatch.
-
-
-