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 in AWS by Hannah
• 17,070 points
49 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 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 10 in AWS by Nikita
44 views
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 in AWS by Rakshi
33 views