AWS Compute Services: Lambda vs EC2
41 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

In the context of AWS compute services, which of the following scenarios would most effectively leverage the capabilities of AWS Lambda over Amazon EC2?

  • A microservices architecture where individual services need to scale independently and respond to events with minimal operational overhead. (correct)
  • A long-running batch processing job that requires persistent compute resources and direct operating system access for performance tuning.
  • An e-commerce platform that needs to handle predictable traffic patterns and requires consistent performance with dedicated resources.
  • A traditional three-tier web application requiring full control over the underlying infrastructure for security compliance and legacy application support.

Considering a scenario where an organization aims to minimize operational overhead while deploying containerized applications on AWS, which service offers the most streamlined approach, abstracting away the complexities of managing the underlying infrastructure?

  • Amazon EC2 with manual container orchestration using Docker Compose.
  • Amazon Elastic Beanstalk with preconfigured Docker environments.
  • Amazon Elastic Kubernetes Service (Amazon EKS) with self-managed worker nodes.
  • AWS Fargate, launched through Amazon Elastic Container Service (Amazon ECS). (correct)

An enterprise architect is tasked with designing a hybrid cloud solution that extends their on-premises VMware environment to AWS. Which AWS compute service provides seamless integration with existing VMware infrastructure, minimizing the need for refactoring applications?

  • AWS Outposts for deploying AWS infrastructure on-premises.
  • Amazon EC2 with a custom-built migration tool.
  • VMware Cloud on AWS. (correct)
  • AWS Serverless Application Repository.

A financial services company requires a highly secure and compliant environment for running its core banking application on AWS. They need granular control over the underlying infrastructure and the ability to customize the operating system. Which compute service best meets these stringent requirements?

<p>Amazon EC2 with dedicated instances and full administrative access. (A)</p> Signup and view all the answers

A research institution needs to perform complex simulations involving millions of independent tasks. They require a compute service that can efficiently distribute these tasks across a large number of processing units with minimal overhead. Which service is most suitable for this High Performance Computing (HPC) workload?

<p>AWS Batch for managed batch processing. (D)</p> Signup and view all the answers

An IoT startup is developing a platform that ingests and processes data from thousands of sensors in real-time. They need a highly scalable and cost-effective compute service that can automatically adjust resources based on fluctuating data volumes. Which service is the optimal choice for this dynamic workload?

<p>AWS Lambda triggered by data streams from the sensors. (C)</p> Signup and view all the answers

A global media company is deploying a content delivery network (CDN) to distribute video content to users across multiple geographic regions. They need a compute service that can be deployed close to their end-users to minimize latency and improve the viewing experience. Which service offers the most flexibility in terms of geographic deployment and edge computing capabilities?

<p>AWS Lambda@Edge for running code closer to end-users. (C)</p> Signup and view all the answers

In a highly distributed microservices architecture predicated on containerization, what ramifications would the strategic decision to consolidate multiple disparate services with loosely coupled dependencies into a single, monolithic container image have on the system's overall resilience and blast radius during a software defect propagation event?

<p>The increased surface area within the monolithic container would likely exacerbate the blast radius, leading to broader service disruptions upon defect propagation, thereby diminishing overall resilience. (B)</p> Signup and view all the answers

Considering a scenario where a Docker container, encapsulating a critical data processing pipeline, exhibits intermittent performance degradation attributed to resource contention on the underlying host OS, what advanced kernel-level tuning methodologies could be employed, without modifying the container image or application code, to mitigate the observed performance bottleneck with minimal disruption to co-tenant containers?

<p>Leveraging Control Groups (cgroups) to implement Quality of Service (QoS) policies, prioritizing CPU and I/O bandwidth allocation for the critical container based on its weighted importance relative to other co-tenant containers. (D)</p> Signup and view all the answers

In the context of securing a multi-tenant container orchestration platform, which of the following strategies offers the most robust defense against privilege escalation attacks originating from within a compromised container, assuming that seccomp profiles and AppArmor policies are already in place?

