What is the best way to pass AWS credentials to a Docker container?
I am running docker-container on Amazon EC2. Currently I have added AWS Credentials to Dockerfile. Could you please let me know the best way to do this? 9 Answers 9
I am running docker-container on Amazon EC2. Currently I have added AWS Credentials to Dockerfile. Could you please let me know the best way to do this? 9 Answers 9
I want to use Amazon’s Simple Email Service to send emails. I verified my domain as well as the email address I want to send from. For both it says verified. Now when I use the Send Test Email from the AWS Console to send a test email to [email protected], I only get the error … Read more
I’m totally new to AWS. I downloaded some sample code from Amazon and I need to set a number of constants: AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY MERCHANT_ID MARKETPLACE_ID I just created an AWS account. I want some type of sandbox account so I can try out the code samples. What are the exact steps I have to take … Read more
I have a bucket with thousands of files in it. How can I search the bucket? 22 Answers 22
I’m just getting started on AWS EC2. I understand that EC2 is like a remote computer where I can do pretty much everything I want. Then I found out about ECS. I know it uses Docker, but I’m confused about the relationship between these two. Is ECS just a Docker install in EC2? If I … Read more
I am getting: An error occurred (AccessDenied) when calling the ListObjects operation: Access Denied When I try to get folder from my S3 bucket. Using this command: aws s3 cp s3://bucket-name/data/all-data/ . –recursive The IAM permissions for the bucket look like this: { “Version”: “version_id”, “Statement”: [ { “Sid”: “some_id”, “Effect”: “Allow”, “Action”: [ “s3:*” … Read more
I am using a PHP library to upload a file to my bucket. I have set the ACL to public-read-write and it works fine but the file is still private. I found that if I change the Grantee to Everyone it makes the file public. What I want to know is how do I make … Read more
I have a use case where there will be stream of data coming and I cannot consume it at the same pace and need a buffer. This can be solved using an SNS-SQS queue. I came to know the Kinesis solves the same purpose, so what is the difference? Why should I prefer (or should … Read more
After all the tough work of migration etc, I just realised that I need to serve the content using CNAME (e.g media.abc.com). The bucket name needs to start with media.abc.com/S3/amazon.com to ensure it works perfectly. I just realised that S3 doesn’t allow direct rename from the console. Is there any way to work around this? … Read more
I’m following the instructions from this answer to generate the follow S3 bucket policy: { “Id”: “Policy1495981680273”, “Version”: “2012-10-17”, “Statement”: [ { “Sid”: “Stmt1495981517155”, “Action”: [ “s3:GetObject” ], “Effect”: “Allow”, “Resource”: “arn:aws:s3:::surplace-audio”, “Principal”: “*” } ] } I get back the following error: Action does not apply to any resource(s) in statement What am I … Read more