Skip to the content.
Home Alpine Linux Docker S3CMD Go System Security MySQL InfluxDB AWS AWS:CLI
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "SRtmt1490776725000",
            "Effect": "Allow",
            "Action": [
                "s3:ListBucket"
            ],
            "Resource": [
                "arn:aws:s3:::cloud.example.com"
            ]
        },
        {
            "Sid": "SRtmt1490776852000",
            "Effect": "Allow",
            "Action": [
                "s3:GetObject",
                "s3:PutObject",
                "s3:PutObjectACL"
            ],
            "Resource": [
                "arn:aws:s3:::cloud.example.com/*"
            ]
        },
        {
            "Sid": "SRtmt1490776725001",
            "Effect": "Allow",
            "Action": [
                "s3:ListAllMyBuckets"
            ],
            "Resource": [
                "arn:aws:s3:::*"
            ]
        }
    ]
}
aws iam delete-instance-profile --instance-profile-name <name of instance profile viz. crnxxx_instance_profile