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
Python Essentials for AWS Cloud Developers

You're reading from   Python Essentials for AWS Cloud Developers Run and deploy cloud-based Python applications using AWS

Arrow left icon
Product type Paperback
Published in May 2023
Publisher Packt
ISBN-13 9781804610060
Length 224 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Serkan Sakinmaz Serkan Sakinmaz
Author Profile Icon Serkan Sakinmaz
Serkan Sakinmaz
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Part 1: Python Installation and the Cloud
2. Chapter 1: Using Python on AWS FREE CHAPTER 3. Chapter 2: Creating an AWS Account 4. Part 2: A Deep Dive into AWS with Python
5. Chapter 3: Cloud Computing with Lambda 6. Chapter 4: Running Python Applications on EC2 7. Chapter 5: Running Python Applications with PyCharm 8. Chapter 6: Deploying Python Applications on Elastic Beanstalk 9. Part 3: Useful AWS Services to Implement Python
10. Chapter 7: Monitoring Applications via CloudWatch 11. Chapter 8: Database Operations with RDS 12. Chapter 9: Creating an API in AWS 13. Chapter 10: Using Python with NoSQL (DynamoDB) 14. Chapter 11: Using Python with Glue 15. Chapter 12: Reference Project on AWS 16. Index 17. Other Books You May Enjoy

A sample application with Lambda

We are going to execute a sample application within Lambda step by step. To run a Python application on Lambda, take the following steps:

  1. Go to the AWS Management Console.
  2. Type lambda in the search box and click on the Lambda service:

Figure 3.1 – AWS Management Console

  1. Click Create function.
  2. On the Create function page, select Use a blueprint, and within the blueprint, select the hello-world-python application:

Figure 3.2 – Create function

  1. On the next screen, enter the name of the Lambda function and select the security settings:

Figure 3.3 – Naming the function

When you run a Lambda function, you need to define the role that Lambda can use to be able to do some actions, which is done under Execution role. The role defines your permissions in AWS and how to access other AWS services. For example, if Lambda...

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