Chapter 1: Introducing Cloud Architecting
Cloud Computing and Architecting Overview
Cloud Computing Essence:
On-Demand Self-Service: Provision resources without human intervention.
Broad Network Access: Accessible over the network from various client platforms and devices.
Resource Pooling: Dynamically assign and pool multi-tenant physical and virtual resources.
Rapid Elasticity: Provision and release capabilities rapidly to scale outward and inward based on demand.
Measured Service: Automatically control, optimize, and meter resource usage with pay-as-you-go billing.
Core Principles of Cloud Architecting: Scalability, elasticity, security, cost optimization, and reliability.
Role of a Cloud Architect:
Engage & Plan: Establish the technical cloud strategy with business leads and analyze solution requirements.
Solutioning: Investigate service specifications, review existing architectures, and design prototypes.
Implement: Build transformation roadmaps with milestones and manage migration/adoption.
AWS Well-Architected Framework
Purpose: Provides a consistent approach to evaluate cloud workloads, compare them to architectural best practices, and implement scalable, resilient designs.
The Six Pillars:
Operational Excellence: Run and monitor systems to deliver business value, continually improve procedures, and manage workloads as code.
Security: Establish a strong identity foundation, maintain traceability, secure all architectural layers, and implement proactive risk mitigation.
Reliability: Design systems that recover automatically from failure, dynamically meet compute demand, and mitigate disruptions.
Performance Efficiency: Select and maintain efficient resources, democratize advanced technologies, and employ mechanical sympathy.
Cost Optimization: Eliminate unneeded expenses, right-size infrastructure, adopt suitable consumption models, and leverage managed services.
Sustainability: Define sustainability metrics, maximize resource utilization, choose energy-efficient hardware/software, and reduce downstream environmental impact.
AWS Well-Architected Tool (AWS WA Tool): A service providing step-by-step guidance and action plans by comparing workloads against current AWS architectural best practices.
Best Practices for Building Solutions on AWS
Evaluate Design Trade-offs: Make data-backed design decisions (e.g., trading consistency and space for reduced latency, or prioritizing speed to market over initial cost).
Implement Scalability and Elasticity: Use automated scaling (such as Amazon EC2 Auto Scaling) to adapt capacity proactively to workload variations without service interruptions.
Automate the Environment: Eliminate manual configuration errors and enforce consistent stack deployment through Infrastructure as Code (IaC) and automated monitoring (such as Amazon CloudWatch).
Treat Resources as Disposable: Dynamically launch standardized resources, replace rather than patch instances, and decommission idle hardware.
Decouple Components: Employ loose coupling between application layers using intermediaries such as Elastic Load Balancing (ELB) and message queuing services to contain localized failures.
Design Services, Not Servers: Shift workloads away from traditional servers toward managed services, containers, serverless architectures, and object storage like Amazon Simple Storage Service (Amazon S3).
Select Workload-Specific Databases: Align database technologies (relational, key-value, document, graph) to specific read/write patterns, latency targets, and data durability needs.
Eliminate Single Points of Failure: Assume components will fail; replicate state across secondary standby systems with automated failover mechanisms.
Cost Optimization: Right-size instances, monitor resource utilization, and eliminate unutilized resources.
Implement Caching: Accelerate read operations and decrease backend load by serving content closer to users via caching mechanisms such as Amazon CloudFront.
Defense in Depth: Enforce granular permissions via least privilege, require multi-factor authentication (MFA), encrypt data at rest and in transit, and isolate network segments.
AWS Global Infrastructure
AWS Regions: Physical geographic locations across the globe that contain multiple isolated Availability Zones connected through a dedicated low-latency private network backbone.
Availability Zones (AZs): Distinct locations within a Region composed of one or more physical data centers with independent power, cooling, and physical security, linked via redundant, high-speed private networking.
AWS Local Zones: Regional extensions that position compute, storage, and database services close to major population, industry, and IT centers for sub-millisecond, latency-sensitive applications.
AWS Points of Presence (PoPs): A global network of Edge Locations and Regional Edge Caches that optimize content distribution and cache data near end users to reduce latency.
AWS Data Centers: Secure facilities housing tens of thousands of custom servers with proprietary network hardware sourced from multiple original design manufacturers (ODMs) running tailored protocol stacks.