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)

Managing S3 permissions

S3 is one of the oldest service offerings in the AWS services portfolio. It is safe to say that S3 is a widely used service on AWS and stores literally trillions of files as objects. Users can interact with S3 directly via the AWS web console or via a variety of third-party tools or CLI/APIs. By default, all the buckets and objects are private. Only the resource owner has access to it and can grant access to the buckets/objects. There are broadly two ways that you can manage access to S3. One is by defining the S3 resource based policies and the other one is through IAM. S3 resource based policies are further divided into two categories:

  • Bucket policy
  • Access Control List (ACL)

IAM policies

As discussed...