<p>Implementing Mandatory Access Control (MAC) mechanisms, such as SELinux, on the host OS to confine container processes to restricted security contexts with minimal privileges, regardless of user-level permissions within the container. (C)</p> Signup and view all the answers

Given a scenario where a stateful application, containerized using Docker, requires persistent storage with high availability and fault tolerance across multiple availability zones in a cloud environment, which storage solution would be most suitable, considering factors such as data consistency, performance overhead, and operational complexity?

<p>Implementing a distributed block storage system (e.g., Ceph, GlusterFS) within the container orchestration platform, providing persistent volumes with synchronous replication across availability zones for strong data consistency. (B)</p> Signup and view all the answers

When orchestrating a complex workflow using Docker containers within a resource-constrained edge computing environment, where network bandwidth is intermittent and latency-sensitive operations are paramount, what container optimization strategy would yield the most significant reduction in image size and startup time without compromising application functionality or security?

<p>Employing multi-stage Docker builds to minimize the final image size by discarding unnecessary build-time dependencies and intermediate artifacts; aggressively applying image layer squashing techniques to coalesce multiple layers into a single layer. (B)</p> Signup and view all the answers

In a scenario where a financial institution requires strict adherence to regulatory compliance and needs to ensure complete isolation of their EC2 instances at the hardware level, which Amazon EC2 pricing model would be the MOST suitable, considering both cost efficiency and compliance needs?

<p>Dedicated Hosts, offering physical isolation and control over instance placement, combined with bring-your-own-license options to optimize licensing costs. (C)</p> Signup and view all the answers

An ML engineer is designing a distributed training pipeline for a deep learning model. The training job can tolerate interruptions and needs to process a massive dataset within a limited budget. Which EC2 pricing model offers the MOST cost-effective solution for this scenario, considering the potential for interruptions and the scale of the workload?

<p>Spot Instances to leverage spare EC2 capacity, accepting potential interruptions in exchange for significantly reduced costs. (D)</p> Signup and view all the answers

A high-frequency trading firm requires guaranteed compute capacity with ultra-low latency for executing trades. They need a pricing model that ensures instances are always available within a specific Availability Zone. Which EC2 pricing model BEST addresses these stringent requirements?

<p>Reserved Instances with a capacity reservation, ensuring the trading firm has continuous access to instances in a defined Availability Zone. (C)</p> Signup and view all the answers

Given a scenario where a financial services company requires immutable infrastructure for regulatory compliance while also needing to run containerized workloads that interact with legacy systems, which combination of AWS services would be MOST suitable, considering the need for both control and compliance?

<p>AWS Fargate for container execution paired with Amazon EC2 instances configured with immutable AMIs and automated patching. (A)</p> Signup and view all the answers

A bioinformatics company is performing complex genomic analysis, and they have a strict policy requiring them to use existing software licenses tied to specific physical servers. Which EC2 pricing model is MOST appropriate for this scenario?

<p>Dedicated Hosts, allowing the company to leverage their existing software licenses tied to physical server IDs. (B)</p> Signup and view all the answers

A global media company is experiencing unpredictable traffic spikes and requires a highly scalable solution to host its web applications. They want to minimize operational overhead and focus primarily on code development. Which AWS service configuration would provide the MOST efficient and cost-effective solution, considering both rapid scaling and ease of management?

<p>AWS Elastic Beanstalk with pre-configured auto-scaling policies and load balancing across multiple Availability Zones, integrated with Amazon CloudFront for content delivery. (B)</p> Signup and view all the answers

An e-commerce company experiences significant traffic spikes during flash sales and needs to scale its infrastructure dynamically to handle the load efficiently. What combination of EC2 pricing models would be MOST suitable to achieve optimal cost management and performance?

<p>Reserved Instances for baseline capacity, supplemented by On-Demand Instances to handle unexpected traffic spikes, ensuring stable performance. (B)</p> Signup and view all the answers

