NET TECH 6

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/65

encourage image

There's no tags or description

Looks like no tags are added yet.

66 Terms

1
New cards

COMPUTE

AWS provides a variety of compute services for running applications and processing data in the cloud. These services provide flexible computing resources without requiring organizations to purchase and maintain physical servers.

2
New cards

Virtual Machine-Based Computing

Compute Services;


  • Amazon Elastic Compute Cloud (Amazon EC2) provides resizable virtual machines called instances. EC2 follows an Infrastructure as a Service (IaaS) approach in which AWS provides the underlying physical infrastructure while customers configure and manage their virtual computing environments.

  • This approach provides flexibility because customers can select computing resources according to the requirements of their workloads. It is useful when an application requires greater control over its operating system, software, networking, and other server configurations.


3
New cards

Serverless Computing

Compute Services;


  • Serverless computing enables applications or functions to run without requiring customers to provision and manage servers. AWS manages the underlying infrastructure and provides the computing resources needed to execute the code.



4
New cards

AWS Lambda – Serverless Computing

Compute Services;


  • Is an example of a serverless compute service. This can run code in response to events or according to a schedule. This approach is useful for workloads that do not require a continuously running server and can reduce the operational work associated with managing computing infrastructure.


5
New cards

Container-Based Computing

Compute Services;


  • Containers package an application together with the components it needs to run.

  • They provide a portable and lightweight way to deploy applications across computing environments.


6
New cards

Managed Application Platforms

  • AWS Elastic Beanstalk provides a managed platform for deploying and running web applications. Developers provide their application code while Elastic Beanstalk assists with infrastructure provisioning, capacity scaling, load balancing, and application health monitoring.

  • This approach reduces the infrastructure tasks developers need to perform and allows them to focus more on developing and maintaining their applications.


7
New cards

Amazon Elastic Compute Cloud

  • provides virtual servers, called instances, in the AWS Cloud. EC2 instances can be launched in different Availability Zones and configured with the computing, storage, networking, and security resources required by an application.

  • Customers have control over the guest operating system of an EC2 instance and can install and configure applications as needed. EC2 can support many workloads, including web servers, application servers, database servers, file servers, and other computing workloads.


8
New cards

Amazon Machine Images

  • Is a template used to launch an EC2 instance. It contains the information required to create the instance, such as the operating system and other software configurations included in the image.

  • AWS provides AMIs, and customers can also use images from other sources or create their own. Selecting an AMI is one of the first decisions when launching an EC2 instance because it determines the initial software environment of the virtual server.


9
New cards

Instance Types

  • Determines the combination of computing resources available to an EC2 instance. Instance types provide different combinations of processor, memory, storage, and networking capacity to support different workload requirements.


10
New cards

General purpose

Instance types;


  • Provides a balance of compute, memory, and networking resources.


11
New cards

Compute optimized

Instance types;


  • Designed for workloads that benefit from high processing performance.


12
New cards

Memory optimized

Instance types;


  • Designed for workloads that process large amounts of data in memory.


13
New cards

Storage optimized

Instance types;


  • Designed for workloads that require high performance when accessing data stored locally.


14
New cards

Launching an EC2 Instance

Launching an EC2 instance requires several configuration decisions. These settings determine the instance's computing environment, connectivity, permissions, storage, and security.

15
New cards

Select an AMI

Launching an EC2 Instance;


  • Choose the operating system and initial software configuration.


16
New cards

Select an instance type

Launching an EC2 Instance;


  • Choose the required compute, memory, storage, and networking capacity.


17
New cards

Configure network settings

Launching an EC2 Instance;


  • Select the VPC, subnet, and other network settings for the instance.


18
New cards

Assign an IAM role

Launching an EC2 Instance;


  • Provide the instance with appropriate permissions to access AWS services when required.


19
New cards

Provide user data

Launching an EC2 Instance;


  • Supply commands or scripts that can run when the instance is launched.


20
New cards

Configure storage

