For the second time I ran into this same issue. When using RunInstancesCommand from the AWS SDK for Javascript, a certain parameter combination results in a misleading and confusing error message: “InvalidParameterCombination: The parameter groupName cannot be used with the parameter subnet” There is no parameter “groupName” in my request. The problem was that the… Continue reading EC2 instance creation fails with “InvalidParameterCombination: The parameter groupName cannot be used with the parameter subnet”
Tag: AWS
AccessDeniedException: Access to KMS is not allowed
So that happened. And I spent much longer than should’ve been necessary to figure it out. What I was trying to do was this: Create a symmetric AWS KMS CMK Use that to generate a couple of asymmetric key pairs Save those key pairs to Secrets Manager, using the above CMK as the encryption key… Continue reading AccessDeniedException: Access to KMS is not allowed
Nginx as origin for S3 with authentication, with CDN on top
We recently had a small problem with our content delivery system. The setup is as follows: – AWS S3 bucket that requires authentication – EC2 instance, running Nginx with ngx_aws_auth – ELB load balancer in front of the EC2 instance – CDN configured to use the ELB as the origin The problem was that the… Continue reading Nginx as origin for S3 with authentication, with CDN on top