An organization seeks to adopt a microservices architecture using containers, requiring fine-grained control over networking and security policies at the pod level. Considering the need for advanced customization and integration with other cloud-native tools, which orchestration platform BEST suits these requirements?

<p>Amazon EKS, utilizing Kubernetes network policies and custom resource definitions (CRDs) for advanced networking and security configuration. (B)</p> Signup and view all the answers

A research institution needs to execute complex computational simulations using a large number of containers, with each container requiring access to high-performance computing (HPC) resources and optimized networking. Which AWS service and configuration would be OPTIMAL for managing these containerized HPC workloads?

<p>Amazon ECS with the EC2 launch type, utilizing placement groups and enhanced networking to optimize inter-container communication and resource allocation. (B)</p> Signup and view all the answers

A research lab is running simulations that can be checkpointed and restarted. They need to minimize costs while processing a large volume of jobs over several weeks. Which EC2 pricing model is BEST suited to their needs?

<p>Spot Instances because they are fault-tolerant and allow for restarting simulations. (B)</p> Signup and view all the answers

A SaaS provider wants to offer its customers dedicated environments with predictable performance. Which combination of EC2 pricing models would BEST suit the SaaS provider to achieve optimal resource utilization and cost-effectiveness?

<p>Reserved Instances for baseline capacity and Dedicated Hosts for customer-specific environments, ensuring isolation and predictable performance. (C)</p> Signup and view all the answers

A rapidly growing e-commerce company is adopting Infrastructure as Code (IaC) and requires a container orchestration service that seamlessly integrates with their existing HashiCorp Terraform workflows. Which AWS service for container management would offer the MOST straightforward and efficient integration with Terraform?

<p>Amazon ECS, using the AWS Provider for Terraform to define and manage container deployments, task definitions, and service configurations declaratively. (C)</p> Signup and view all the answers

A startup is developing a new application and anticipates rapid growth but has limited initial capital. They need the MOST cost-effective EC2 option, but capacity must be available on short notice. What is the BEST suited EC2 pricing option for the early stages of this startup?

<p>On-Demand Instances to provide the highest degree of flexibility and low up-front costs to support unpredictable early-stage growth. (B)</p> Signup and view all the answers

A SaaS provider is migrating its monolithic application to a microservices architecture, necessitating a solution that supports Canary deployments and blue/green deployments with minimal downtime. Which AWS container orchestration service, combined with specific deployment strategies, would BEST facilitate these requirements?

<p>Amazon EKS, leveraging Kubernetes Deployments and Services with rolling updates and readiness probes to achieve zero-downtime deployments. (C)</p> Signup and view all the answers

A defense contractor is required to run containerized workloads within a highly regulated environment, necessitating strict compliance with FedRAMP and the ability to audit all container activities comprehensively. Considering these rigorous security requirements, which AWS container orchestration service would be MOST appropriate?

<p>Amazon ECS, configured with AWS CloudTrail logging, IAM role-based access control, and integration with AWS Security Hub for continuous monitoring and compliance assessment. (B)</p> Signup and view all the answers

A media company is creating a large-scale video transcoding pipeline with variable workloads and tight deadlines. Which of the following strategies represents the MOST efficient combination of EC2 pricing models to balance cost and timely completion?

<p>Leveraging Spot Instances for non-urgent transcoding tasks and Reserved Instances for time-sensitive content. (B)</p> Signup and view all the answers

A data science team needs to deploy and manage containerized machine learning models that require GPU acceleration and optimized resource utilization. Which AWS service and instance type combination would provide the MOST efficient and cost-effective solution for this scenario?

<p>Amazon ECS with EC2 instances utilizing GPU-optimized instance types (e.g., P3, G4dn), leveraging task placement strategies to maximize GPU utilization. (C)</p> Signup and view all the answers

A global consulting firm operates under strict data residency requirements, mandating that client data remains within specific geographic boundaries. Which EC2 pricing model configuration BEST supports these requirements while optimizing costs for variable project workloads?

