- AWS Administration Cookbook
- Lucas Chan Rowan Udell
- 350字
- 2021-07-09 18:18:26
The layer cake
Now is a good time to start thinking about your AWS deployments in terms of layers. Your layers will sit atop one another, and you will have well-defined relationships between them.
Here's a bottom-up example of how your layer cake might look:
- VPC with CloudTrail
- Subnets, routes, and NACLs
- NAT gateways, VPN or bastion hosts, and associated security groups
- App stack 1: security groups, S3 buckets
- App stack 1: cross-zone RDS and read replica
- App stack 1: app and web server auto scaling groups and ELBs
- App stack 1: CloudFront and WAF config
In this example, you may have many occurrences of the app stack layers inside your VPC, assuming you have enough IP addresses in your subnets! This is often the case with VPCs living inside development environments. So immediately, you have the benefit of multi-tenancy capability with application isolation.
One advantage of this approach is that while you are developing your CloudFormation template, if you mess up the configuration of your app server, you don't have to wind back all the work CFN did on your behalf. You can just turf that particular layer (and the layers that depend on it) and restart from there. This is not the case if you have everything contained in a single template.
We commonly work with customers for whom ownership and management of each layer in the cake reflects the structure of the technology divisions within a company. The traditional infrastructure, network, and cyber security folk are often really interested in creating a safe place for digital teams to deploy their apps, so they like to heavily govern the foundational layers of the cake. Conway's Law, coined by Melvin Conway, starts to come in to play here:
Finally, even if you are a single-person infrastructure coder working in a small team, you will benefit from this approach. For example, you'll find that it dramatically reduces your exposure to things such as AWS limits, timeouts, and circular dependencies.
- Instant Raspberry Pi Gaming
- Practical Data Analysis
- Visualforce Development Cookbook(Second Edition)
- 工業(yè)機器人產(chǎn)品應(yīng)用實戰(zhàn)
- 返璞歸真:UNIX技術(shù)內(nèi)幕
- 空間傳感器網(wǎng)絡(luò)復(fù)雜區(qū)域智能監(jiān)測技術(shù)
- 物聯(lián)網(wǎng)與云計算
- 大數(shù)據(jù)安全與隱私保護
- 網(wǎng)絡(luò)安全管理實踐
- 單片機技術(shù)一學(xué)就會
- RedHat Linux用戶基礎(chǔ)
- MCGS嵌入版組態(tài)軟件應(yīng)用教程
- Salesforce Advanced Administrator Certification Guide
- 所羅門的密碼
- Mastering Geospatial Analysis with Python