How to upload file to AWS S3 using Camel aws-s3 producer?

I'm trying to upload a jpg file to AWS S3 bucket with Camel's aws-s3 producer. Can I make this work with this approach and if yes how? Now I'm only getting an IOException and can't figure out what...

AWS : The config profile (MyName) could not be found

Every time I want to config something with AWS I get the following error : "The config profile (myname) could not be found" like : aws configure I'm using Python 3.4 and I want to use AWS CLI...

The AWS Access Key Id does not exist in our records

I created a new Access Key and configured that in the AWS CLI with aws configure. It created the .ini file in ~/.aws/config. When I run aws s3 ls it gives: A client error (InvalidAccessKeyId)...

Ckfinder configuration using S3 with ckeditor

I have configured Ckfinder 3.x with AWS S3. We can accesss particular bucket in ckfinder. Configuration is like below. $config['backends'][] = array( 'name' => 'default', ...

How to use aws-iot-device-sdk with react-native

I have tested aws-iot-device-sdk as shown on the image below. On my console I get topics from aws IoT. My question is when I try to integrate it into my react native application. below is my...

No RegionEndpoint or ServiceURL configured

I am writing code to upload files to AWS S3 and receiving this exception: AmazonClientException: No RegionEndpoint or ServiceURL configured My code: Console.WriteLine("ready to...

Thing Types in CloudFormation template

From the documentation, there is a syntax for creating things in AWS IoT but I can't find how to connect it to Things Type. Is it possible to write it like this? AWSTemplateFormatVersion:...

How to redirect non-www traffic to www for site hosted on EC2 instance behind CloudFront?

I host a site on a single EC2 instance behind CloudFront and need to redirect all non-www traffic to www. From other Q/A here on SO I was able to configure an A record on Route53 to redirect...

ECS CLI key pair error when calling up

I am trying to use Amazon's ECS cli to create a cluster. I keep getting the error: reason="The key pair 'my-key-pair' does not exist" resourceType="AWS::AutoScaling::LaunchConfiguration" I have...

How to avoid the configuration error while using AWS API Gateway with VPC Link?

I have created the VPC Link using the Network Load Balancer (NLB) as per the AWS documentation and attached the same with the API Gateway resource / method. But it throws "Internal Server Error"...

Unable to retrieve the requested metadata /latest/meta-data/public-hostname

I'm deploying a springboot application with spring-cloud-stream and binder for AWS Kinesis. The application works fine when is deployed on aws elastic beanstalk if the beanstalk is configured with...

What is vCPU in AWS

In AWS service, I see a section in ECS Fargate for vCPU which is choosable from 0.25 to N value, I see lots of documentation on How to configure these vCPU value but I didn't see any doc on the...

How to override remote backend with local backend in terraform?

I have been looking at the terraform docs and a udemy course for the answer to this question, but cannot find the answer. I have a jenkins pipeline that is building AWS infrastructure with...

Awslogs logging driver issue - NoCredentialProviders: no valid providers in chain

Docker compose addition for logging: app: logging: driver: awslogs options: awslogs-region: eu-west-3 awslogs-group:...

CORS impossible on AWS Lambda HTTP API Gateway Integration

An AWS Lamba function (NodeJS) returning 3 HTTP headers: aaa, Access-Control-Allow-Origin and bbb was created: exports.handler = async (event) => { const response = { statusCode: 200, ...

aws.logger.serilog key and secret configuration .netCore

so I added serilog for logging I was using it locally to log on files, but I want use serilog to update the logs on AWS cloud watch or add a log group on the cloud watch but I don't know where to...

Can We use Multiple AWS ACM Certificates at Nginx-Ingress-Contoller OR Multiple ACM certificate at Ingress object level?

We are using EKS and Nginx-ingress(NLB). I'm trying to configure multiple AWS ACM certificates in the AWS-load-balancer-SSL-cert annotation for NLB. But with no luck. Could someone help if it...

Serving static files from S3 bucket not working?

I have configured an S3 bucket to store and serve static and media files for a Django website, currently just trying to get the static files needed for the admin pages and all that. Here is all...

Unexpected output of 'arch' on OSX (using Mac M1 installing elastic beans)

when trying to install elastic beans on MacBook Air M1, using the following: % ./aws-elastic-beanstalk-cli-setup/scripts/bundled_installer as guidelines shown...

I cannot connect by ipv6 from aws ec2 after all the essential steps (I learned from the internet)

After referencing many of the websites teaching me how to use ipv6 from AWS EC2 instances, I find it not working. Why? From AWS EC2 Console, it seems that my only instance has its ipv6...

AWS Amplify: AmplifyException 'You are not authorized to make this call.'

I have integrated aws amplify into and android app by following https://docs.amplify.aws/lib/q/platform/android in my mac book pro. Now I check-out the same project into another machine mac mini....

Use Athena ODBC driver with credential_source Ec2InstanceMetadata

We are currently trying to set up Athena access between two accounts. The goal is that the EC2 instance role from one account assumes a specific role from a different AWS account that grants...

Getting `AccessDenied` when calling any operation in AWS bucket policy

I have a private s3 Bucket that I've selected to Block *all* public access on in settings. when I try to collect static I get an access denied error: botocore.exceptions.ClientError: An error...

How to resolve Gemfile.lock contains merge conflicts (running `git checkout HEAD -- Gemfile.lock` does not work)

I got an error message after I ran bundle install in my ruby on rails app, the error message was: Your Gemfile.lock contains merge conflicts. Run `git checkout HEAD -- Gemfile.lock` first to get a...

Trouble connecting to gRPC server on AWS Fargate

I have a Python gRPC server running on AWS Fargate (configured very similar to this AWS guide here), and another AWS Fargate task (call it the "client") that attempts to make a connection to my...

Angular 12 aws-sdk 2.910.0 Error: Module not found: Error: Can't resolve 'util' in '.\.\.\node_modules\aws-sdk\lib'

Prior to moving from Angular 11 to 12 the following error did not occur and the application was able to use the aws-sdk library to access my S3...

Cognito FROM email address ARN not appearing for SES

I have a domain registered with AWS Route 53 and I am using AWS Cognito for handling user registration. I am trying to configure my User Pool to use SES to send verification emails instead of...

How can I provide resource-based policy in my lambda via serverles.yml?

I am using serverless.yml to deploy lambdas to AWS and I'd like to know how to configure the resource-based policy for my lambda. I deploy a customised alias to my lambda and need to grant...

EKS Ingress with Single ALB, multiple namespaces, and External DNS

I'm trying to configure a single ALB across multiple namespaces in aws EKS, each namespace has its own ingress resource. I'm trying to configure the ingress controller aws-loadbalancer-controller...

Why these ingress rules don't expose a service to outside? (NET::ERR_CERT_AUTHORITY_INVALID/ERR_TOO_MANY_REDIRECTS)

I'm trying to setup and expose a service (ArgoCD) to outside a cluster. Note: I'm fairly new to Kubernetes, so quite probably I have some misconceptions. If you can see one, please help me get rid...