Module 3 - Exploring Compute Services Flashcards

(16 cards)

1
Q

Unmanaged services

A

Unmanaged services are cloud computing services, like Amazon EC2, where AWS takes care of the underlying physical infrastructure, but you’re responsible for setting up, securing, and maintaining the operating system, network configurations, and applications on your instances.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Managed services

A

Managed services are cloud computing services where AWS handles most of the setup, maintenance, and management tasks, reducing the user’s operational burden.

While AWS handles much of the operational overhead, you might still need to perform some provisioning or configuration depending on the service.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Fully-managed services

A

Fully-managed services—like serverless ones—are cloud computing services that take abstraction even further, eliminating the need to provision or manage any servers at all. The underlying infrastructure is fully managed by AWS, so you can focus entirely on writing and deploying code.

Example: Lambda. Lambda is a serverless compute service where AWS handles the infrastructure, scaling, and availability, while you remain responsible for securing and managing your application code.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Lambda

A

Lambda is a serverless compute service that runs code in response to events without the need to provision or manage servers.

  • It automatically manages the underlying infrastructure, scaling resources based on the volume of requests.
  • You are charged only for the compute time consumed, down to the millisecond.
  • Lambda handles execution, scaling, and resource allocation.
  • You can optimize performance by configuring the appropriate memory size for your function.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Lambda’s key components

A
  • Lambda function: Core executable unit in AWS Lambda, consisting of your custom code and its configuration. It’s a piece of code (written in a supported programming language) that performs a specific task in response to an event.
  • Triggers: AWS services or events that invoke (start) a Lambda function. They define what causes the function to execute.
  • Runtimes: Execution environments that AWS Lambda provides to run your function’s code. A runtime includes the programming language, its libraries, and the necessary dependencies.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Lambda use case examples

A
  • A social media company uses Lambda to process images uploaded by users. When a photo is uploaded, Lambda is triggered to resize the image, apply filters, and save it in an optimized format to storage. This event-driven, serverless approach makes sure that the application can handle high volumes of uploads without needing to manage infrastructure.
  • A news aggregator uses Lambda to fetch and process news articles from multiple sources, then it tailors recommendations based on user preferences. When a user opens the application or performs a search, Lambda functions are triggered to retrieve data, run personalization logic, and return relevant content.
  • A gaming company uses Lambda to handle in-game events like player actions, game state changes, and real-time leader board updates. Each event (like scoring a point or unlocking an achievement) triggers a Lambda function that updates player data and game status.

Lambda works well along with Amazon Simple Queue Service.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Container

A

A container is a standardized, portable unit that packages an application along with its dependencies, libraries, and configuration files, ensuring it runs consistently across different environments.

Containers are faster and lighter than virtual machines (VMs) because they share the host computer’s operating system. VMs use a hypervisor to run full, separate operating systems, which makes them less resource-efficient and have longer startup times.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Containers orchestrator

A

Container orchestrators are tools or platforms that automate the deployment, scaling, management, and operation of containerized applications across multiple hosts or clusters.

As containerized applications grow from a few containers on a single host to hundreds or thousands across multiple hosts, orchestrators handle complex tasks like container lifecycle management, resource allocation, load balancing, scaling, networking, monitoring, and recovery from failures.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Amazon ECS

A

Amazon Elastic Container Service is a scalable container orchestration service for running and managing containers on AWS, like Docker containers. Docker is a software platform for building, testing, and deploying applications quickly.

Amazon ECS launch types:

  • Amazon ECS with Amazon EC2 is ideal for small-to-medium businesses that need full control over infrastructure. Suitable for custom applications requiring specific hardware or networking configurations, with the flexibility of Amazon EC2 and the simplicity of Amazon ECS.
  • Amazon ECS with AWS Fargate is perfect for startups or small teams building web applications with variable traffic. It’s a serverless option—no server management required—so teams can focus on development while Amazon ECS handles scaling and orchestration.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Amazon EKS

A

Amazon Elastic Kubernetes Service is a fully managed service for running Kubernetes on AWS. It simplifies deploying, managing, and scaling containerized applications using open-source Kubernetes, with ongoing support and updates from the broader community.

Amazon EKS launch types

  • Amazon EKS with Amazon EC2: This is best for enterprises needing full control over infrastructure. It offers deep customization of EC2 instances alongside Kubernetes scalability—ideal for complex, large-scale workloads.
  • Amazon EKS with AWS Fargate: This is great for teams wanting Kubernetes flexibility without managing servers. It combines Kubernetes power with serverless simplicity, helping to scale applications quickly across various use cases.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Amazon ECR

A

Amazon Elastic Container Registry is where you can store, manage, and deploy container images.

  • It supports container images that follow the Open Container Initiative (OCI) standards.
  • You can push, pull, and manage images in your Amazon ECR repositories using standard container tooling and command line interfaces (CLIs).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

AWS Fargate

A

AWS Fargate is a serverless compute engine for containers. It works with both Amazon ECS and Amazon EKS.

Fargate is a container hosting platform, unlike Amazon ECS and Amazon EKS, which are both container orchestration services.

When using Fargate, you do not need to provision or manage servers. Fargate manages your server infrastructure for you. You can focus more on innovating and developing your applications, and you pay only for the resources that are required to run your containers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

AWS Elastic Beanstalk

A

Elastic Beanstalk is a fully managed service that streamlines the deployment, management, and scaling of web applications.

Developers can upload their code, and Elastic Beanstalk automatically handles the provisioning of infrastructure, scaling, load balancing, and application health monitoring.

It supports various programming languages and frameworks, such as Java, .NET, Python, Node.js, Docker, and more. It provides full control over the underlying AWS resources while automating many operational tasks.

Good for: Deploying and managing web applications, RESTful APIs, mobile backend services, and microservices architectures, with automated scaling and simplified infrastructure management

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

AWS Batch

A

AWS Batch is a fully managed service that you can use to run batch computing workloads on AWS.

It automatically schedules, manages, and scales compute resources for batch jobs, optimizing resource allocation based on job requirements.

Good for: Processing large-scale, parallel workloads in areas like scientific computing, financial risk analysis, media transcoding, big data processing, machine learning training, and genomics research

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

AWS Lightsail

A

Amazon Lightsail is a cloud service offering virtual private servers (VPSs), storage, databases, and networking at a predictable monthly price.

It’s ideal for small businesses, basic workloads, and developers seeking a straightforward AWS experience without the complexity of the full AWS Management Console.

Good for: Basic web applications, low-traffic websites, development and testing environments, small business websites, blogs, and learning cloud services

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

AWS Outposts

A

AWS Outposts is a fully managed hybrid cloud solution that extends AWS infrastructure and services to on-premises data centers.

It provides a consistent experience between on premises and the AWS Cloud, offering compute, storage, and networking components.

Good for: Low-latency applications (no delay in data transfer), data processing in remote locations, migrating and modernizing legacy applications, and meeting regulatory compliance or data residency requirements