Python Posts

Accessing a MongoDB instance from AWS Lambda using Python

  • by Emre Yilmaz
  • Jun 8, 2018
  • AWS, Serverless, Python
Accessing MongoDB from AWS Lambda using Python

In recent days, I made some trials for connecting to MongoDB databases from AWS Lambda functions using Python. In today’s post I will share my experiences with you and take some notes about these trials for future reference. We will install MongoDB on an EC2 instance and develop simple Python functions to access it. Let’s start! ... read more

Sending SMS Messages with Amazon SNS, AWS Lambda and Python

  • by Emre Yilmaz
  • May 23, 2018
  • AWS, Serverless, Python

Did you know that you can send SMS messages easily with Amazon SNS without subscribing any phone numbers to a topic? Let’s say that you have verified phone numbers and you would like to send text messages to them assuming that they opted in for this. Besides, you would like to pay only when you send. You can use Amazon SNS SDK for Python and automate this process using AWS Lambda. ... read more

Accessing AWS Resources Using Python Scripts

  • by Emre Yilmaz
  • Aug 20, 2017
  • AWS, Python
Accessing AWS via Python and Boto 3

While managing your resources on AWS, you may need accessing services programmatically. You may need to get information about an instance or modify some attribute. In some cases, you may need a cron job that runs every hours or once a day. For example, it can be a job getting the name of the current master node in an ElastiCache Redis cluster.

Writing Python scripts is an easy way to access and use your AWS resources. Besides, you can use Python for coding your AWS Lambda functions. In this blog post, I will give a simple example to listing VPC components using a Python script. ... read more

Would you like to learn AWS CloudFormation?

Our new course AWS CloudFormation Step by Step: Beginner to Intermediate is live on Udemy!

Join us now with up to 90% discount using the coupon below!

Enroll now!

Subscribe to this blog's RSS feed