Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
AWS Administration - The Definitive Guide. - Second Edition

You're reading from  AWS Administration - The Definitive Guide. - Second Edition

Product type Book
Published in Mar 2018
Publisher Packt
ISBN-13 9781788478793
Pages 358 pages
Edition 2nd Edition
Languages
Author (1):
Yohan Wadia Yohan Wadia
Profile icon Yohan Wadia
Toc

Table of Contents (17) Chapters close

Title Page
Packt Upsell
Contributors
Preface
1. What's New in AWS? 2. Managing EC2 with Systems Manager 3. Introducing Elastic Beanstalk and Elastic File System 4. Securing Workloads Using AWS WAF 5. Governing Your Environments Using AWS CloudTrail and AWS Config 6. Access Control Using AWS IAM and AWS Organizations 7. Transforming Application Development Using the AWS Code Suite 8. Messaging in the Cloud Using Amazon SNS and Amazon SQS 9. Powering Analytics Using Amazon EMR and Amazon Redshift 10. Orchestrating Data using AWS Data Pipeline 11. Connecting the World with AWS IoT and AWS Greengrass 1. Other Books You May Enjoy Index

Getting started with the SSM agent


In this section, we are going to install and configure an SSM agent on a new Linux instance, which we shall call as a Dev instance, and then verify it's working by streaming the agent's log files to Amazon CloudWatch Logs. So let's get busy!

Configuring IAM Roles and policies for SSM

First, we need to create and configure IAM Roles for our EC2 Systems Manager to process and execute commands over our EC2 instances. You can either use the Systems Manager's managed policies or alternatively create your own custom roles with specific permissions. For this part, we will be creating a custom role and policy.

To get started, we first create a custom IAM policy for Systems Manager managed instances:

  1. Log in to your AWS account and select the IAM option from the main dashboard, or alternatively, open the IAM console at https://console.aws.amazon.com/iam/.
  2. Next, from the navigation pane, select Policies. This will bring up a list of existing policies currently provided...
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 ₹800/month. Cancel anytime