AWS Overview

1.1 What is "Cloud Computing"?

Characteristics:

  1. On-Demand
  2. Broad Network Access
  3. Resource Pooling
  4. Rapid Elasticity
  5. Measured Service

Service Models

  1. Infrastructure as a Service
  2. Software as a Service
  3. Platform as a Service

1.2 Global Infrastructure - Part 1: Regions

  1. https://www.infrastructure.aws/
  2. Unlike other cloud providers, who define a region as a single data center, at AWS Regions consist of multiple Availability Zones (AZ) (typically 3),

1.3 Global Infrastructure - Part 1: Availability Zones

  1. AZ give customers the ability to operate production applications and databases that are more highly available, fault tolerant, and scalable than would be possible from a single data center.
  2. AWS maintains 66 AZ around the world and we continue to add at a fast pace.
  3. Each AZ can be multiple data centers (typically 3), and at full scale can be hundreds of thousands of servers.
  4. They are fully isolated partitions of the AWS Global Infrastructure.
  5. With their own power infrastructure, the AZs are physically separated by a meaningful distance, many kilometers, from any other AZ, although all are within 100 km (60 miles of each other).

1.4 Global Infrastructure - Part 3: Edge Locations

  1. When you want to deliver content to your end users, you can get the best performance by delivering that content from a server that is closest to them, a server that has the lowest latency. 
  2. edge locations serve Amazon Web Services content delivery network, known as Amazon CloudFront.
  3. They also serve the DNS service known as Amazon Route 53.

1.5 Scope of Services

  1. Global - AWS IAM, CloudFront, Route53
  2. Regional - DynamoDB, S3, ELB, VPC
  3. Availability Zone - EBS, EC2, Subnets

1.6 Service Overview

### AWS CloudWatch Overview AWS CloudWatch 是一种广泛使用的监控服务,旨在提供对应用程序和基础设施资源的全面可见性和控制能力[^1]。通过该工具可以收集并跟踪指标、创建自定义仪表板以及设置警报来通知操作人员关于系统性能的关键变化。 #### 功能特性 - **监控与可视化**: 支持超过 70 种不同类型的亚马逊云科技产品发出的标准度量标准;用户也可以发布自己的定制化数据点用于更精细地了解业务逻辑下的工作负载表现情况。 - **日志分析**: 可以存储来自 EC2 实例或其他来源的日志文件,并允许执行查询语句快速定位错误或者异常模式。 - **事件响应自动化**: 结合 EventBridge 使用时能够触发预先配置好的反应动作比如自动扩展实例数量或是发送电子邮件提醒给相关人员当特定条件满足的时候。 - **成本管理辅助**: 提供预算超支预警功能帮助团队更好地规划开支计划。 对于希望优化其云端架构效率的企业而言,利用好这些特性无疑是非常重要的一步。 ```bash aws cloudwatch put-metric-alarm --alarm-name "Web_Server_CPU_Utilization" \ --metric-name CPUUtilization --namespace AWS/EC2 --statistic Average \ --period 300 --threshold 70 --comparison-operator GreaterThanOrEqualToThreshold \ --evaluation-periods 2 --dimensions Name=InstanceId,Value=i-abcd1234 \ --alarm-actions arn:aws:automate:<region>:ec2:stop ``` 此命令展示了如何基于平均CPU利用率设定报警规则,在连续两个周期内如果超过了指定阈值则会停止关联的EC2实例。 ### 集成应用案例 在实际部署场景下,通常会将CloudWatch与其他多项AWS组件结合起来实现更加复杂的功能需求。例如,配合Auto Scaling组可以根据实时流量动态调整计算资源规模从而既保障服务质量又节省不必要的开销[^5]。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值