<p>Employing Reserved Instances and Dedicated Hosts within designated AWS Regions to ensure data locality and compliance. (D)</p> Signup and view all the answers

An IoT company needs to deploy containerized applications to edge devices with limited resources and intermittent network connectivity. Considering the constraints of these edge environments, which AWS service or combination of services would provide the MOST suitable solution for managing and orchestrating containers at the edge?

<p>AWS IoT Greengrass, enabling local deployment and management of containerized applications on edge devices, with seamless synchronization and updates from the cloud. (D)</p> Signup and view all the answers

In scenarios characterized by spiky workloads and unpredictable demands, what is the most critical trade-off assessment that an architect must undertake when choosing between On-Demand Instances and Spot Instances, assuming strict adherence to budgetary constraints and minimal tolerance for service interruption?

<p>Balancing the immediate cost savings of Spot Instances against the potential for interruption and the overhead of managing instance state and recovery processes. (C)</p> Signup and view all the answers

For an organization subject to stringent regulatory mandates regarding data sovereignty and requiring complete, verifiable control over the physical infrastructure, which Amazon EC2 deployment option offers the most suitable architecture, and what specific auditing mechanisms must be implemented to ensure continuous compliance?

<p>Dedicated Instances, coupled with comprehensive AWS CloudTrail logging and regular infrastructure audits conducted by accredited third-party assessors. (B)</p> Signup and view all the answers

Considering a scenario where an application's architecture necessitates running compute workloads close to a specific geographic location to minimize latency for end-users while also requiring adherence to local data residency laws, which combination of AWS services and EC2 pricing models would provide the most optimized solution?

<p>AWS Local Zones in conjunction with Reserved Instances, optimized for predictable, low-latency workloads with long-term cost benefits. (C)</p> Signup and view all the answers

An organization is migrating a legacy application to AWS which exhibits unpredictable resource utilization patterns and is highly sensitive to performance degradation. What multi-faceted strategy should be employed, leveraging diverse EC2 pricing models and advanced monitoring techniques, to ensure optimal cost-efficiency without compromising application responsiveness?

<p>Utilize a combination of On-Demand Instances for baseline capacity, Spot Instances for opportunistic scaling, and implement dynamic auto-scaling policies based on real-time performance metrics. (B)</p> Signup and view all the answers

In the context of deploying a highly distributed microservices architecture across multiple AWS regions, what advanced strategies can be implemented using a combination of EC2 pricing models, containerization technologies, and service mesh architectures to optimize for both infrastructure costs and inter-service communication latency?

<p>Leverage Spot Instances for stateless microservices, employing Kubernetes for container orchestration, and utilize a service mesh like Istio for intelligent traffic routing across regions. (B)</p> Signup and view all the answers

When architecting a hybrid cloud environment that includes both on-premises data centers and AWS, what intricate factors must be considered when selecting the appropriate EC2 pricing model for migrating and running virtualized workloads in AWS, assuming the need for seamless integration with existing on-premises systems and compliance with stringent data governance policies?

<p>Assessing the compatibility of licensing models between on-premises software and AWS, considering Dedicated Hosts for BYOL scenarios, and implementing robust network connectivity solutions like AWS Direct Connect. (B)</p> Signup and view all the answers

How should an organization leverage the combination of AWS Cost Explorer, AWS Budgets, and detailed EC2 instance usage data to proactively identify and mitigate instances of cost overrun stemming from inefficient resource allocation or underutilized Reserved Instances, taking into account complex organizational hierarchies and chargeback models?

<p>Implement custom cost allocation tags, create detailed cost and usage reports, and configure automated alerts based on predefined budget thresholds to track and manage EC2 resource costs effectively. (B)</p> Signup and view all the answers

An e-commerce company anticipates a massive surge in traffic during a flash sale event. Which combination of EC2 Auto Scaling strategies, load balancing techniques, and caching mechanisms should be employed alongside appropriate EC2 pricing models to handle the increased load while minimizing infrastructure costs and ensuring optimal website performance for all users, and accounting for potential DDoS attacks?

