You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Log in to your account, or sign up for a new account which
48
-
comes with a free tier so you don't have to pay.
42
+
Sign up for a new [Amazon Web Services account](https://aws.amazon.com/),
43
+
which provides a generous free tier, or use your existing AWS account.
49
44
50
45
<imgsrc="/img/170429-aws-lambda-python-3-6/aws-amazon-com.jpg"width="100%"class="technical-diagram img-rounded"alt="AWS Lambda landing and sign in screen.">
51
46
52
47
After signing up a few tutorials may pop up, but skip past them and
53
48
go to the main Console. AWS has tons of services, with more being added
54
49
every month, so using the search box is the best way to get around.
55
50
Select the search text box, enter "lambda" and select "Lambda" to get to
56
-
the right starting page.
51
+
the Lambda starting page.
57
52
58
53
<imgsrc="/img/170429-aws-lambda-python-3-6/search-for-lambda.jpg"width="100%"class="technical-diagram img-rounded bordered"alt="Search for lambda in the dashboard text box.">
@@ -137,7 +133,8 @@ Enter the keys named `what_to_print` and `how_many_times` then enter their
137
133
values. Use a string message for `what_to_print`'s value and an integer
138
134
whole number above 0 for `how_many_times`. Our Python code's error handling
139
135
is not very robust so a value other than a number in the `how_many_times`
140
-
variable will cause the script to throw an error when it is executed.
136
+
variable will cause the script to throw an error when it is executed due
137
+
to the forced casting of `how_many_times` via the `int()` function.
141
138
142
139
<imgsrc="/img/170429-aws-lambda-python-3-6/environment-variables.jpg"width="100%"class="technical-diagram img-rounded bordered"alt="Section to set environment variables for the Lambda function.">
143
140
@@ -202,7 +199,7 @@ function! The real power of Lambda comes in when you use triggers to
202
199
your Lambda function so it executes based on events that happen.
203
200
We will take a look at that in the next tutorial.
204
201
205
-
Take a look at the [AWS Lambda](/aws-lambda.html) page for additional
202
+
View the [AWS Lambda Full Stack Python page](/aws-lambda.html) for additional
206
203
examples and tutorials that other folks have shared for Lambda with Python.
207
204
208
205
Questions? Contact me via Twitter
@@ -211,5 +208,5 @@ or [@mattmakai](https://twitter.com/mattmakai). I am also on GitHub with
211
208
the username [mattmakai](https://github.com/mattmakai).
212
209
213
210
Something wrong with this post? Fork
214
-
[this page's source on GitHub](https://github.com/mattmakai/fullstackpython.com/blob/master/content/posts/170429-python-3-6-aws-lambda.markdown).
215
-
211
+
[this page's source on GitHub](https://github.com/mattmakai/fullstackpython.com/blob/master/content/posts/170429-python-3-6-aws-lambda.markdown)
0 commit comments