How to run Python 3 virtualenv in Ubuntu
As best practice, whenever you have a new project in Python you should always run it in a virtual environment so that packages will not be installed globally that may affect system tools. The most common virtual environment for Python3 is virtualenv. By default, Python3 is already installed in Ubuntu, but virtualenv is not. The…
List of Public SSM Parameters for AWS Storage Gateway
Below is the python3 code that I used to get the Public SSM Parameters under the path /aws/service/storagegateway/.
List of Public SSM Parameters for Red Hat Linux
Below is the python3 code that I used to get the Public SSM Parameters under the path /aws/service/redhat/.
List of Public SSM Parameters for AWS Global Infrastructure
Below is the python3 code that I used to get the Public SSM Parameters under the path /aws/service/global-infrastructure/.
List of Public SSM Parameters for AWS EKS
Below is the python3 code that I used to get the Public SSM Parameters under the path /aws/service/eks/.
List of Public SSM Parameters for AWS ECS
Below is the python3 code that I used to get the Public SSM Parameters under the path /aws/service/ecs/.
List of Public SSM Parameters for AWS DataSync
Below is the python3 code that I used to get the Public SSM Parameters under the path /aws/service/datasync/.
List of Public SSM Parameters for AWS Cloud9
Below is the python3 code that I used to get the Public SSM Parameters under the path /aws/service/cloud9/.
How to get the price of AWS Load Balancers using Boto3 and Python
Below is a Python Script that gets the price of AWS Elastic Load Balancers (ELB). This can retrieve prices for Classic, Application, Network and Gateway Load Balancers. It can also get the price of load balancers in AWS Outposts. See the different examples of how to use this Python code below. Output
How to get the On-Demand price of EC2 Instances using Python and Boto3
The Python code below gets the on-demand price (in USD) of the EC2 instance type t2.micro in the Asia Pacific (Mumbai) region with Linux operating system. Note: There are more examples below where we get the hourly price of different on-demand EC2 Instances like other operating system or EC2 Instances that are running on Dedicated…