Skip to content

Results for “devops”

6 prompts

Create a backup and restore plan for a [database] used by [app]. Include backup frequency, retention, off-site storage, encryption, an automated backup script, a restore test procedure, and monitoring for failed backups.

ChatGPT
Coding & Development

Database backup and restore plan

Protects your data with tested backups.

0

Write a Bash script that [task]. Use set -euo pipefail, validate arguments, print usage help, log steps with timestamps, clean up temporary files on exit, and make it safe to run twice.

ChatGPT
Coding & Development

Bash script with safe defaults

A robust shell script with error handling and logging.

0

Optimise this Dockerfile for size, build speed and security. Use multi-stage builds, a minimal base image, layer caching, a non-root user and .dockerignore suggestions. Explain each change. Dockerfile: [paste]

ChatGPT
Coding & Development

Docker image size reduction

Makes Docker images smaller, faster and more secure.

0

Act as a cloud infrastructure engineer. Cloud: [AWS / GCP / Azure] Resources needed: [e.g. VPC, database, container service, storage bucket] Environments: [details] Write Terraform with a sensible module structure, variables and outputs, remote state configuration, tagging, and comments. Explain the plan/apply workflo…

ChatGPT
Coding & Development

Infrastructure as code with Terraform

Define cloud infrastructure in Terraform with modules, variables and safe state handling.

0

Act as a DevOps engineer. Stack and hosting: [details] Environments: [dev, staging, prod] Secrets used: [types, names only] Recommend: a config structure, .env usage and .env.example, validating config at startup, secret storage options for production, rotation practices, and what must never be committed to git. Inclu…

ChatGPT
Coding & Development

Environment variables and config management

Organise configuration and secrets safely across development, staging and production.

0

Act as a DevOps engineer. App: [language/framework and version] Services needed: [database, cache, queue] Ports: [list] Environment variables: [names only] Goal: [local dev / production] Create: 1. A multi-stage Dockerfile (small image, non-root user, cached dependencies) 2. A .dockerignore 3. docker-compose.yml with…

ChatGPT
Coding & Development

Dockerfile and docker-compose setup

Containerise your app with an optimised, secure Dockerfile and a docker-compose file for local development.

0