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,750 points
100 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,220 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,420 points

reshown Aug 15, 2018 by Vardhan 80 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,380 points
170 views
0 votes
1 answer
+3 votes
4 answers

Can AWS be used to Host a Website?

Yes! you can host a fully static ...READ MORE

answered Oct 16, 2018 in Cloud Computing by Peter S. Francis
60 views
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,080 points
114 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,750 points
37 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,750 points
536 views
0 votes
1 answer

Can we host website on AWS EFS

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

answered May 3, 2018 in Cloud Computing by DragonLord999
• 8,380 points
49 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 16 in Cloud Computing by Kirk Davis
624 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
• 56,900 points
366 views