name: cloud-platforms
description: Cloud platform best practices for AWS, Azure, GCP, and Cloudflare. Covers Zero Trust architecture, IAM patterns, EKS/AKS/GKE configurations, serverless patterns, and multi-cloud strategies. Use when working with cloud infrastructure, AWS services, Azure resources, GCP projects, Cloudflare Workers, or when asking about cloud architecture and deployment.
Cloud Platforms
Core Principles
- Zero Trust: Never trust, always verify
- Least Privilege: Minimum necessary permissions
- Defense in Depth: Multiple layers of security
- Infrastructure as Code: All infrastructure defined in code
- Observability: Comprehensive logging, metrics, and tracing
Platform Selection
| Use Case |
Recommended |
| Enterprise, broad services |
AWS |
| Microsoft ecosystem |
Azure |
| Data/ML workloads |
GCP |
| Edge/CDN, simple serverless |
Cloudflare |
AWS Quick Reference
IAM Best Practices
# EKS Pod Identity (Recommended over IRSA)
resource "aws_eks_pod_identity_association" "app" {
cluster_name = aws_eks_cluster.main.name
namespace = "default"
service_account = "app"
role_arn = aws_iam_role.app_pod_identity.arn
}
VPC Pattern
# Private subnets only - Zero Trust
resource "aws_subnet" "private" {
count = 3
vpc_id = aws_vpc.main.id
cidr_block = "10.16.${count.index + 1}.0/24"
availability_zone = data.aws_availability_zones.available.names[count.index]
tags = {
Name = "private-subnet-${count.index + 1}"
Type = "Private"
}
}
Essential Services
- EKS: Managed Kubernetes
- Lambda: Serverless compute
- RDS/Aurora: Managed databases
- S3: Object storage
- CloudFront: CDN
- Secrets Manager: Secret storage
Azure Quick Reference
Managed Identity
resource "azurerm_user_assigned_identity" "app" {
name = "app-identity"
resource_group_name = azurerm_resource_group.main.name
location = azurerm_resource_group.main.location
}
Essential Services
- AKS: Managed Kubernetes
- Azure Functions: Serverless
- Azure SQL: Managed databases
- Blob Storage: Object storage
- Azure CDN: Content delivery
- Key Vault: Secret management
GCP Quick Reference
Workload Identity
resource "google_service_account" "app" {
account_id = "app-sa"
display_name = "Application Service Account"
}
resource "google_project_iam_member" "app" {
project = var.project_id
role = "roles/storage.objectViewer"
member = "serviceAccount:${google_service_account.app.email}"
}
Essential Services
- GKE: Managed Kubernetes
- Cloud Functions: Serverless
- Cloud SQL: Managed databases
- Cloud Storage: Object storage
- Cloud CDN: Content delivery
- Secret Manager: Secrets
Cloudflare Quick Reference
Workers
export default {
async fetch(request, env) {
const url = new URL(request.url);
if (url.pathname === '/api/data') {
const data = await env.MY_KV.get('key');
return new Response(JSON.stringify({ data }), {
headers: { 'Content-Type': 'application/json' }
});
}
return new Response('Hello World');
}
};
Essential Services
- Workers: Edge compute
- Pages: Static site hosting
- D1: SQLite database
- KV: Key-value storage
- R2: S3-compatible storage
Security Checklist
Detailed References
- AWS: See references/aws.md for EKS, IAM, networking
- Azure: See references/azure.md for AKS, identity
- GCP: See references/gcp.md for GKE, IAM
- Cloudflare: See references/cloudflare.md for Workers, Pages
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: kiraneswaran-engineering-skills-cloud-platforms3description: ---4---5---6name: cloud-platforms7description: Cloud platform best practices for AWS, Azure, GCP, and Cloudflare. Covers Zero Trust architecture, IAM patterns, EKS/AKS/GKE configurations, serverless patterns, and multi-cloud strategies. Use when working with cloud infrastructure, AWS services, Azure resources, GCP projects, Cloudflare Workers, or when asking about cloud architecture and deployment.8---910# Cloud Platforms1112## Core Principles13141. **Zero Trust**: Never trust, always verify152. **Least Privilege**: Minimum necessary permissions163. **Defense in Depth**: Multiple layers of security174. **Infrastructure as Code**: All infrastructure defined in code185. **Observability**: Comprehensive logging, metrics, and tracing1920## Platform Selection2122| Use Case | Recommended |23|----------|-------------|24| Enterprise, broad services | AWS |25| Microsoft ecosystem | Azure |26| Data/ML workloads | GCP |27| Edge/CDN, simple serverless | Cloudflare |2829## AWS Quick Reference3031### IAM Best Practices32```hcl33# EKS Pod Identity (Recommended over IRSA)34resource "aws_eks_pod_identity_association" "app" {35 cluster_name = aws_eks_cluster.main.name36 namespace = "default"37 service_account = "app"38 role_arn = aws_iam_role.app_pod_identity.arn39}40```4142### VPC Pattern43```hcl44# Private subnets only - Zero Trust45resource "aws_subnet" "private" {46 count = 347 vpc_id = aws_vpc.main.id48 cidr_block = "10.16.${count.index + 1}.0/24"49 availability_zone = data.aws_availability_zones.available.names[count.index]5051 tags = {52 Name = "private-subnet-${count.index + 1}"53 Type = "Private"54 }55}56```5758### Essential Services59- **EKS**: Managed Kubernetes60- **Lambda**: Serverless compute61- **RDS/Aurora**: Managed databases62- **S3**: Object storage63- **CloudFront**: CDN64- **Secrets Manager**: Secret storage6566## Azure Quick Reference6768### Managed Identity69```hcl70resource "azurerm_user_assigned_identity" "app" {71 name = "app-identity"72 resource_group_name = azurerm_resource_group.main.name73 location = azurerm_resource_group.main.location74}75```7677### Essential Services78- **AKS**: Managed Kubernetes79- **Azure Functions**: Serverless80- **Azure SQL**: Managed databases81- **Blob Storage**: Object storage82- **Azure CDN**: Content delivery83- **Key Vault**: Secret management8485## GCP Quick Reference8687### Workload Identity88```hcl89resource "google_service_account" "app" {90 account_id = "app-sa"91 display_name = "Application Service Account"92}9394resource "google_project_iam_member" "app" {95 project = var.project_id96 role = "roles/storage.objectViewer"97 member = "serviceAccount:${google_service_account.app.email}"98}99```100101### Essential Services102- **GKE**: Managed Kubernetes103- **Cloud Functions**: Serverless104- **Cloud SQL**: Managed databases105- **Cloud Storage**: Object storage106- **Cloud CDN**: Content delivery107- **Secret Manager**: Secrets108109## Cloudflare Quick Reference110111### Workers112```javascript113export default {114 async fetch(request, env) {115 const url = new URL(request.url);116 117 if (url.pathname === '/api/data') {118 const data = await env.MY_KV.get('key');119 return new Response(JSON.stringify({ data }), {120 headers: { 'Content-Type': 'application/json' }121 });122 }123 124 return new Response('Hello World');125 }126};127```128129### Essential Services130- **Workers**: Edge compute131- **Pages**: Static site hosting132- **D1**: SQLite database133- **KV**: Key-value storage134- **R2**: S3-compatible storage135136## Security Checklist137138- [ ] IAM roles with least privilege139- [ ] Network segmentation (VPCs, security groups)140- [ ] Encryption at rest and in transit141- [ ] Secret management (not in code)142- [ ] Audit logging enabled143- [ ] Multi-factor authentication144- [ ] Regular security assessments145146## Detailed References147148- **AWS**: See [references/aws.md](references/aws.md) for EKS, IAM, networking149- **Azure**: See [references/azure.md](references/azure.md) for AKS, identity150- **GCP**: See [references/gcp.md](references/gcp.md) for GKE, IAM151- **Cloudflare**: See [references/cloudflare.md](references/cloudflare.md) for Workers, Pages152153154---155> Converted and distributed by [TomeVault](https://tomevault.io/claim/kiraneswaran) — claim your Tome and manage your conversions.156<!-- tomevault:4.0:skill_md:2026-04-11 -->