- AWS Administration Cookbook
- Lucas Chan Rowan Udell
- 121字
- 2021-07-09 18:18:27
Mappings
The mappings section is used to define a set of key/value pairs. If you require any kind of AWS region portability, perhaps for DR or availability purposes or simply to get your application closer to your end user, you'll almost certainly need to specify some mappings in your template. This is particularly necessary if you are referencing anything in your template that is region specific.
The canonical example would be to specify a map of EC2 AMI IDs in your template. This is because AMIs are a region-specific resource, so a reference to a valid Amazon Machine Image (AMI) ID in one region will be invalid in another.
Mappings look like this:
Mappings:
RegionMap:
us-east-1:
AMIID: ami-9be6f38c
ap-southeast-2:
AMIID: ami-28cff44b
推薦閱讀
- 集成架構(gòu)中型系統(tǒng)
- Microsoft Power BI Quick Start Guide
- Google Cloud Platform Cookbook
- Div+CSS 3.0網(wǎng)頁布局案例精粹
- 數(shù)據(jù)中心建設(shè)與管理指南
- 數(shù)據(jù)挖掘?qū)嵱冒咐治?/a>
- Java Web整合開發(fā)全程指南
- Implementing AWS:Design,Build,and Manage your Infrastructure
- Visual FoxPro數(shù)據(jù)庫基礎(chǔ)及應(yīng)用
- 菜鳥起飛系統(tǒng)安裝與重裝
- Mastering Game Development with Unreal Engine 4(Second Edition)
- FANUC工業(yè)機器人配置與編程技術(shù)
- 大數(shù)據(jù)導(dǎo)論
- 軟件測試管理
- PowerPoint 2003中文演示文稿5日通