Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
AWS云上架构演进
Search
成臣 Chengchen
May 07, 2021
Technology
270
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
AWS云上架构演进
成臣 Chengchen
May 07, 2021
Transcript
25 slides
AWS云上架构演进 李玉光 北京聚云科技首席云架构师 AWS中国区APN大使
! 迁移上云 开启业务全球扩展 IDC ECS 容器化 弹性扩缩 快速部署 Serverless 解放运维
K8S 容器化 全球容器集群 统一管理 AWS云上架构演进
PART 1 迁移上云助力全球扩 展
" IDC困境 • 按峰值规模建设,资源平均利用率低 • 业务发展迅速,用户量激增 • 面临全球扩张的需求 • 设备及机房布点采购周期长,无法快速部署
• 可用性无法保证 • 应用架构老化,无法应对快速增长的业务需求
# 迁移经验 • 迁移方法论 • 云上服务授权使用 Role • 不依赖于ip地址,网络授权使用安全组之间的授权 •
多 AZ 部署提高可用性 • 思维方式转变
$ 迁移成果 • 快速扩容的能力,服务器采购不再阻碍业务增长 • 快速在全球部署服务 • 按需采购服务器,无需过多前期投资 • 完整的云上基础设施规划(安全、网络、用户权限)
• 专业安全团队维护基础设施
PART 2 ECS容器化弹性扩缩,快速部署
% 云上困境 • 单体应用,发布周期长,代码改动影响范围广 • 服务器配置管理不一致 • 资源浪费:过度申请 • 资源申请流程麻烦(审批,环境初始化,CICD,
监控配置) • RightScale报告:企业公有云用户每年有35%, 或者 100 亿美金的浪费
& ECS 容器化 • 业务微服务化 • 基础设施容器化 • 不可变基础设施 •
弹性扩缩容提高资源利用率 • 竞价实例进一步节省成本
'( ECS 容器化成果 • 每天业务高低峰自动调整资源配置,高效利用 资源 • 通过竞价实例进一步节约成本 • 一键化在活动期间进行资源扩容和缩容
• 新业务上线无需提前申请过多的资源 • 业务微服务化,使得各个模块独立部署,独立 扩缩容,快速上线 • 不可变基础设施架构减少运维成本
PART 3 EKS全球容器集群统一管理
'! 为什么选择EKS • K8S 已是大趋势 • K8S 开源社区支持 • 2018
年六月 EKS GA • ECS 无法满足多云多 Region 集群的统一管理 • ECS 无法针对容器层面计费 • 微服务越来越复杂,需要服务治理等相关方案
') 部署EKS架构 • 使用托管K8S服务EKS • 不可变基础设施 • 对 POD 和
Node 层进行弹性伸缩 • 竞价实例 • 多云全球集群统一管理
'" EKS成果 • 多云多 Region 的容器管理调度,可视化 • 容器层面的计费粒度 • 快速安全的部署回滚保证业务敏捷性
• 服务治理保证业务的高可用 • 弹性伸缩,竞价实例,成本节约
PART 4 Serverless 解放运维
'$ Serverless 优势 • 无需维护服务器节约人力成本 • 真正按需配置资源,自动弹性,节约资源成本 • 实现快速上线,更快的部署流水线 •
更高的系统安全性 • 自由选择编程语言 • 事件驱动
事件驱动
'% Serverless架构实现 • 运维事件 • 业务逻辑产生的事件 • 定时任务 • AWS
Serverless Application Model (AWS SAM) • CICD 流程快速上线 • X-Ray 调用链跟踪 • Cloudwatch logs 收集日志
'& sam build sam deploy
!( Serverless改造成果 • 无需提前购置服务器 • 业务快速上线,开发人员自助部署服务 • 无需运维管理 • 更高的创新效率
Lambda@edge
!! CDN困境 客户是某CDN厂商的深度用户,依赖其 众多个性化功能,由于与该厂商的合同 即将到期,为了进一步降低CDN费用, 因此决定将CDN从该厂商迁移到AWS
!) Lambda@Edge定制化CDN • 利用AWS CloudFront 实现 CDN基础功能 • 通过CloudFront结合 Lambda@Edge实现定制的
功能需求 • 通过AWS Shield 以及 WAF 实现防恶意攻击(恶意爬虫 过滤、SQL注入等)
!" 成果 • 通过定制开发,使客户的业 务在功能和效率需求没有变 化情况下,成本降低35%左 右。 • 充分发挥CloudFront带来的 定制化优势,保证业务系统
能承载快速增长的用户和业 务量,在控制资源成本的同 时确保满足业务功能。
! " # $
More Decks by 成臣 Chengchen
See All by 成臣 Chengchen
ゲーム広告でのTiDB活用事例
it2911
0
310
ChaosBlade紹介[中国語]
it2911
0
300
Chaos Engineering 紹介[中国語]
it2911
0
370
Chaos Mesh紹介[中国語]
it2911
0
420
EKF日志分析平台架构方案实践
it2911
0
370
Ingress 勉強会: Traefik 2.0
it2911
0
490
F5-NGINX-Ingress勉強会
it2911
0
990
JD.com Blockchain as a Service @ Tokyo in 2019
it2911
0
240
Kubernetes with JUJU
it2911
0
300
Other Decks in Technology
See All in Technology
IP重複は"ランディングVPC"で受け止める ― PrivateLink と Transit Gatewayによるマルチテナント接続基盤の設計
hatahata021
3
250
おうち環境でも「なるべく止めたくない!」 ― おうち環境の機器冗長化の理想と現実
yuutosi
1
620
kubellの最新データ分析環境
kubell_hr
2
200
3文字略語に騙されない! 世界一わかりやすい『EDR』超入門
kamadamakoto
1
290
Well, that’s weird…
csswizardry
1
150
From vibe coding to reliable (agentic) development
jcabot
0
130
業務の傍らで進める改善ループエンジニアリング
bengo4com
1
230
マネジメントされる側の仕事は「文句」を言うこと
riyaamemiya
7
5.9k
20261113_AWS Organizations運用を下支えするCFn StackSetsの柔軟性
dkduppf
0
110
OCI Artifact による自動運転タクシーに向けた OTA 基盤の構築
biwashi
1
180
「個社」ではなく「業界」の課題を解く AI 対話開発 ー 価値を広げる設計と、価値を守るエンジニアリング ー
ivry_presentationmaterials
3
800
常時稼働エージェントの作り方(Claude公式ブログを資料化)
minorun365
PRO
18
28k
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
3k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
690
What does AI have to do with Human Rights?
axbom
PRO
1
2.5k
Mind Mapping
helmedeiros
1
440
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1.1k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.4k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.9k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
580
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
480
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k