Communications link failure connecting spring boot app to aws aurora

I am trying to connect the spring boot application I have created locally to an aws serverless aurora database. I have added the maven dependency: mysql&…

Application source bundle doesn’t work when uploaded to AWS Elastic Beanstalk

I’m trying to upload a Java/Spring Boot app that runs in a Linux 2 Coretto 11 environment. Everything worked fine when I uploaded the standalone JAR files, but I started creating an application bundle …

How to specify JVM to gradle when using AWS lambda

I’m using AWS Lambda with Java and I’m running into this issue. Can someone help? “gradlew is using a JVM with major version 14 which is newer than 11 that is supported by AWS Lambda. The compiled …

SpringBoot – Java AWS SDK 2 DynamoDB Enhanced Client and devtools problem

I am using Spring Boot 2.17 and java sdk and dynamodb-enhanced ‘2.13.8’. I am calling with the enhanced client an item like this: public Product readProductById(String id) { Key key = Key….

Add AWS Signature Header to all rest assured requests

I’m trying to call an get api which is hosted in aws api gateway via rest-assured I’m able to sign the request and make a call. But to sign the request, I need to pass the full url to AWS to …

How to connect to DynamoDB on AWS using a Spring Boot application running on local system?

I’m working on Spring Boot microservice REST based application and backedn database is currently local Dynamodb database. I can make REST calls using Postman to my application running locally and can …

Manage RDS access with AWS Secrets Manager

I am currently working with Eclipse and the AWS Toolkit for Eclipse. My project already works and it is doing its job, which is to connect to an RDS instance and return JSON objects to API Gateway …

Is there any java example of verification of JWT for aws cognito API?

I am using aws cognito user pool, after user signed in, I got an id token at my single page application, which is expected, then for each request, I need to verify the id token at my backend rest API, …

S3 link with longer expiration

I am generating a pre-signed link using the java sdk for a client. We have new requirements to allow the links to remain active for at least 30 days. When I set the expiration longer I get the below …

Unable to connect to Selenium Grid running on AWS EC2

I have a Selenium Grid up and running on an AWS EC2 instance. I would like to connect to this from my local machine using Java to fire off my tests via a RemoteWebDriver, however, I’m unable to …