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)

Creating IAM users

When you sign up with AWS, you get a root account. A root account is a very powerful account and its use should be avoided for your day-to-day operations. For security reasons, you can create individual IAM users to manage identity and permissions for AWS resources. You can create users using the PowerShell cmdlet provided, you have rights to do so. Identify and Access Management is a global service and is identified as the IAM service. An IAM user is an entity that you create in AWS to represent the person, or the service that uses it to interact with AWS. A user in the AWS consists of a name and credentials. If you want to know all the cmdlets that are provided for an IAM service, you can use this:

PS C:\> Get-Command -Module AWSPowerShell.NetCore -Name "*-IAM*"

All the cmdlets in regard to this service will be listed. You can make use of the...