Week 1: Intro to Cloud Computing Flashcards
How does virtualization work?
- Virtual machines are created using a hyper visor that managers the hardware resources
- Resources such as CPU, memory, storage, and network bandwidth are allocated to different VMs.
- Providers can “oversubscribe” CPU usage since not all VMs will require full processing power simultaneously
What is the anatomy of the platform of a web service?
User Interface: Users interact with the service via a browser or app.
DNS Resolution: Translates domain names into IP addresses.
Load Balancer: Distributes incoming requests to different servers.
Web Tier: Handles HTTP requests.
Application Tier: Handles business logic and computations.
Database Tier: Stores data and handles read/write requests.
Applications of MBAAS?
Fast development of mobile apps.
Unified backend management for cross-platform apps.
Handling user logins and notifications centrally.
What is cloud computing?
Cloud Computing is the delivery of computing services (e.g. storage, processing, networking, and applications) over the internet rather than relying on local servers or personal devices
Why is cloud computing important?
- No need to maintain physical infrastructure (cost efficient)
- Resources can be increased or decreased based on demand (scalable)
- Can access services rom anywhere with an internet connection (flexible)
- Cloud providers handle system updates and security (easily maintainable)
- Cloud providers often have failover and backup strategies (reliable)
What are the three main service tiers of cloud computing?
Infrastructure as a Service (IaaS), Platform as a Service (PaaS), Software as a Service (SaaS)
What is virtualization?
Technology that allows multiple virtual instances to run on a physical machine.
What is PaaS?
PaaS provides a managed environment for developing, running, and managing applications without handling the underlying infrastructure.
What does the Cloud Provider manage and what does the user manage for PaaS?
Cloud Provider: Hardware, OS, runtime, database, auto-scaling
User: Applications, data
What does the Cloud Provider manage and what does the user manage for SaaS?
Cloud Provider: Complete software solution
User: Nothing
Why is virtualization important?
It enables cloud providers to divide physical ardware resources into smaller manageable chunks, allowing multiple users to run different operating system and applications on the same physical server
What is IaaS?
IaaS is the foundational model of cloud computing where the provider offers virtualized computing resources (servers, storage, and networking). The user controls the operating system and applications but not the physical hardware.
What are the advantages of IAAS
Flexibility: Users can configure and run any OS or software.
Cost-saving: No need for physical hardware.
Scalability: Can scale up or down based on demand.
Resilience: Cloud providers manage failures, and workloads can be distributed across availability zones.
WHat are the main providers of IAAS?
Amazon Web Services (AWS): Amazon EC2 (Elastic Compute Cloud)
Microsoft: Azure
Google: Google Cloud Platform
Advantages of PaaS
Pre-built infrastructure: Load balancers, databases, and runtime environments are managed by the provider.
Auto-scaling: Instances are created and removed automatically based on demand.
Cost-effective: Reduces the need for hardware and infrastructure management.
What is Amazon AWS Elastic Beanstalk?
Elastic Beanstalk is a PaaS offering by AWS that automates deployment, scaling, and monitoring of applications.
It supports multiple programming languages (Java, Python, Node.js, etc.).
Handles infrastructure scaling using Amazon EC2.
Provides built-in load balancing and monitoring with CloudWatch
What is SaaS?
SaaS delivers complete software solutions over the internet. Users access the software through a browser without needing to install or maintain it.
Examples of SaaS
Email: Gmail, Yahoo Mail
Office Tools: Google Docs, Microsoft Office 365
Project Management: Atlassian Jira
CRM: Salesforce
Finance: TurboTax.
Advantages of SaaS
No installation: Direct access from a browser.
Lower costs: Pay-as-you-go model.
Automatic updates: Providers handle maintenance and updates.
Global access: Accessible from any location with internet access.
Disadvantages of SaaS
Limited control: Customization options are limited.
Vendor lock-in: Moving data between providers may be difficult.
Performance issues: Dependent on internet connection and provider performance.
What is Mobile Backend as a Service (MBaaS)
MBaaS provides backend infrastructure for mobile and web apps, including:
Database integration
User authentication
Social media integration
Push notifications
Cloud storage
What does the Cloud Provider manage and what does the User manage for IaaS?
Cloud Provider: Virtualized hardware, storage, networking
User: OS, applications, middleware
What to consider when choosing a cloud service tier?
Level of Control: IaaS gives the most control; SaaS gives the least.
Cost: SaaS is usually subscription-based; IaaS and PaaS can be pay-as-you-go.
Scalability: PaaS and IaaS provide more options for scaling.
Customization: IaaS offers the most flexibility; SaaS is more fixed.
PaaS vs. IaaS
PaaS: Less control: Limited to programming environment, Less Complex because infrastructure is managed, Scalability is Handles automatically
IaaS: More control over OS and platform, More complex: have to specify architecture, Scalability requires user configuration