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
Conferences
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 FREE CHAPTER 2. Account Setup and Management 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

Creating instance roles

This recipe is reasonably short, but it contains a really important concept to anyone who is new to the AWS platform. Understanding and utilizing IAM roles for the EC2 will significantly reduce your exposure to lost credentials, and will probably help you sleep a little better at night, too. In a nutshell, instance roles help you to get AWS credentials off your servers and out of your code base(s).

Roles contain one or more policies. We're going to create a role that has some AWS Managed Policies, as well as an Inline Policy. As the name would suggest, an AWS Managed Policy is a policy that is created and fully controlled by AWS. The Inline Policy is going to be created by us, and will be embedded in our role definition.

The AWS Managed Policies that we'll use will allow read-only access to the S3 and EC2 APIs. The Inline Policy that we'll...

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