Launching an EC2 Instance;


  • Specify the storage volumes required by the instance.


21
New cards

Add tags

Launching an EC2 Instance;


  • Assign metadata to help identify, organize, and manage the instance.


22
New cards

Configure a security group

Launching an EC2 Instance;


  • Define the permitted inbound and outbound network traffic.


23
New cards

Select a key pair

Launching an EC2 Instance;


  • Configure credentials that can be used to securely connect to supported instances.


24
New cards

EC2 Instance Lifecycle

An EC2 instance moves through different states during its lifecycle.

  1. When an instance is launched, it enters the pending state while AWS prepares it.

  2. It then enters the running state and becomes available for use.

  3. A running instance can be stopped when its computing capacity is temporarily unnecessary. A stopped instance can later be started again.

  4. When an instance is no longer needed, it can be terminated, which permanently deletes the instance.


25
New cards

Elastic IP Addresses

  • Is a static public IPv4 address that can be associated with supported AWS resources, including EC2 instances. Unlike an automatically assigned public IPv4 address, an Elastic IP address remains allocated to the AWS account until it is released.

  • Can be reassociated with another supported resource when necessary. This can help maintain a consistent public address when the underlying instance changes. AWS charges for public IPv4 addresses according to current AWS public IPv4 pricing.


26
New cards

Instance Metadata

  • It can include information related to the instance, network interfaces, and other instance attributes.

  • EC2 provides ________, which contains information about a running instance. Applications or scripts running on the instance can access metadata to obtain information about the instance and its environment without requiring that information to be manually stored on the instance.



27
New cards

Monitoring Amazon EC2

  • Amazon EC2 integrates with Amazon CloudWatch to monitor instances and collect performance metrics. These metrics can provide information about the operation and resource utilization of an instance.


  • Monitoring helps identify changes in workload behavior and provides information that can be used when evaluating instance performance and capacity. This information can also support later decisions about scaling and cost optimization.


28
New cards

Amazon EC2 Cost Optimization

  • Amazon EC2 costs can be managed by matching computing resources and purchasing options to actual workload requirements.


  • Cost optimization involves selecting appropriate instance resources, adjusting capacity as demand changes, choosing suitable pricing options, and reviewing storage use.


29
New cards

Right-Sizing EC2 Instances

  • involves selecting an EC2 instance type and size that match the performance requirements of a workload. An instance that provides more resources than necessary can result in unnecessary costs, while an undersized instance can affect application performance.


  • Workload performance should be monitored to determine whether the selected instance continues to provide the appropriate amount of compute, memory, storage, and networking resources. As workload requirements change, an instance can be moved to a more appropriate size or type.


30
New cards

Increasing Elasticity

  • allows computing capacity to adjust according to workload demand. Instead of maintaining enough capacity for peak usage at all times, resources can be added when demand increases and reduced when demand decreases.


31
New cards

EC2 Auto Scaling

  • This can automatically adjust the number of instances according to defined conditions, helping applications maintain appropriate capacity as demand changes.


32
New cards

On-Demand Instances

Selecting an EC2 Pricing Option;


  • Provide computing capacity without a long-term commitment. They are suitable for workloads with changing or unpredictable requirements.


33
New cards

Savings Plans

Selecting an EC2 Pricing Option;


  • Provide reduced prices in exchange for a commitment to a consistent amount of compute usage for a one- or three-year term.


34
New cards

Reserved Instances

Selecting an EC2 Pricing Option;


  • Provide a billing discount for eligible EC2 instance usage in exchange for a one- or three-year commitment. They can be appropriate for predictable workloads.


35
New cards

Spot Instances

Selecting an EC2 Pricing Option;


  • Use spare EC2 capacity at discounted prices. AWS can interrupt Spot Instances when the capacity is needed, so they are best suited to workloads that can tolerate interruptions.


36
New cards

Dedicated Hosts

Selecting an EC2 Pricing Option;


  • Provide a physical server dedicated to a single customer and can support workloads with specific compliance or software licensing requirements.


