The data protector engine runs scheduled jobs and whenever a job fails, an incident created in service now. Next, the data protector engine re-runs the failed job automatically. But even if they are successful on the next re-runs, the incidents are not resolved and someone has to manually go in and close all incidents. That's painful because there are hundreds of jobs that run in the data protector in parallel. Also, someone has to keep an eye on the Service Now incidents regularly.
Fortunately, this can be automated and those incidents can be closed automatically on a scheduled basis. …
If you ask any Python programmer to tell about the strengths of Python, he will quote brevity and high readability as the most influencing ones. Python strives to make developers happy with its simpler, less-cluttered syntax.
Attention geeks! In this article, I have compiled tricks that I have discovered.
As of the latest version python doesn't support range dictionaries. But here is a trick
def __getitem__(self, item):
if not isinstance(item, range):
for key in self:
if item in key:
to use this create a range dictionary like this —
MS SQL is a proprietary RDBMS from Microsoft and MySQL is a free and open-source RDBMS backed by Oracle. And with an increasing number of organizations transitioning from proprietary to open-source software, migration from MS SQL to MySQL database is gaining momentum.
This is not the actual way one should migrate but I simply avoided a lot of grey areas like —
You all must have read several articles on automating backups of EC2 Instances. It is critical for today’s infrastructures. The modern application needs automated backup and disaster recovery processes for ease in managing and creating a scalable and robust environment. It is generally a one-time setup for backups. But on the other hand, you need to click several times for a recovery process to initiate.
Need of the hour? — Automation.
The good news is there are APIs to help to achieve it. There is good documentation that explains stuff. But I preferred using the chrome inspect network tool to…
Whenever we install a package in python, we use either pip or conda that connects to pypi.org or anaconda.org for installer files. So keeping this in mind I opened my anaconda prompt.
base) C:\Users\Kuharan>python --version
Cool. So I thought of simply going forward with the installation
(base) C:\Users\Kuharan>pip install couchbase
Downloading couchbase-3.0.6-cp37-cp37m-win_amd64.whl (1.7 MB)
|████████████████████████████████| 1.7 MB 819 kB/s
Requirement already satisfied: wrapt>=1.11.2 in c:\users\kuharan\anaconda3\lib\site-packages (from couchbase) (1.11.2)
Requirement already satisfied: six in c:\users\kuharan\anaconda3\lib\site-packages (from couchbase) (1.14.0)
Requirement already satisfied: mypy-extensions in c:\users\kuharan\anaconda3\lib\site-packages (from couchbase) (0.4.3)
Requirement already satisfied: attrs>=19.1.0; python_version > "3.5" in c:\users\kuharan\anaconda3\lib\site-packages (from…
AWS strongly recommends changing access keys (which consist of an access key ID and a secret access key) on a regular schedule, if you run applications on EC2 that need access to AWS services. It is a well-known security best practice because it shortens the period an access key is active and therefore reduces the business impact if they are compromised.
So change your access keys regularly, and make sure that all IAM users in your account do as well. That way, if an access key is compromised without your knowledge, you limit how long the credentials can be used…
Micro Focus Data Protector is an enterprise-grade backup and disaster recovery solution for large, complex, and heterogeneous IT environments. It is a backup solution that provides reliable data protection and high accessibility for your fast-growing business data and offers comprehensive backup and restores functionality specifically tailored for enterprise-wide and distributed environments.
Let us start by creating a dataset for this demo, I am using Zomato Restaurants Hyderabad dataset. We’ll start by uploading the CSV to our RDS instance using MySQL workbench. This will quickly create a dataset for us to experiment with. Expand on schema_name → Tables → Right-click → Table data import wizard. Follow the self-explanatory steps. Run this select query and you should see your table in the DB.
I have two freshly created ec2 instances for my example. We are going to update the tags for these two instances. Lets get started.
Data Engineer, Programmer, Thinker