Cloud Practioner Flashcards
(175 cards)
What does Amazon EC2 stand for?
Amazon Elastic Compute Cloud
Describe EC2 instance
A virtual server that you can use to run applications in Amazon’s Elastic Compute Cloud (EC2).
Allows users to run applications on the cloud
Provides scalable computing capacity
Simplifies managing storage and deploying virtual servers
Reduces the need for investing in hardware
What is a hypervisor?
is responsible for sharing the resources on an EC2 instance. Also known as a virtual machine monitor or VMM, is software that creates and runs virtual machines (VMs). A hypervisor allows one host computer to support multiple guest VMs by virtually sharing its resources, such as memory and processing
What is vertical scaling?
makes an instance shorter or longer
Describe General Purpose (EC2 Instance Type)
Provides a balance of compute, memory, and networking resoures.
Examples: gaming servers, small databases, personal projects, etc.
Describe Compute Optimized (EC2 Instance Type)
Ideal for compute-bound applications that benefit from high performance processors. Similar to general purpose. Examples: web servers, gaming servers
Describe Memory Optimized (EC2 Instance Type)
Designed to deliver fast performance for workloads that process LARGE datasets in memory. (Memory = temporary storage)
Example: pre-loading data before running an application
Describe Storage Optimized (EC2 Instance Type)
For workloads that require high, sequential read and write access to LARGE datasets on local storage.
Example: distributed file systems, data warehousing applications, and high-frequency online transaction processing (OLTP)
Describe Accelerated Computing (EC2 Instance Type)
Use additional hardware accelerators or co-processors to perform functions more efficiently than a CPU can
Examples: Floating-point numeric computations, graphics processing, and data pattern matching
Amazon EC2 Auto-Scaling
Helps you maintain application availability and lets you automatically add or remove EC2 instances using scaling policies that you define.
What are the 2 scaling policies for Amazon EC2 Auto-Scaling
Dynamic Scaling - responds to changing demand
Predictive Scaling - auto schedules the right # of EC2 instances based on predicted demand.
Can set min, max, desired capacity
What is load balancing?
Have load balancers which are processors that take in requests and route them to EC2 instances to be processed.
Describe Elastic Load Balancing
Amazon service that automatically distributes incoming application traffic across multiple resources (like an EC2 instance).
Acts as a single point of contact for all incoming web traffice to applicaltions
What is a payload?
the data that is transmitted over a network or communication system
What is a topic in relation to messaging?
A chanel for messages to be delivered
Differences between monolithic application and mircroservices approach
Monolithic Application: type of architecture w/ tighlty coupled components (so if a single component fails=others will fail if not all)
Mircroservices Approach: application components are loosely coupled
Describe Amazon Simple Notification Service (SNS)
Using Amazon SNS topics, a publisher publishes messages to subscribers.
Subscribers can be web servers, email addreses, AWS Lamda functions
Describe Amazon Simple Queue Service (SQS)
A messaging queue service where you can send, store, and receive messages between software components.
processing website user registration requests, handling image uploads to a cloud storage service, sending notifications when a new order is placed on an online store essentially, any scenario where one system needs to send a task to another system to process without needing an immediate response,
What is serverless?
Run code on servers, but YOU don’t have to provision or manage the servers. Can’t see or access the underlying infrastructure
AWS Lambda
a service that lets developers run code without managing servers.
Lambda runs code in response to events.
It automatically manages the computing resources needed for that code.
It performs server and operating system maintenance, capacity provisioning, and more.
AWS Lambda process
Upload code to Lambda function -> configure a trigger -> service waits for trigger -> when triggered, code runs in a managed environment
What is a container?
package for your code. Runs on top of EC2 instance and in isolation.
a software package that contains an application’s code and dependencies
Describe Amazon Elastic Container Service (ECS)
Container management tool that is highly scalable that enables you to run and scale containerized applications on AWS.
makes it easier for teams to focus on building the applications, not the environment
What is Docker?
open sourced software platfrom that enable developers to build, test, and deploy code in containers.