Associate your web app with Application Insights Now that your Application Insights has been set up, you will need to link it to your application: Figure 20.44 – Turn on Application Insights Figure 20.45 – Enable Application Insights Figure 20.46 – Associating an application with Application Insights Figure 20.47 – Applying monitoring settings You have […]
Category: Post-mortems
Performing site-to-site recovery via Azure Site Recovery – Implementing Backup and Recovery Solutions
Performing site-to-site recovery via Azure Site Recovery Azure Site Recovery is intended to be used as part of an organization’s disaster recovery or business continuity plans, which it does by ensuring applications and workloads are accessible during outages. A simple example of Site Recovery would be to replicate a VM from the primary region to […]
How to respond to an incident (in life and DevOps) – Introducing DevOps Principles
How to respond to an incident (in life and DevOps) Incidents happen, and the people who are responsible for dealing with these incidents need to handle them. Firefighters have to battle fires, doctors have to treat the sick, and DevOps engineers have to contend with a number of incidents that can occur when running the […]
RTOs and RPOs – Introducing DevOps Principles
RTOs and RPOs These two abbreviations are much more availability-focused than the other three. Recovery Time Objectives (RTOs) and Recovery Point Objectives (RPOs) are used as measuring sticks to measure the borders of availability. If an application fails to fall within its RTO or RPO then it hasn’t fulfilled its guarantee of availability. RTOs and […]
Delving into infrastructure as a code – Introducing DevOps Principles
Delving into infrastructure as a code Finally, in a book about Python, we get to a section about code. So far, I’ve given you a lot of information about what needs to be accomplished but to accomplish the things we want especially in this book, we must have a method, a tool, a weapon, i.e., […]
Beautiful-ugly/explicit-implicit – Talking about Python
Beautiful-ugly/explicit-implicit Let’s start with beauty. They say beauty is in the eye of the beholder. And this is why, when you behold improperly indented code, you begin to understand the beauty of actually indented code. Here is the same code written correctly in JavaScript and Python: const value = 5; for (let i = 0; […]
Now or never – Talking about Python
Now or never This is another one of those principle pairs that is more about the method of writing than the writing itself. The statements of now being better than never but never being better than right now may seem somewhat paradoxical, but they describe the nature of writing code and delivering value through it. […]
Autopull a list of Docker images – Talking about Python
Autopull a list of Docker images Grabbing Docker images can be tedious. Especially grabbing multiple images. So now, we are going to see how we can pull a number of Docker images at the same time using the Python library for Docker: pip install docker 2. Then, write a script in a file called docker_pull.py […]