Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
AWS Lambda Quick Start Guide

You're reading from   AWS Lambda Quick Start Guide Learn how to build and deploy serverless applications on AWS

Arrow left icon
Product type Paperback
Published in Jun 2018
Publisher Packt
ISBN-13 9781789340198
Length 184 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Markus Klems Markus Klems
Author Profile Icon Markus Klems
Markus Klems
Arrow right icon
View More author details
Toc

Using the Serverless Framework with Python

In the previous section, we created our first Python Lambda functions on the AWS Management Console. In this section, we will use the serverless framework to create Python Lambda functions. We will invoke the function locally, and then we will deploy and remotely invoke the function.

Open a terminal window in the Atom Editor. We will use the serverless command-line interface to generate a Python Lambda function from the template. If you don't have the serverless framework installed on your computer, please head back to the install and setup video right at the beginning. You should be able to execute this command to print out the serverless version that you have installed. Currently, we're using serverless framework version 1.6.1. You can create a new function using the command, sls create and specifying the template, --template...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image