37
New cards

Optimizing Storage

  • Storage attached to EC2 instances also contributes to workload costs. Storage should therefore be selected according to the capacity and performance requirements of the application.

  • Unused storage resources and unnecessary snapshots should be reviewed regularly. Storage volumes can also be adjusted as requirements change so that workloads do not continually maintain more storage capacity or performance than necessary.


38
New cards

Measure, Monitor, and Improve

  • EC2 cost optimization is an ongoing process. Workload usage and performance should be monitored to determine whether resources continue to match actual requirements.


  • Services and tools such as Amazon CloudWatch can provide metrics for evaluating resource utilization. The information collected can be used to identify opportunities to resize resources, adjust capacity, or reconsider the pricing and storage options being used.


  • EC2 cost optimization can therefore focus on four areas: right-sizing resources, increasing elasticity, selecting appropriate pricing options, and optimizing storage choices.


39
New cards

Container Services

  • Containers provide a way to package an application together with the libraries, dependencies, and configuration it needs to run. This allows an application to operate consistently across different computing environments and makes it easier to deploy and scale application components.


  • Unlike virtual machines, containers share the operating system of the host rather than requiring a separate guest operating system for each application. As a result, containers are generally lightweight and can start more quickly than virtual machines.


40
New cards

Docker

  • Is a software platform commonly used to build, package, and run containerized applications.


41
New cards

Docker Container

  • is created from a container image, which contains the application code and the components required for the application to run.

  • Multiple containers can run on the same host while remaining isolated from one another. This makes containers useful for applications composed of independent components that need to be deployed or scaled separately.


42
New cards

Amazon Elastic Container Service

  • Is a managed container orchestration service for deploying, managing, and scaling containerized applications.

  • It coordinates where containers run and helps maintain the desired number of running containers.


43
New cards

ECS – Amazon EC2

Amazon ECS;


  • Containers run on EC2 instances managed as part of the container environment. This option provides greater control over the underlying compute resources.


44
New cards

ECS – AWS Fargate

Amazon ECS;


  • Containers run without requiring customers to provision or manage the underlying servers. Customers specify the resources needed by their containers, while AWS manages the compute infrastructure.


45
New cards

Kubernetes

______ Is an open-source system for deploying, scaling, and managing containerized applications. It organizes containers into groups and coordinates their operation across computing resources.


46
New cards

Amazon EKS

  • Is a managed Kubernetes service that enables organizations to run Kubernetes applications on AWS. AWS manages the Kubernetes control plane, reducing the operational effort required to maintain the underlying Kubernetes infrastructure.


  • Can run container workloads using Amazon EC2 or AWS Fargate, depending on the level of infrastructure management and control required.


47
New cards

Amazon Elastic Container Registry

  • is a managed container image registry.

  • It provides a location where container images can be stored, managed, and retrieved for deployment.


For example, an application can be packaged as a container image and stored in Amazon ECR. Amazon ECS or Amazon EKS can then use that image when deploying containers.

48
New cards

AWS Lambda

  • Is a serverless compute service that runs code without requiring customers to provision or manage servers. Developers provide the code and configure when it should run, while AWS manages the underlying compute infrastructure needed to execute it.


  • Is designed for applications in which code runs in response to specific events or requests. Instead of maintaining a continuously running server, a Lambda function runs when it is invoked and can automatically scale as the number of requests changes.


49
New cards

Lambda Functions

  • Code that runs in AWS Lambda is organized into ________.

  • A function contains the code that performs a particular task together with configuration settings that determine how the function operates.


When creating a ______, settings can include the runtime environment, memory allocation, timeout, permissions, and other configuration needed by the function. AWS provides runtime environments for several commonly used programming languages.

50
New cards

Event-Driven Computing

AWS Lambda is commonly used for event-driven computing, where an event causes a function to run. Events can originate from other AWS services or applications.