<p>Employ a combination of On-Demand Instances for consistent baseline capacity, Spot Instances for scaling during peak demand, and utilize a CDN like Amazon CloudFront for caching static content, along with AWS Shield for DDoS protection. (C)</p> Signup and view all the answers

In the context of high-performance computing (HPC) workloads such as computational fluid dynamics or genomic sequencing characterized by substantial memory and CPU requirements, what comprehensive orchestration strategy, combined with a nuanced understanding of EC2 instance types and networking configurations, can be implemented to optimize for both computational throughput and inter-node communication latency?

<p>Use Amazon EC2 p4d instances interconnected with Elastic Fabric Adapter (EFA) within a Placement Group, combined with a workload manager such as AWS Batch to optimize throughput and minimize latency. (B)</p> Signup and view all the answers

For an organization involved in processing highly sensitive personal data subject to GDPR and CCPA regulations, what architectural blueprint, incorporating Dedicated Hosts, AWS Key Management Service (KMS), and end-to-end encryption techniques, ensures compliance with data residency and security requirements while maintaining the agility afforded by cloud infrastructure?

<p>Employ Dedicated Hosts to maintain control over physical infrastructure, utilize AWS KMS for managing encryption keys, and implement end-to-end encryption for data at rest and in transit, incorporating regular security audits and compliance assessments. (B)</p> Signup and view all the answers

Flashcards

What are containers?

OS virtualization method, packages an application with all its dependencies.

Container Benefits?

Run the same way across different environments, like a developer's laptop, test / production.

Container Speed?

Launch / terminate much faster than virtual machines saving time and system resources.

What is inside a container?

The container packages all needed dependencies.

Signup and view all the flashcards

Containers provide..?

Repeatable, isolated, application execution environments.

Signup and view all the flashcards

Amazon LightSail

A simple AWS service to launch and manage web servers.

Signup and view all the flashcards

Amazon EC2

A service where you manage virtual machines as you choose.

Signup and view all the flashcards

AWS Lambda

A service that lets you run code without managing servers.

Signup and view all the flashcards

Instance-based

Virtual machines that you manage as you choose.

Signup and view all the flashcards

Function-based

Write and deploy code that runs on a schedule or by events.

Signup and view all the flashcards

Infrastructure as a Service (IaaS)

Provisioning virtual machines that you manage as you choose

Signup and view all the flashcards

Serverless computing

Write and deploy code without managing servers

Signup and view all the flashcards

AWS Fargate

Reduces administrative overhead when using containers.

Signup and view all the flashcards

AWS Elastic Beanstalk

Platform as a service for web applications.

Signup and view all the flashcards

Cloud Compute Services

Organizations 'rent' server compute space and capabilities.

Signup and view all the flashcards

EC2 Instance Control

Allows full control over the operating system on each instance.

Signup and view all the flashcards

Amazon Machine Images (AMIs)

Used to launch EC2 instances.

Signup and view all the flashcards

EC2 Traffic Control

Control network traffic to and from EC2 instances.

Signup and view all the flashcards

Scheduled Reserved Instances

EC2 instances that are always available for usage with recurring schedules.

Signup and view all the flashcards

Dedicated Host

A physical server fully dedicated to your use.

Signup and view all the flashcards

Dedicated Instance

Instances that run in a VPC on hardware dedicated to a single customer.

Signup and view all the flashcards

On-Demand Instances

Pay for compute capacity by the hour or the second, without any long-term commitments.

Signup and view all the flashcards

Spot Instances

Request spare EC2 compute capacity. AWS can interrupt these with a 2-minute notification.

Signup and view all the flashcards

Reserved Instances

Commit to using EC2 instances for a 1 or 3 year period.

Signup and view all the flashcards

Spot Instance Use Cases

Suitable when you have flexibility in when your applications can run.

Signup and view all the flashcards

Reserved Instance Benefits

Used where predictability ensures compute capacity is available when needed.

Signup and view all the flashcards

