Skip to content

Results for “devops”

8 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

You are a Kubernetes engineer. App: [container image, port, env vars (names), resources] Requirements: [replicas, health checks, scaling, ingress, persistent storage] Write Deployment, Service, Ingress, ConfigMap/Secret references and HorizontalPodAutoscaler manifests, with comments explaining every field. Add kubectl…

Claude
Coding & Development

Kubernetes manifests explained

Write and understand Kubernetes manifests for deploying a containerised app.

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

Create a GitHub Actions workflow for my project. Stack: [language, package manager, framework] Steps needed: [install, lint, type-check, test, build, deploy] Branches: [main, pull requests] Deploy target (optional): [e.g. Vercel, server via SSH, Docker registry] Requirements: - Cache dependencies - Run tests on [versi…

Copilot
Coding & Development

CI pipeline with GitHub Actions

Set up a GitHub Actions workflow that installs, lints, tests and builds your project on every push and pull request.

0