Is there any ability to use GraalVM to run Java in AWS Lambda functions? I read a lot articles about cold starts of Java applications with GraalVM AOT (ahead-of-time) compilation feature and decreasing duration of that and I’d like to try to use it in my AWS Lambda projects. Answer With the introduction of Custom AWS Lambda Runtimes at re:Invent
Tag: amazon-web-services
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 calls. I just got a new requirement, we are to use the service SecretsManager to authomatically rotate RDS configuration such as Users, passwords
AWS S3 doesObjectExist costs
AWS S3 Java SDK provides a method doesObjectExist() to check if an object exists in S3. What operation does it use internally? Is it GET, LIST, or HEAD ? My concern is mainly related to its costs. From S3 documentation the costs of US west Oregon are- PUT, COPY, POST, or LIST Requests $0.005 per 1,000 requests GET, SELECT and
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, which is in java, the aws doc didn’t mention too much about how to do it. Is there any example
SQS FIFO Using MessageGroupId to receive message
How do I use the messagegroupid parameter to only receive queue messages tagged with the id I need? I’ve been trying to use the line below to retrieve but it will always receive all the queue messages from other group id as well. List<Message> messages = sqs.receiveMessage(receiveMessageRequest.withAttributeNames(“MessageGroupId”)).getMessages(); What should be the correct way to do it? Answer The ReceiveMessageRequest is
How to connect to SQS queue
I have created several SQS queues in the management console. All the queues have full access permission (Allow – Everybody – All SQS Actions) I have created necessary credentials and can connect to AWS. Now I am trying to connect to created queues: But nothing is displayed. At the same time, if I create queue programatically: It is listed and
AWS error downloading object from S3, “profile file cannot be null”
I’ve already seen this, but there was no answer to explain my problem. I first used the sample provided here (GetObject class), and it worked immediately on my desktop. However, my friend could not get it to work on his machine, nor will it work on our EC2 instance. It was mentioned that there are to be credentials files specified,
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 error: Requests that are pre-signed by SigV4 algorithm are valid for at most 7 days I need to determine a way
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 connect to the server be it through SSH or the Public IP. For example I need to access the instance on port
Confirmation of HTTP endpoint for SNS Subscribers
When I create a SNS topic using cloud formation and at the same time configure a HTTP endpoint it is possible that the HTTP endpoint might not be functional at that time. So is it possible to set the retrial for sending these confirmations requests at some later stage. My use case is that the HTTP endpoint will be on