AWS Lambda Function Issues

+1 vote

  In Aws Lambda function we are made jar file include all dependency now its running in aws server,My Question is While running aws lambda function how to update new version of dependency jar and how to deploy that jar without stop aws lambda function,


  please can tell me any solution,
Sep 13, 2018 in AWS by vamc
• 130 points

recategorized Sep 14, 2018 by Vardhan 42 views

2 answers to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

AWS Lambda lets you select a runtime at the time of creation of that lambda function, or later you can change it again. 
So, Create a separate Lambda with the Jar file that you want to run having different dependency and then you can trigger that lambda function from your current lambda function if that's what you ultimately want.

answered Sep 14, 2018 by bug_seeker
• 15,300 points
0 votes

If you have created AWS Lambda Deployment JAR Using Maven, you can use the Versions Plugin, very useful but not-so-well-known Maven plugin. The Versions plugin, as the name suggests, helps you manage versions in your Maven projects. Versions of your dependencies and of your plugins as well.

You can use versions:display-dependency-updates command which will list the dependencies you are currently using, and which ones are due for an update. Then to update the outdated ones you can use mvn versions: set command to go ahead and update versions in pom.xml files.

Finally, once your happy with your new versions, use mvn versions:commit to set your changes in stone. This removes the backup files that the Versions plugin has been keeping, just in case.

If you want to know more search for Versions Plugin. Hope this helped.

answered Sep 14, 2018 by datageek
• 2,430 points

Related Questions In AWS

0 votes
4 answers

Renaming AWS Lambda function

Nope- the function name is immutable READ MORE

answered Mar 6 in AWS by anonymous
0 votes
1 answer
0 votes
1 answer

How to link AWS Lambda function to Amazon CloudWatch ?

In order to create Log Group and ...READ MORE

answered Jul 20, 2018 in AWS by datageek
• 2,430 points
0 votes
1 answer
0 votes
1 answer
+2 votes
3 answers
+3 votes
3 answers

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.