AWS Cloud9 Can we deploy only one Lambda function at a given time

0 votes
I wish to deploy one function at one go, but that seems highly unlikely because each time I click on deploy button it deploys all the functions in one go. Can someone help?
Apr 18, 2018 in Cloud Computing by hemant
• 5,790 points
862 views

1 answer to this question.

0 votes

Let us start understanding what happens when you press on the deploy button:

When you click deploy Cloud9 will run aws cloudformation package and also aws cloudformation deploy on your template.yaml file in the background.

Now all your files will be bundled into one serverless application and there is only one CloudFormation stack they can only be all deployed at once with CloudFormation.

If you're only make a code change for one function and are not modifying any configuration settings then, you could update that one function from the command line with the command shown below

zip -r - . | aws lambda update-function-code --function-name <function-name>`

Note: Run this in the same folder as your template.yaml file, and replace  <function-name> with its full generated name say cloud9-myapp-myfunction-ABCD1234

answered Apr 18, 2018 by code_ninja
• 6,290 points

Related Questions In Cloud Computing

0 votes
1 answer

Can we hit a web page regularly in AWS & get a notifications if it fails or goes down

Yes, it is possible to do so. ...READ MORE

answered May 9, 2018 in Cloud Computing by Meci Matt
• 9,460 points

reshown Aug 15, 2018 by Vardhan 418 views
+1 vote
1 answer

AWS: Can some one tell me what is a golden image?

Golden Images Certain AWS resource types like Amazon ...READ MORE

answered Jul 27, 2018 in Cloud Computing by DragonLord999
• 8,450 points
5,300 views
0 votes
2 answers
0 votes
1 answer

Can we add AWS IAM users to AWS Cognito Pool?

For now, that seems unlikely. Because if ...READ MORE

answered Apr 18, 2018 in Cloud Computing by brat_1
• 7,200 points
891 views
0 votes
1 answer

Can we Use Api keys with AWS API Gateway?

There is no getting away here. When ...READ MORE

answered Apr 18, 2018 in Cloud Computing by hemant
• 5,790 points
391 views
0 votes
1 answer

Can we scale Lambda functions for SNS trigger?

This doc should answer your first concern: ...READ MORE

answered Apr 20, 2018 in Cloud Computing by hemant
• 5,790 points
1,465 views
+1 vote
1 answer

Can we host website on AWS EFS

You can host a website on a ...READ MORE

answered May 4, 2018 in Cloud Computing by DragonLord999
• 8,450 points
555 views
0 votes
1 answer

Can we Access AWS SNS service without having access to Secret key and access key?

Yes what you ask for is possible. ...READ MORE

answered May 9, 2018 in Cloud Computing by DragonLord999
• 8,450 points
892 views
+4 votes
3 answers

Deploy RESTful API with .net framework 4.5 in AWS Lambda

This is an old question (somewhat), but ...READ MORE

answered Jan 17, 2019 in Cloud Computing by Kirk Davis
2,871 views
0 votes
2 answers

Is there a way to copy AMI from one AWS account to another AWS account using boto?

You could share the AMI from one ...READ MORE

answered Aug 21, 2018 in Cloud Computing by Priyaj
• 58,090 points
1,892 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP