Create and deploy a serverless service on Linux

0 votes
I have the serverless CLI installed and configured on my system. Now I need to create and deploy a serverless service. How do I do that? My project is stored on GitHub. Can I directly deploy the service using the github repo?

Thanks in advance!
Oct 1, 2019 in AWS by Hannah
• 18,570 points
587 views

1 answer to this question.

0 votes

Hi @Hannah, execute the followinf commands:

# Create a new Serverless service/project
$ serverless

# Change into the newly created directory
$ cd your-service-name

You need to have a yml file(eg. serverless.yml) to deploy your serverless service. To deploy your service just use the following command

serverless deploy -v
answered Oct 1, 2019 by Nagya

Related Questions In AWS

0 votes
1 answer
0 votes
1 answer

Create an IAM service role for a Hybrid Environment

To create an IAM service role for ...READ MORE

answered Jan 11, 2019 in AWS by Nikita
588 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How do I create a network load balancer?

Follow these steps to create a load ...READ MORE

answered May 14, 2019 in AWS by Rakshi
671 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