
How to copy AMI permissions
Copying AMIs across regions is easy, but how do you copy permissions as well?

Copying AMIs across regions is easy, but how do you copy permissions as well?

Someone recently asked about the best way to built an UI on top of the AWS APIs without hardcoding the services
This is a one line AWS CLI command to get the latest restorable time for an AWS RDS Instance. aws rds describe-db-instances --db-instance-identifier "yourDBinstance" --query "DBInstances[*].[DBInstanceIdentifier,LatestRestorableTime]"
This is a handy 2 lines Powershell script to assume a role in AWS, create temporary credentials and run another command using the assumed roles: $Response = (Use-STSRole -Region eu-west-1 -RoleArn arn:aws:iam::<accountID>:role/<RoleName> -RoleSessionName RoleSession1).Credentials $Credentials = New-AWSCredentials -AccessKey $Response.AccessKeyId -SecretKey $Response.SecretAccessKey -SessionToken $Response.SessionToken Get-S3Bucket -BucketName yourbucketnamehere -Credential $Credentials

Today I passed my first AWS Certified Solutions Architect exam