yuval.guide — Guides and hands-on courses on DevOps, cloud, Linux, Python, Kubernetes, networking and AI.
The basic Truth of Python values and vars All of the values in Python are really objects. You can think of objects as bags that contain the value itself, with some more operations that you can use with the value (these are called methods). We'll talk about object in more details in later posts. Each object (i.e value) …
Read MoreParameters and Arguments Here's a demo of a function definitions and call. (comments tell you where parameters are used, and where arguments are used) 1def twice(num): # num is a parameter 2 print(2 * num) 3 4twice(5) # 5 is an argument 5x = 3 6twice(x) # x is an argument Positional and Keyword Arguments This is a …
Read MoreParameter Store Parameter Store is a feature of the AWS Systems Manager service. It is a centralized store to manage your configuration data, whether plain-text data such as database strings or secrets such as passwords. This allows you to separate your secrets and configuration data from your code. Parameters can be …
Read MoreAWS Shield/Shield Advanced AWS Shield is layer-4 protection, defending you from DDOS attacks like SYN flood, UDP floods or other reflection attacks. It does that by setting static thresholds and implementing Inline attack mitigation. AWS Shield Advanced adds more advanced detection and mitigation mechanisms, together …
Read MoreWhat are Data Streams Data streams refer to continuous flows of data that are generated continuously over time Data streams are continuous and potentially infinite in nature. Data streams can originate from various sources such as: sensors social media feeds financial transactions website clickstreams etc. …
Read More(this document is a work-in-progress, it is not complete, so you should visit this document from time to time to see if anything has changed) The AWS Solution Architect Associate exam content contains these sections: Domain 1: Design Secure Architectures (30%) 1.1: Design secure access to AWS resources. Cross account …
Read MorePython Virtual Environments If you're running myltiple python project on your computer, you may want use a tool that handles python virtual environments, for reasons such as: be able to install different libraries and modules for each project Use different versions of python for different projects This is especially …
Read MoreWhat is DNS Informally, we could say that DNS (Domain Name System) allows users to use names instead of IP addresses. The initial thinking was that names are easier to remember and work with, so users will find it easier to use them. In fact, DNS is part of the network itself. For example, you could run a single …
Read MoreAbout Parameter Expansion This post is based on th shell parameter expansion documentation. The ‘$’ character introduces several expansions: parameter expansion command substitution arithmetic expansion Parameter expansion mainly replaces a parameter reference with its value. When we're talking about shell parameters …
Read MoreAbout tilde expansion This post is based on the bash tilde expansion documentation. Let's say that you enter several letters, and them the ~ (tilde) character. If non of the letters are quoted, then bash will try to treat these letters as a login name. It will then try to replace the tilde expression with the home …
Read More