Description:
Vertical scaling vs horizontal scaling:
- Scale up vs scale out
- Bigger machine vs more machines
Public vs Private Cloud
| Factors | Public Cloud | Private cloud |
|---|---|---|
| Resources | Resources are shared among multiple customers | Resources are shared with a single organization |
| Tenancy | Data of multiple organizations is stored in the public cloud | |
| Pay Model | Pay what you used | Have a variety of pricing models |
| Operated by | Third-party service provider | Specific organization |
| Scalability and Flexibility | It has more scalability and flexibility | |
| Expensive | less expensive | More expensive |
| Availability | The general public (over the internet) |
Cloud computing categories:
- Comparision:
| Traditional | IaaS | CaaS | PaaS | FaaS | SaaS | |
|---|---|---|---|---|---|---|
| Data & config | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Application code | ✅ | ✅ | ✅ | ✅ | ✅ | 🛑 |
| Scaling | ✅ | ✅ | ✅ | ✅ | 🛑 | 🛑 |
| Runtime | ✅ | ✅ | ✅ | 🛑 | 🛑 | 🛑 |
| OS | ✅ | ✅ | 🛑 | 🛑 | 🛑 | 🛑 |
| Virtualization | ✅ | 🛑 | 🛑 | 🛑 | 🛑 | 🛑 |
| Hardware | ✅ | 🛑 | 🛑 | 🛑 | 🛑 | 🛑 |
| Amazon Web Service | Microsoft Azure | GCP | |
|---|---|---|---|
| Compute | Amazon EC2, Amazon ECS, AWS Lambda | Azure Virtual Machines, Azure Container Instances, Azure Functions | Compute Engine, Kubernetes Engine, Cloud Functions |
| Storage | Amazon S3, Amazon EBS, Amazon EFS | Azure Blob Storage, Azure Disks, Azure Files | Cloud Storage, Cloud Bigtable, Cloud Filestore |
| Databases | Amazon RDS, Amazon DynamoDB, Amazon Aurora | Azure SQL Database, Azure Cosmos DB, Azure PostgreSQL | Cloud SQL, Cloud Spanner, Cloud Firestore |
| Networking | Amazon VPC, Amazon Route 53, AWS Transit Gateway | Azure Virtual Network, Azure DNS, Azure ExpressRoute | Cloud Networking, Cloud DNS, Cloud VPN |
| Machine Learning & AI | Amazon SageMaker, Amazon Rekognition, Amazon Comprehend | Azure Machine Learning, Azure Cognitive Services, Azure Databricks | AI Platform, Vertex AI, Cloud AutoML |
| Serverless Computing | AWS Lambda, Amazon API Gateway, AWS Step Functions | Azure Functions, Azure Logic Apps, Azure Durable Functions | Cloud Functions, Cloud Run, Cloud Workflows |
| Containers | Amazon ECS, Elastic Container Service for Kubernetes (EKS) | Azure Container Instances (ACI), Azure Kubernetes Service (AKS) | Kubernetes Engine (GKE), Cloud Run |
| Identity & Access Management (IAM) | AWS IAM, Amazon Cognito | Azure Entra ID, Policies, RBAC (allows for more specific conditions like VM location) | Cloud IAM, Google Cloud Identity |
| Webapp | App Service | AppEngine |
Ansible vs Terraform
Hashicorp Sentinel
Kubernetes vs Docker Swarm vs Docker Compose
- K8s support multi cloud, other 2 dont
- K8s is more complex, large-scale
| Includes features like auto-scaling, self-healing, service discovery, load balancing, secrets management, and rolling updates | Offers core features like service discovery, manual scaling, and rolling updates, but lacks advanced tools like monitoring or logging | Focuses on defining services, networks, and volumes for multi-container applications in a local environment |
|---|