Dedicated Host Benefits

Good for saving money on licensing costs.

Signup and view all the flashcards

Dedicated Host Compliance

Good for meeting compliance and regulatory requirements.

Signup and view all the flashcards

On-Demand Use Case

Best for short-term workloads without interruptions.

Signup and view all the flashcards

Reserved Instance Use Case

Best for workloads that are used a lot over time.

Signup and view all the flashcards

Dedicated Host Use Case

Best for sensitive workloads to keep compliance.

Signup and view all the flashcards

Virtual Machine

Complete operating system instance with its own resources.

Signup and view all the flashcards

Container

Lightweight, standalone executable packages of software, including everything needed to run it: code, runtime, system tools, system libraries and settings

Signup and view all the flashcards

Study Notes

Lab Feedback

  • When facing lab challenges, it can be helpful take a step back and retrace to identify where things went wrong
  • Logically assess the issue, formulating a hypothesis and testing it

AWS LightSail

  • Amazon LightSail facilitates web server launching and management through AWS

AWS Compute Services

  • Amazon Web Services (AWS) offers many compute services discussed throughout the notes
  • AWS provides several compute services, including EC2, Lambda, ECS, EKS, Fargate, ECR, and Elastic Beanstalk

Categorizing Compute Services

  • AWS Lambda is serverless, function-based, and low-cost, allowing on-demand code deployment that is triggered by events
  • Amazon EC2 offers Infrastructure as a Service (IaaS) with instance-based virtual machines, familiar to IT professionals
  • Amazon ECS, EKS, Fargate, and ECR provide container-based computing on an instance basis
  • AWS Elastic Beanstalk is a Platform as a Service (PaaS) tailored for web applications, offering easy startup
  • Organizations can opt to "rent" server compute space and capabilities, rather than hosting servers themselves
  • The services of AWS eliminate the need to purchase physical servers or maintain data centers on-premises

AWS Elastic Compute Cloud (EC2)

  • Amazon Elastic Compute Cloud (Amazon EC2) offers virtual machines, referred to as EC2 instances, in the cloud
  • EC2 provides full control over the guest operating system (Windows or Linux) installed in each instance
  • EC2 allows the launching of instances in any size within an Availability Zone around the world
  • Instances can be launched via Amazon Machine images (AMIs) with a few clicks, or a line of code, ready in minutes
  • User controls traffic to and from the instances.
  • Through EC2 users can create virtual computers called instances
  • Every instance called EC2 has CPU, Network card, OS, Hard drive, Firewall, and RAM to run
  • Users pay per use to run their own computer application on EC2
  • The service quickly allows to scale capacity, both up and down, as per computing changes
  • Users have full control over the geographical location of instance created
  • EC2 is fully integrated with most of the AWS services (S3, RDS)
  • The selection of instance type should be based on use case such as, Broad, High performance, Machine Learning etc

Amazon EC2 Storage Options

  • Amazon Elastic Block Store (Amazon EBS) offers durable, block-level storage volumes, keeping data even after instance stoppage
  • Amazon EC2 Instance Store provides ephemeral storage on local disks, which will be deleted when the instance stops
  • Other storage options include mounting the Amazon Elastic File System (Amazon EFS) or connecting to Amazon Simple Storage Service (Amazon S3)

EC2 Cost Optimization

  • EC2 on demand instances provide low-cost with high flexibility
  • EC2 spot instances provide the benefit of large scaled, dynamic workload
  • EC2 Reserved Instances ensures compute capacity is available when needed
  • Dedicated hosts on EC2 help save money on licensing costs and meet regulatory compliance

Amazon EC2 Pricing Models

  • Amazon EC2 offers On-Demand Instances, enabling pay-by-the-hour, no-commitment usage, suitable for short-term or unpredictable workloads
  • Reserved Instances offer discounted hourly charges for instances reserved for 1 or 3-year terms
  • Spot Instances provide potentially lower prices but can be interrupted with a 2-minute notification
  • Dedicated Hosts offer dedicated physical servers, while Dedicated Instances run in a hardware-dedicated VPC
  • Scheduled Reserved Instances enable purchasing capacity reservations available on a specified recurring schedule
  • Amazon EC2 provides per-second billing for On-Demand, Reserved, and Spot Instances running Amazon Linux or Ubuntu

