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

The AWS CLI

CLI stands for command-line interface, which provides some tools and libraries to facilitate accessing AWS services. As such, the AWS CLI has some APIs to use AWS services. The AWS CLI is one of the most common tools used when working with AWS. It has different methods to access AWS services. We are going to install awscli to access AWS services. In this section, we will install awscli and, after that, configure an EC2 machine to upload a file from EC2:

  1. In order to access S3 from awscli, we need to create an IAM role to be attached to EC2. Connect to the AWS Management Console, type IAM, and then click IAM:

Figure 4.36 – IAM in the console

  1. Click Roles on the left panel and then click Create role:

Figure 4.37 – Create role

  1. Select EC2 as a common use case and click Next:

Figure 4.38 – Select a service

  1. Now, we need to give the required...
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