Podcast
Questions and Answers
What are the four types of compute services? (Select all that apply)
What are the four types of compute services? (Select all that apply)
- Platform as a Service (correct)
- Infrastructure as a Service (correct)
- Software as a Service (correct)
- On-Premises (correct)
Which of the following is NOT a type of virtual machine instance family?
Which of the following is NOT a type of virtual machine instance family?
- t3
- f2 (correct)
- m5
- c5n
Virtual machines in the cloud are run in data centers worldwide and connected through a fiber network.
Virtual machines in the cloud are run in data centers worldwide and connected through a fiber network.
True (A)
What is the purpose of 'HighCPU' or 'Highmem' machine types?
What is the purpose of 'HighCPU' or 'Highmem' machine types?
What is the recommended range for memory provision per virtual CPU?
What is the recommended range for memory provision per virtual CPU?
Which of the following instance types are specifically optimized for memory-intensive operations?
Which of the following instance types are specifically optimized for memory-intensive operations?
What are the benefits of using a local SSD for storage on a virtual machine?
What are the benefits of using a local SSD for storage on a virtual machine?
Persistent disks in the cloud can be attached to multiple virtual machines simultaneously.
Persistent disks in the cloud can be attached to multiple virtual machines simultaneously.
What is a cloud provider's network interface used for?
What is a cloud provider's network interface used for?
What are the two main types of metadata associated with a cloud instance?
What are the two main types of metadata associated with a cloud instance?
Pre-emptible virtual machines are designed for short-term, cost-effective workloads.
Pre-emptible virtual machines are designed for short-term, cost-effective workloads.
Which of the following is NOT a benefit of using a pre-emptible virtual machine?
Which of the following is NOT a benefit of using a pre-emptible virtual machine?
Shielded virtual machines include a virtual Trusted Platform Module (vTPM) for enhanced security.
Shielded virtual machines include a virtual Trusted Platform Module (vTPM) for enhanced security.
What is the main purpose of an instance group in cloud computing?
What is the main purpose of an instance group in cloud computing?
What are the two main types of instance groups?
What are the two main types of instance groups?
Auto-scaling groups are designed to automatically adjust the number of instances based on predefined scaling policies.
Auto-scaling groups are designed to automatically adjust the number of instances based on predefined scaling policies.
Virtual machines are not suitable for running containerized applications.
Virtual machines are not suitable for running containerized applications.
What is the main advantage of using a micro-service engine compared to virtual machines?
What is the main advantage of using a micro-service engine compared to virtual machines?
Micro-service engines typically use only one programming language.
Micro-service engines typically use only one programming language.
Which of the following is a characteristic of serverless computing?
Which of the following is a characteristic of serverless computing?
Serverless functions can run indefinitely, making them ideal for long-running tasks.
Serverless functions can run indefinitely, making them ideal for long-running tasks.
What is the main benefit of using containers for application deployment?
What is the main benefit of using containers for application deployment?
Docker is a popular container runtime environment that requires a daemon to run.
Docker is a popular container runtime environment that requires a daemon to run.
What is the primary purpose of Kubernetes?
What is the primary purpose of Kubernetes?
What are the two main components of Kubernetes?
What are the two main components of Kubernetes?
Kubelet is responsible for managing individual containers within a Pod.
Kubelet is responsible for managing individual containers within a Pod.
What is the purpose of a Service in Kubernetes?
What is the purpose of a Service in Kubernetes?
The ReplicaSet controller dynamically adjusts the number of Pods running for a deployment based on the desired state.
The ReplicaSet controller dynamically adjusts the number of Pods running for a deployment based on the desired state.
What is the main difference between a ReplicaSet and a StatefulSet in Kubernetes?
What is the main difference between a ReplicaSet and a StatefulSet in Kubernetes?
What is the role of Ingress in a Kubernetes cluster?
What is the role of Ingress in a Kubernetes cluster?
Kubernetes requires an Ingress controller to be installed in each worker node for proper functioning.
Kubernetes requires an Ingress controller to be installed in each worker node for proper functioning.
What is the primary purpose of a container registry in containerized deployments?
What is the primary purpose of a container registry in containerized deployments?
The process of deploying a containerized web application involves building a Docker image, uploading it to a registry, and then deploying it to a Kubernetes cluster.
The process of deploying a containerized web application involves building a Docker image, uploading it to a registry, and then deploying it to a Kubernetes cluster.
What is the primary purpose of an API server in Kubernetes?
What is the primary purpose of an API server in Kubernetes?
The etcd database is a key-value store that holds crucial information about the Kubernetes cluster and its components.
The etcd database is a key-value store that holds crucial information about the Kubernetes cluster and its components.
In the context of Kubernetes, what is a Pod?
In the context of Kubernetes, what is a Pod?
Flashcards
Compute Services
Compute Services
Different ways to run applications in the cloud, such as virtual machines, micro-services, serverless functions, and managed container clusters.
Virtual Machine (VM)
Virtual Machine (VM)
A software emulation of a physical computer, running on a cloud provider's servers.
Micro-service Engine
Micro-service Engine
A Platform as a Service (PaaS) offering for deploying and managing micro-service applications.
Serverless Engine
Serverless Engine
Signup and view all the flashcards
Managed Container Clusters (Kubernetes)
Managed Container Clusters (Kubernetes)
Signup and view all the flashcards
Instance
Instance
Signup and view all the flashcards
vCPU
vCPU
Signup and view all the flashcards
Local SSD
Local SSD
Signup and view all the flashcards
Persistent Disk
Persistent Disk
Signup and view all the flashcards
Meta Data
Meta Data
Signup and view all the flashcards
Pre-emptible VM
Pre-emptible VM
Signup and view all the flashcards
Shielded VM
Shielded VM
Signup and view all the flashcards
Instance Group
Instance Group
Signup and view all the flashcards
Load Balancer
Load Balancer
Signup and view all the flashcards
Pods
Pods
Signup and view all the flashcards
Services
Services
Signup and view all the flashcards
Deployment
Deployment
Signup and view all the flashcards
ReplicaSets
ReplicaSets
Signup and view all the flashcards
StatefulSets
StatefulSets
Signup and view all the flashcards
Persistent Volumes
Persistent Volumes
Signup and view all the flashcards
Ingress
Ingress
Signup and view all the flashcards
User Data
User Data
Signup and view all the flashcards
Study Notes
Compute Services in the Cloud
- Compute services encompass various types of virtualized computing resources accessible through cloud platforms
- Different service models cater to diverse needs and requirements
Types of Compute Services
-
Virtual Machine (VM):
- Emulates a physical server on a virtual environment
- Highly customizable, allowing for adjustments to CPU, memory, and storage
- Provides granular control over the virtual machine.
- Multiple preconfigured machine types exist, categorized by compute or memory optimization
-
Micro-service Engine:
- A Platform-as-a-Service (PaaS) offering facilitating efficient deployment and management of microservices
- Facilitates automated scaling, simplifying management in comparison to virtual machines
- Features like auto-scaling and load balancers are inherent parts of the service.
-
Serverless Engine:
- An execution environment where you write code without managing servers directly
- Managed by the cloud provider, optimized for event-driven computing
- Provides a cost-effective solution and simplifies server management tasks
-
Managed Container Clusters (Kubernetes):
- Orchestration system for containers automating container management, including deployment, scaling, and management of containerized applications.
Virtual Machine (Instance)
- All components of a traditional computer virtualized
- Support various operating systems such as Windows and Linux
- Virtual machines run in CSPs' data centers via fiber optic networks worldwide.
- Predefined machine types offering different compute powers, from micro to super (0.2 vCPUs to 96vCPUs)
- Instance types, such as c5n.xlarge, come with various configuration options.
- CPU and memory are available for selection based on requirements.
Provisioning an Instance
- vCPU and memory selection process
- Customization options available from the creation process
- Cost adjustment based on creation or adjustment
- Basic memory rules ensure appropriate range between 0.9GB/vCPU to 6.5GB/vCPU and multiples of 256MB.
Instance Types
- Different instance types, categorized by various optimizations (general purpose, compute, memory, accelerated compute, or storage).
- Different specifications for instances categorized by providers such as Intel or AMD
- Varying storage capacity and I/O operations for different instances
VM Instance Use Cases
- Useful for users requiring full control over VMs
- Compatible with container technologies like Docker
- Allows adding and removing storage, accommodating fluctuating storage demands
- Ideal for applications with specific requirements and persistent state, such as databases
Elastic Compute Engine (EC2)
- An example of a compute engine (a type of compute service)
Micro-service Engine (AWS Beanstalk, GCP AppEngine)
- PaaS service specialized for managing and deploying microservices
- Provides a managed environment for streamlining developer tasks
Serverless Engine (AWS Lambda, GCP Cloud Functions)
- Enables code execution without server management
- Event-driven execution mechanism, making it cost-effective.
Managed Container Clusters (Kubernetes)
- Orchestrates containerized applications, automating container management
- Automates scaling and deployment, offering a robust containerization solution
Components of Kubernetes
- Provides components for control plane, kubelet, kubectl, Kubernetes, and kube-proxy
Important Terms for Kubernetes
- Pods:Â The fundamental building blocks
- Services:Â Abstraction layer for network communications
- Deployments:Â Mechanisms for managing and scaling applications
- ReplicaSets:Â Control the desired number of Pods running
- StatefulSets:Â Manage Pods requiring persistent state
- Persistent Volumes:Â Store persistent data
- Ingress:Â Handles external access for services
Work chart of Kubernetes
- Describes the interactions and communication between clients, other services, and control plane, including deployments, kubelet, and nodes
Deploy Containerized Web APP
- Steps for deploying a web application utilizing containerization techniques.
- Visual steps using images for deployment process, from packaging to deployment
Summary and Case study of Compute Services in Cloud
- Summarizes different computing as-a-service models
- Case study of a web application providing micro-service-based APIs and static content from Dress4Win
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.