How to copy AMI permissions

How to copy AMI permissions

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

March 12, 2017 · Dragos Madarasan
Programmatically list AWS services

Programmatically list AWS services

Someone recently asked about the best way to built an UI on top of the AWS APIs without hardcoding the services

July 4, 2016 · Dragos Madarasan

Oneliners – AWS RDS get latest restorable time

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]"

April 13, 2016 · Dragos Madarasan

AWS Assume role [Powershell]

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

April 3, 2016 · Dragos Madarasan
AWS Certified! Tips & tricks

AWS Certified! Tips &#038; tricks

Today I passed my first AWS Certified Solutions Architect exam

March 9, 2016 · Dragos Madarasan