Section 3 Compute Flashcards
Microservice Architecture
Components operate independently
Infexible Scaline
Either Increase the Instance Size or Dupicate the Instance
Microservices
Opperate as individual opperations
Application Program Interface (API)
Interface accessed by another service or application
API Endpoint
Hosts one or more APIs and makes them available on a network
Event-Driven Architecture
A system that operates around “Events” the represent actions or a change in state
Lambda
- FaaS Product
- Functions are codes that run in runtime
Functions
- Invoked by Events
- Run up to 15 min
- Stateless
API Gateway
Managed API ENdpoint Service
API Gateway can be used to?
- Create APIs
- Publish APIs
- Monitor APIs
- Secure APIs
Step Functions
Serverless Visual Workflow Service that Provides a State Machine
Workflow Steps
- Known as States
- Perform Work via Tasks
Amazon Machine Image (AMI)
Used to build Instances
Amazon Machine Image (AMI) stores Snapshots of?
- EBS Volumes
- Permissions
- Block Device Mapping
Amazon Machine Image (AMI) can be?
- Shared
- Free
- Paid
- Copied to other AWS Regions
Boostrapping
Instructions are Executed on an INstance during its Launch Process
EC2 User can be used to run?
- Shell Scripts
- Cloud- Initiated Directives
EC2 Instance Roles
IAM roles that can be “Assumed” by EC2 an intermediary called an Instance Profile
Instance Profile
Either created automatically when using the console UI or manuallyusing CLI
Volume Encryption
Uses EC2 host hardware to encrypt Data At Rest and In Transit between EBS and EC2 Instance
Legacy Non-EBS-Optimized Instance
Uses a shared network path for data and storage cummunications
EBS-Optimized Mode
Adds optimization and dedicated communication paths for storage and traditional data networking
Enhonced Networking
Uses SR-IOV which allows a single physical network card to appear as multiple physical devices
Single Root Input Output Virtulization (SR-IOV)
Each instance can be given one of these fake physical devices
Cluster Placement Group (CPG)
Places Instances Physically Near Each Other in a Single Avalibility Zone (AZ)
Partition Placement Group (PPG)
- Instances are deployed and seperated into partitions
- Max 7 per AZ
- Can span ultiple AZs ina Region
Spread Placement Group (SPG)
- Max 7 Instances per AZ that need to be seperated
- Each instance occupies a partition and has isolated fault domain
Spread Placement Group (SPG) great for?
- Domain Controllers
- File Servers
- Application HA pairs
Spot Instance
- Cunsomption of spare AWS capacity
Spot Fleet
Pool of instances of certain types and size aiming for a given “capacity”
Reserved Instance
Lock in a reduced rate for 1 or 3 years
Reserved Instance used for?
- Long- Running
- Understood
- Consistent Workloads
Dedicated Hosts
EC2 Hosts for a given type and size that can be dedicated
Amazon Machine Image (AMI)
Used to build Instances
Amazon Machine Image (AMI) stores Snapshots of?
- EBS Volumes
- Permissions
- Block Device Mapping
Amazon Machine Image (AMI) can be
- Shared
- Free
- Paid
- Copied to other AWS Regions
Bootstrapping
Instructions are executed on an Instance during its launch process
Bootstrapping is used to
- Configure an Instance
- Perform Software Instillation
- Add App configurations
EC2 Instance Roles
IAM Roles that can be assumed by EC2 using INstance Profiles
Instance Profile
Either created automatically when using the console UI or Manually using CLI
Legacy Non-EBS-Optimized Instances
Used to share networking paths for data & storage comunications
EBS-Optimized Mode
Addsoptimization and dedicated communication paths for storage and data networking
Enhanced Networking
Uses SR-IOV allowing a single physical network card to appear as multiple physical devices
Single Root Inpout Outpu Virtulization (SR-IOV)
Instances can be given one of these fake physical devices
Single Root Inpout Outpu Virtulization (SR-IOV) results in
- Faster Transfer Rates
- Lower CPU Usage
- Lower Consistent Latency
Cluster Placement Group (CPG)
Plcaes Instances Physically near each other in a single AZ
Partition Placement Group (PPG)
Instances are deployed and seperated into Partitions of max 7 per AZ
Containers
A package that contains Apps, Libraries, or File Systems
Elastic Container Systems (ECS)
Managed Container Engine