Amazon Web Services

Copy All files from an S3 Bucket to your PC

This powershell script copies the contents of an S3 bucket to your pc.

  Source

Amazon Web Services

Common AWS EC2 CLI commands

The AWS GUI console is a basic way to manage AWS EC2 instances. If you are performing repetitive tasks on multiple instances then using the CLI is a better way to manage. All these commands assume you have the necessary permissions to run. This is some more common CLI examples: …

Amazon Web Services

Using multiple IAM profiles through AWS CLI

We have several different environments hosted in different Amazon accounts so need to create IAM accounts for each. So switching between different IAM accounts is very useful. The AWS CLI allows you to store different profiles. If you haven’t installed the CLI already, then follow Amazon’s guide here. Configuring Multiple …

Amazon Web Services

How to Increase the Size of an AWS EBS Cloud Volume attached to a Windows Instance

The Amazon Elastic Block Store (Amazon EBS) offers persistent storage for Amazon EC2 instances through EBS volumes. Amazon EBS provides the ability to create point-in-time consistent snapshots of the volumes, which are then stored in Amazon S3. These snapshots are also replicated across multiple Availability Zones automatically. Snapshots play an …

Amazon Web Services

AWS IAM Users- using AWS Tools for Windows Powershell

Creating Users –To create a user, use the New-IAMUser cmdlet. New-IAMUser – UserName ‘TestUser’   Get Users – Get details of a user by using Get-IAMUser cmdlet. If you do not pass the -UserName parameter, it will retrieve the details of the user currently logged in. Get-IAMUser   Update Users – If …