For example, a Lambda function can be invoked when:

  • An object is uploaded to an Amazon S3 bucket.

  • Data is added or changed in an Amazon DynamoDB table.

  • A request is received through an application.

  • A scheduled event occurs.


This allows applications to perform tasks automatically when particular activities occur.

51
New cards

How AWS Lambda Works

The basic operation of AWS Lambda can be described as follows:


  1. An event occurs or a request invokes a Lambda function.

  2. AWS Lambda allocates the resources required to run the function.

  3. The function executes the configured code.

  4. Lambda automatically manages the underlying compute environment.

  5. Resources can scale according to the number of incoming events or requests.


Because the underlying servers are managed by AWS, customers can focus on the function code and its configuration rather than server administration.

52
New cards

No server management

Benefits of AWS Lambda;

  • AWS manages the infrastructure used to run the functions.



53
New cards

Automatic scaling

Benefits of AWS Lambda;


  • Lambda scales in response to incoming requests or events.


54
New cards

Pay for use

Benefits of AWS Lambda;


  • Charges are based on requests and the compute resources consumed while functions execute.


55
New cards

Integration with AWS services

Benefits of AWS Lambda;


  • Functions can respond to events generated by other AWS services.


56
New cards

Flexible resource configuration

Benefits of AWS Lambda;


  • Resources such as memory and execution settings can be configured according to the needs of a function."


57
New cards

AWS Lambda Use Cases

Lambda can support tasks that need to run automatically when an event occurs. For example, when an image is uploaded to an Amazon S3 bucket, an event can invoke a Lambda function that creates a thumbnail version of the image.


Lambda can also automate operational tasks. A function can be invoked according to a schedule to perform actions such as starting or stopping Amazon EC2 instances. These examples demonstrate how Lambda can connect events with application or administrative actions without requiring a continuously running server.

58
New cards

AWS Elastic Beanstalk

  • Is a service for deploying and managing web applications in the AWS Cloud.


  • Developers upload their application code, and ________ handles supporting tasks such as resource provisioning, load balancing, scaling, and application health monitoring.


  • Provides a managed approach to application deployment while still allowing access to the AWS resources that support the application. This enables developers to focus on application development while AWS assists with managing the deployment environment.


59
New cards

Elastic Beanstalk Environments

When an application is deployed through Elastic Beanstalk, the service creates an environment that contains the AWS resources required to run the application. Depending on the application configuration, these resources can include Amazon EC2 instances, load balancing, and scaling resources.


Elastic Beanstalk monitors the environment and provides information about its health. Developers can also modify configuration settings when the application's requirements change.

60
New cards

Elastic Beanstalk Supported Platforms

  • Docker

  • Go

  • Java

  • .NET

  • Node.js

  • PHP

  • Python

  • Ruby


61
New cards

How AWS Elastic Beanstalk Works

  1. Create an Elastic Beanstalk application.

  2. Select the appropriate platform for the application.

  3. Upload the application code.

  4. Configure the application environment.

  5. Elastic Beanstalk provisions the resources required to run the application.

  6. Elastic Beanstalk monitors the deployed environment and supports scaling as required.


Developers can deploy updated versions of the application as the code changes without manually rebuilding the entire supporting environment

62
New cards

Simplified deployment

Benefits of AWS Elastic Beanstalk;


  • Developers can deploy applications without manually configuring each supporting AWS resource.


63
New cards

Infrastructure management

Benefits of AWS Elastic Beanstalk;


  • Elastic Beanstalk handles many provisioning and configuration tasks required by the application environment.


64
New cards

Scalability

Benefits of AWS Elastic Beanstalk;


  • Application capacity can adjust as workload requirements change.


65
New cards

Health monitoring

Benefits of AWS Elastic Beanstalk;


  • Elastic Beanstalk monitors the health of the application environment.


66
New cards

Developer control


Benefits of AWS Elastic Beanstalk;


  • The underlying AWS resources remain accessible and can be configured when additional control is required.