Amazon S3 – HTTPS/SSL – Is it possible? [closed]

This is a response I got from their Premium Services Hello, This is actually a issue with the way SSL validates names containing a period, ‘.’, > character. We’ve documented this behavior here: http://docs.amazonwebservices.com/AmazonS3/latest/dev/BucketRestrictions.html The only straight-forward fix for this is to use a bucket name that does not contain that character. You might instead … Read more

Increasing client_max_body_size in Nginx conf on AWS Elastic Beanstalk

There are two methods you can take for this. Unfortunately some work for some EB application types and some work for others. Supported/recommended in AWS documentation For some application types, like Java SE, Go, Node.js, and maybe Ruby (it’s not documented for Ruby, but all the other Nginx platforms seem to support this), Elasticbeanstalk has … Read more

How to see all running Amazon EC2 instances across all regions?

Nov 2021 Edit: AWS has recently launched the Amazon EC2 Global View with initial support for Instances, VPCs, Subnets, Security Groups and Volumes. See the announcement or documentation for more details A non-obvious GUI option is the Tag Editor in the Resource Groups console. Here you can find all instances across all regions, even if … Read more

How to use multiple AWS accounts from the command line?

You can work with two accounts by creating two profiles on the aws command line. It will prompt you for your AWS Access Key ID, AWS Secret Access Key and desired region, so have them ready. Examples: $ aws configure –profile account1 $ aws configure –profile account2 You can then switch between the accounts by … Read more

How can I use wildcards to `cp` a group of files with the AWS CLI

To download multiple files from an aws bucket to your current directory, you can use recursive, exclude, and include flags. The order of the parameters matters. Example command: aws s3 cp s3://data/ . –recursive –exclude “*” –include “2016-08*” For more info on how to use these filters: http://docs.aws.amazon.com/cli/latest/reference/s3/#use-of-exclude-and-include-filters

What is the difference between a task and a service in AWS ECS?

A Task Definition is a collection of 1 or more container configurations. Some Tasks may need only one container, while other Tasks may need 2 or more potentially linked containers running concurrently. The Task definition allows you to specify which Docker image to use, which ports to expose, how much CPU and memory to allot, … Read more

How to make all Objects in AWS S3 bucket public by default?

Go to http://awspolicygen.s3.amazonaws.com/policygen.html Fill in the details such as: In Action select “GetObject” Select “Add Statement” Then select “Generate Policy” Copy the text example: { “Id”: “Policy1397632521960”, “Statement”: [ { “Sid”: “Stmt1397633323327”, “Action”: [ “s3:GetObject” ], “Effect”: “Allow”, “Resource”: “arn:aws:s3:::bucketnm/*”, “Principal”: { “AWS”: [ “*” ] } } ] } Now go to your AWS … Read more

AccessDenied for ListObjects for S3 bucket when permissions are s3:*

You have given permission to perform commands on objects inside the S3 bucket, but you have not given permission to perform any actions on the bucket itself. Slightly modifying your policy would look like this: { “Version”: “version_id”, “Statement”: [ { “Sid”: “some_id”, “Effect”: “Allow”, “Action”: [ “s3:*” ], “Resource”: [ “arn:aws:s3:::bucketname”, “arn:aws:s3:::bucketname/*” ] } … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)