Book Image

AWS Tools for PowerShell 6

By : Ramesh Waghmare
Book Image

AWS Tools for PowerShell 6

By: Ramesh Waghmare

Overview of this book

AWS Tools for PowerShell 6 shows you exactly how to automate all the aspects of AWS. You can take advantage of the amazing power of the cloud, yet add powerful scripts and mechanisms to perform common tasks faster than ever before. This book expands on the Amazon documentation with real-world, useful examples and production-ready scripts to automate all the aspects of your new cloud platform. It will cover topics such as managing Windows with PowerShell, setting up security services, administering database services, and deploying and managing networking. You will also explore advanced topics such as PowerShell authoring techniques, and configuring and managing storage and content delivery. By the end of this book, you will be able to use Amazon Web Services to automate and manage Windows servers. You will also have gained a good understanding of automating the AWS infrastructure using simple coding.
Table of Contents (17 chapters)

Introduction to CloudTrail

CloudTrail is a service which provides you with a record of AWS API calls. This is a kind of auditing service provided by AWS. Using the log data provided by CloudTrail, you can audit what your users are doing, or you can troubleshoot operational and security incidents. CloudTrail also helps you to demonstrate compliance with your policies or regulatory standards. As and when API calls are made, CloudTrail records those calls in an S3 log file.

You can look up specific API activity, such as which IAM user made the call to the AWS, which service or which API calls failed because of permission issues, and so on. Most importantly, you can send CloudTrail logs to CloudWatch logs. We learnt in the previous chapter how we can create metrics and then use an alarm on the data in CloudWatch logs. Do not get confused between CloudWatch and CloudTrail. I have...