Container Services

  • Containers offer a method of operating system virtualization
  • Docker is a software platform for building, testing, as well as quickly deploying applications

Container Basics

  • Container technology offers benefits like repeatability and self-contained environments, ensuring consistent software operation across different environments
  • Containers enable faster launch, stop, or termination compared to virtual machines
  • Containers involve packaging an application with all its dependencies into a single image for consistency across environments
  • A container includes configurations, dependencies, and operating system hooks necessary for the application
  • In contrast to virtual machines, containers share the host system's kernel, making them lighter and more efficient

Docker Containers

  • Docker containers are standard unit of software that holds the complete runtime, including application dependencies
  • Containers can be considered a Lightweight VM
  • Docker containers have everything the software needs to run, like Libraries, Code, and Runtime Environments
  • Docker containers are created from a template called an image

AWS Elastic Container Service (ECS)

  • Amazon Elastic Container Service (ECS) offers orchestration service and container management service
  • Elastic Container Service (ECS) is integrated with familiar Amazon EC2 service features like Elastic Load Balancing, Amazon EC2 security groups, Amazon EBS volumes, and IAM roles
  • Amazon ECS orchestrates the running of Docker containers, maintains/scales fleets, as well as reduces the complexity of setting up the infrastructure

Kubernetes

  • Kubernetes is open-source software for container orchestration, allowing for deployment and management of applications at scale
  • Kubernetes complements Docker by orchestrating multiple Docker hosts/nodes to run multiple containers on an OS host
  • Kubernetes automates container provisioning, networking, load distribution, and scaling
  • Kubernetes isolates processes
  • Kubernetes handles server monitoring, auto repair, and auto scaling
  • Kubernetes has autoscaling capabilities
  • Kubernetes handles container monitoring and management, including functions such as auto restart failed containers

AWS Lambda

  • AWS Lambda allows users to upload functions to the service
  • Users can also upload layers to be used on the server
  • AWS Lambda provides multiple programming languages
  • AWS lambda runs completely automated administration
  • AWS Lambda supports Built-in fault tolerance
  • AWS Lambda supports the orchestration of multiple functions
  • AWS Lambda provides Pay-per-use pricing
  • AWS Lambda allows for an alternative invocation of function via the Lambda console, AWS SDK, or AWS CLI
  • AWS Lambda provides event sources for amazon S3 through amazon cloudwatch

AWS Elastic Beanstalk

  • AWS Elastic Beanstalk simplifies web application deployments and runs written for Java, .NET, PHP, Node.js, Python, Ruby, Go, and Docker
  • AWS Elastic Beanstalk handles infrastructure provisioning, deployment, load balancing, auto-scaling, health monitoring, analysis, debugging, and logging
  • AWS Elastic Beanstalk operates as a managed service, handling infrastructure provisioning and configuration, deployment, and load balancing
  • There are no additional charges for Elastic Beanstalk beyond the resources used
  • Elastic Beanstalk automatically handles deployment on servers such as Apache, NGINX, Passenger, Puma, and Microsoft Internet Information Services (IIS)

AWS Storage Services

  • Different costs are associated with file access and durability, there is a storage for almost every level
  • Storage services by AWS include Storage Gateway, S3, FSx etc
  • Data storage includes simple storage service (S3), block Store (EBS), Glacier

