Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
AWS SysOps Cookbook

You're reading from   AWS SysOps Cookbook Practical recipes to build, automate, and manage your AWS-based cloud environments

Arrow left icon
Product type Paperback
Published in Sep 2019
Publisher
ISBN-13 9781838550189
Length 490 pages
Edition 2nd Edition
Tools
Arrow right icon
Authors (3):
Arrow left icon
Eric Z. Beard Eric Z. Beard
Author Profile Icon Eric Z. Beard
Eric Z. Beard
Rowan Udell Rowan Udell
Author Profile Icon Rowan Udell
Rowan Udell
Lucas Chan Lucas Chan
Author Profile Icon Lucas Chan
Lucas Chan
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. AWS Fundamentals 2. Account Setup and Management FREE CHAPTER 3. AWS Storage and Content Delivery 4. AWS Compute 5. Monitoring the Infrastructure 6. Managing AWS Databases 7. AWS Networking Essentials 8. AWS Account Security and Identity 9. Managing Costs 10. Advanced AWS CloudFormation 11. AWS Well-Architected Framework 12. Working with Business Applications 13. AWS Partner Solutions 14. Other Books You May Enjoy

Using mappings to specify regional AMI IDs

The mappings section is used to define a set of key/value pairs. If you require any kind of AWS region portability, perhaps for disaster recovery (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. In this recipe, you will create a CloudFormation stack that allows a user to choose between an instance with Linux or Windows.

...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image