Python Flask intro
Create venv Create a new folder $ mkdir demo_flask_board $ cd demo_flask_board Create a venv environment On Windows python -m venv venv .\venv\Scripts\activate On Linux $ python3 -m venv...
Create venv Create a new folder $ mkdir demo_flask_board $ cd demo_flask_board Create a venv environment On Windows python -m venv venv .\venv\Scripts\activate On Linux $ python3 -m venv...
The JSON library import json To remember When converting a Python dictionary to JSON, the dictionary keys will always be strings in JSON. JSON keys are always strings, and not all Python...
Execute PDB Use one of these three approaches to execute the pdb debugger prompt. Include this as an additional line in the code where you wish to start the pdb debugger import pdb; pdb.set_tr...
There are 3 types of IAM Policies: Customer managed policy is a standalone policy that you administer in your own AWS account. AWS managed policy is a standalone policy that is created and ...
IMPORTANT The outputs shown here were taken from a temporary AWS account which has now been deleted Install AWS CLI Refer to official AWS documentation Install or update to the latest version of ...
Introduction IMPORTANT The outputs shown here were taken from a temporary AWS account which has now been deleted Note The words “associate” and “attach” are used interchangeably In this guide we...
Today, while doing a practice lab, I tried obtaining EC2 instance’s metadata information by executing the cURL command to the AWS metadata address 169.254.169.254. However, I got an HTTP 401 Unau...
VPC Peering VPC Peering connects two VPCs privately using AWS network It makes them behave as if they were in the same network Peered VPCs can be in the same AWS region or across AWS regio...
VPC Flow logs theory: VPC Flow Logs capture IP traffic to and from network interfaces in your VPC. This can be useful in many circumstances, including: providing flow log data to CloudWatch to...
We first start with some terminology: VPC - Virtual Private Cloud CIDR - Classless Inter-Domain Routing ENI - Elastic Network Interface SG - Security Group BYOI - Bring Your Own IP ...