Simple Storage Service (S3)

  • Simple Storage Service (S3) offers distributed cloud object storage across Availability Zones
  • S3 offers fully automatic data classification support for moving data from less to more expensive storage, has a big unlimited storage bucket option
  • S3 is similar to Dropbox for mass and long-term data storage
  • S3 enables direct big data analytics processing
  • S3 stores each file (called an object) as a separate entity
  • Amazon S3 is reliable with 99.999999999% durability, offers easy-to-use management features to fine-tune access controls
  • S3 is simple, durable, scalable, and secure
  • S3 allows web service interface to store data
  • Storing information on EC2 local storage is not permanent due to how the instances work
  • S3 is useful for uploading web files/data, storing files for mobile applications/enterprise applications
  • 1A of S3 stands for (1 zone, least expensive)
  • S3 is highly durable and available
  • S3 storage classes include Standard, Intelligent-Tiering, Glacier as well as Standard-Infrequent Access
  • S3 storage class includes One Zone-Infrequent Access and Glacier Deep Archive.
  • You can transfer files to a cheaper location using S3 lifecycle policies

Different S3 Storage Class Tiers

  • S3 lifecycle policies enable automatic file transfers between storage classes over time

Amazon Elastic Block Store (EBS)

  • Amazon Elastic Block Store (EBS) supports attachment to EC2 instances and is used by Amazon Relational Database Services (RDS)
  • Amazon Elastic Block Store (EBS) provides unformatted raw block storage attached to an EC2 instance
  • Amazon Elastic Block Store (EBS)' configurations can be changed from the management console, which means it is dynamically configurable
  • Amazon Elastic Block Store (EBS) is automatically replicated within its availability zone
  • Adding multiple EBS volumes is possible to one EC2 instance and are often used as file systems
  • EC2 uses different types of EBS storage for varying needs and budgets, and these are can be encrypted independently from EC2 instances
  • You can think of EBS as an external drive for EC2 servers

Block storage versus object storage

  • Only the part that contains the character has to be changed within Block Storage
  • Block storage involved changing one character in 1-GB file
  • All Blocks have to be updated on Object Storage
  • Object storage involves changing one character in 1-GB file

Amazon Glacier

  • Amazon Glacier is cheaper to store and more expensive to retrieve than Amazon EBS
  • A Snowball is used for large amounts of data transfer
  • It is not practical to move vast amounts of data using a regular network connection
  • AWS physically ships a Snowball to migrate data and later ships it back
  • Snowballs support usage for 10 days with additional usage service fees

AWS Snowball

  • A data migration tool can function as a dedicated a storage device.
  • Snowmobile can move 50 terabytes with regular Snowball up to 100 petabytes
  • A snowball is device that migrates large files that are uploaded into AWS S3
  • S3 uploads the transferred files from the snowball
  • A snowball functions as a storage device
  • Service fees and storage fee apply
  • Shipping can be faster than cloud upload

Amazon Storage Gateway

  • The storage gateway enables accessing AWS storage as local storage through a VPN connection
  • Amazon Storage Gateway offers data storage and replication locally with cloud synchronization
  • AWS provides its service through the VPN connection storage gateway

Storage Use Case

  • Static websites that operate by requiring no actions to take place on the server , can be stored on S3
  • S3 can store Static website files (HTML, CSS, etc)
  • Dynamic websites that require actions to take place on the web server have to hosted on a virtual machine
  • Dynamic/interactive website files (JS, Python, PHP, etc)

Key Terms

  • Storage for specific Amazon Elastic Compute Cloud instances
  • Amazon Elastic Block Store is thought of as a storage drive for EC2 instances
  • Elastic Compute Cloud is thought of as a virtual machine

More Key infrastructure Terms

  • A slower storage that uses a spinning disk to store data is know as Hard Disk Drive (HDD)
  • A very fast storage that uses flash memory instead of a spinning disk is a Solid State Drive (SSD)
  • IOPS is a measurement to demonstrate the benchmark of a computer storage

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

Description

Explore AWS compute services including Lambda and EC2. Determine best use cases for minimizing overhead deploying containerized applications and hybrid cloud solutions. Learn about secure compliant environments for financial applications.

More Like This

AWS Lambda SupportOps Troubleshooting
16 questions
AWS Lambda Access Solutions Quiz
3 questions
Use Quizgecko on...
Browser
Browser