Domain 1: Design Resilient Architectures Flashcards
Decoupling
different pieces of the design being able to function autonomously from other pieces
CDN, Content Delivery Networking
moving content very close to the end user
User Data
often used as a text or file, the script that you want executed when the EC2 instance launches
Default Security Group
Allows all traffic and protocols through all port ranges
Key Pair
used to access an instance
Elastic Interface
allows you or AWS to attach dynamically a GPU, the gpu power will increase or decrease depending on its need, autoscaling
Decoupling Advantages
- Failure of a component can be survived
- Modify Components as needed
- Launch or terminate as needed
- Reduce impact on users of our changes
Synchronous Decoupling
- Components must always be available for the solution to function
- Ex. load balancing between EC2 instances in different AZs
Asynchronous Decoupling
- Loose
- Component can go offline, and the messaging can be queued
SQS Queue Types
- Standard
- FIFO
Standard Queue Type
- Messaging ordering isnt preserved
- Atleast once delivery
- Very fast
- Unlimited transactions per second per API action
FIFO Queue Type
- Messaging ordering is preserved
- Exactly once processing
- No duplication
SNS
Pushes out notifications for activities, alerts, thresholds, large sums, etc.
System-to-system messaging
a managed messaging service that lets you decouple publishers from subscribers. This is useful for system-to-system messaging for micro services, distributed architectures, and server less applications
SNS- User Notifications
lets you send push notifications to mobile apps, text messages to mobile phone numbers, and plain text emails to email addresses. You can fan out messages with a topic, or publish to mobile endpoints directly