Kickstart BackupAsCode with ChatGPT

You maybe already have been playing around with ChatGPT from OpenAI, and maybe you have been testing it in different tasks. But let’s test it for Infrastructure-as-code part so you can get a quicker start in to Backup-As-Code and take the first step to be even better prepared for an ransomware attack.

What is Backup-As-Code, let’s ask ChatGPT

What is Backup as Code

Now do we understand what backup-as-code is, it is an extension of your Infrastructure-as-code project, so if you got hit by a ransomware attack and your backup software couldn’t identify the ransomware binary in less then minutes, you as a system administrator / devops person can easy kick of a rebuild of you total infrastructure elsewhere, while your backup administrator try to find the ransomware in the existing backups.

To just be clear, there is a lot of cool features out there how to identify the ransom from all the backup vendors they work most of the time. But if that take too long time, we can “rebuild” your entire infrastructure using automation and only restore “last know good” data.

Terraform in AWS

But let’s try to create a simple Terraform script for a Ubuntu server at AWS using a EC2 instance.

Terraform script for AWS in North-1 Datacenter

What about Swedish Cloud?

Can we use ChatGPT together with a local Swedish Cloud Provider like Safespring to get started with Infrastructure & Backup-as-code?

Terraform with Safespring

Terraform with VMware?

What about our local infrastructure like VMware, can we use ChatGPT for that?

Interesting, this is a really good start to just test Infrastructure-As-Code, we will test this little bit more in the future and see if we can create a more complex server, create a CI/CD Pipeline to restoretest our complex server.

We hope this give you more insperation, and please use this blog as your first step in to the new era of BackupAsCode world.

Föregående
Föregående

Protect Google Workspace

Nästa
Nästa

Summery from AWS re:invent