Category: AWS
My study notes for AWS
-
ohhh I just got the email from AWS saying that I passed the exam. And this is midnight and I get this dopamine rush and I can’t go to sleep now lol. I worked really hard for this and seeing the result come into fruition really does make me feel good. I learned so much…
-
Snowball: Ordered from AWS, Log a job, Device Delievered (not instant) Data Encryption use KMS 50TB or 80TB Capacity 1 Gbps or 10Gbps Netowrk if storage is between 10 TB to 10PB, then it’s within economical range, if more, then order multiple Snowball(?) can send multiple devices to multiple premises Snowball Edge: Both Storage and…
-
Simple Queue Service Public, Fully Managed, Highly-Available Queues – Standard or FIFO Standard guarentee at least one delivery, order is not maintained, FIFO guarantee exactly once, order is maintained Messages up to 256KB in size – link to large data Received messages are hidden (VisibilityTimeout) then either reappear (re-try) or are explicitly deleted Dead-Letter queues…
-
RDS has two type of backups; Automated, Snapshot, both of which is stored in AWS-managed S3 Bucket (you can’t see them within your S3). Because S3 is regionally-resilient, backup is also reslient. How backup works – Snapshots:Snapshots aren’t automatic, you run it by script or manually. They function like EBS snapshot. First copy is the…
-
EC2 Placement GroupsThis is how we can specify each instance physically be apart or stay closer to one another Cluster Placement Group – Pack instances close togetherSpread Placement Group – Keep instances separatedPartition Placement Group – Groups of instances spread apart Cluster Placement Group: Can’t span AZs – One AZ only – locked when launching…
-
Horizontal vs Vertical Scaling Vertical Scaling: Just buy better instance lol However, this require a reboot – disruption Larger instances often carry a $premium; not cost efficient There’s always an upper cap on performance no app modification required, relatively simpler than HS Horizontal Scaling just buy more instance load balancer may be needed No disruption…
-
Problem with virturalization is that guest Operating System taking up too much space. This becomes rather wasteful when we’re horizontally scaling, and have multiple of instance, we’ll be essentially have same OS on each instance that are not doing anything useuful. SO HERE COMES CONTAINER we still have host hardware, and host os, but we…
-
ECS has two mode; ec2, fargate. ECS orchestrate how container should be managed. ECS create cluster; it’s where your container run from. You need a way to let ECS know how you want to run container images which image will be located in registry. To tell ECS about your container image, you create container definition;…
-
EC2 Purchase Options (launch type) ec2-on-demand Instances of different sizes run on the same EC2 hosts – consuming a defined alloaction of resources. Predictable Pricing No capacity reserveration No discount Short term workloads No interruption spot selling unused EC2 host capacity for up to 90% discount if spot price goes above your maximum price, then…
-
Virtualization Single piece of hardware running multiple OS.For OS to run, it needs to run on preveliged mode. Emulated VirtualizationHypervisor,the software that runs on preveliged mode, comes in. To put it into architecture, it looks like the following: App1 App2 App3OS1 OS2 OS3-h y p e r v i s o r—cpu/mem network devices Hypervisor…
