mcpField
D
devops-platform-patterns

devops-platform-patterns

github.com/majesticlabs-devCloud & DevOps5065 installsUpdated 7w ago
Repository

About devops-platform-patterns

DevOps Platform Patterns is a reference skill with verification checklists and infrastructure practices for DigitalOcean, Hetzner, AWS, and Cloudflare. It helps developers review infrastructure code against platform-specific and cross-platform checks.

Key features

  1. 01DigitalOcean infrastructure checks
  2. 02Hetzner infrastructure checks
  3. 03AWS security and configuration checks
  4. 04Cloudflare protection checks
  5. 05Cross-platform infrastructure checks

Use cases

  1. 01Reviewing Terraform for DigitalOcean deployments
  2. 02Checking network and firewall setup on Hetzner
  3. 03Auditing AWS IAM, encryption, and logging
  4. 04Verifying Cloudflare API token and SSL settings

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill devops-platform-patterns

After installing, type/devops-platform-patternsin Claude Code to confirm it loaded.

Details

From the project README

DevOps Platform Patterns

Platform-specific verification checklists for infrastructure code.

DigitalOcean

CheckPassFail
VPC used for private networkingPrivate network configuredPublic networking only
Reserved IPs for productionStatic IPs assignedEphemeral IPs for critical services
Managed database in same regionCo-located DBCross-region latency
Spaces for state backendRemote state in SpacesLocal state only
Firewall attached to all dropletsFirewall rules appliedNo firewall

Best Practices:

  • Use digitalocean_vpc for internal communication
  • Attach firewalls via digitalocean_firewall with inbound rules
  • Store Terraform state in DigitalOcean Spaces with versioning

Hetzner

CheckPassFail
Private network configuredNetwork createdNo private networking
Firewall rules definedRules restrict accessOpen to internet
SSH keys managed via resourcehcloud_ssh_key usedKeys in user_data only
Placement groups for HAServers distributedSingle point of failure

Best Practices:

  • Use hcloud_network + hcloud_network_subnet for internal traffic
  • Apply hcloud_firewall to all servers
  • Use placement groups with spread type for critical workloads

AWS

CheckPassFail
VPC with private subnetsMulti-AZ VPCDefault VPC usage
Security groups least-privilegeSpecific ports/IPs0.0.0.0/0 ingress
IAM roles over access keysInstance profilesHardcoded credentials
KMS encryption for dataCustomer-managed keysNo encryption
CloudTrail enabledAudit logging onNo audit trail

Best Practices:

  • Never use default VPC for production
  • Prefer aws_iam_role with instance profiles over access keys
  • Enable S3 bucket versioning and encryption by default
  • Use aws_kms_key for sensitive data encryption

Cloudflare

CheckPassFail
API tokens over global keyScoped tokensGlobal API key
WAF rules configuredProtection enabledNo WAF
SSL mode is strictFull (strict) modeFlexible SSL
Rate limiting on endpointsRules appliedNo rate limiting

Best Practices:

  • Create scoped API tokens per environment/purpose
  • Set SSL mode to strict for origin protection
  • Apply rate limiting to authentication endpoints
  • Enable Bot Management if available

Cross-Platform Checks

CheckApplies ToVerification
Private networkingAllInternal services not exposed
Firewall/security groupsAllExplicit allow rules only
State backend remoteAllNot in local tfstate
Encryption at restAllData encrypted
Audit loggingAWS, CloudflareActivity tracked

Comments

Markdown supported