Skip to content

Instantly share code, notes, and snippets.

@DimaMinka
Last active April 29, 2018 20:21
Show Gist options
  • Save DimaMinka/c6570ab2000c37b967aa0314debe55d1 to your computer and use it in GitHub Desktop.
Save DimaMinka/c6570ab2000c37b967aa0314debe55d1 to your computer and use it in GitHub Desktop.
Modern WordPress Production Workflow

Modern WordPress Production Workflow

Our(CDK) modern workflow for easy development and support

Server

  • DigitalOcean Teams you can invite and manage users, ensure security with two factor authentication, and control your resource spend with centralized billing.
  • Droplet deploy
  • Monitoring - Collect metrics on visibility, monitor Droplet performance, and receive alerts when problems arise in your infrastructure — at no additional cost.
  • Backups - Affordable and easy-to-use automated backups built into the Droplet interface. Enabling this service on your Droplet can provide automatic, system-level backups at regular intervals, allowing you to easily revert or spin up new instances off of the created images. Pricing for backups is 20% of the cost of the virtual machine.
  • Snapshots - A snapshot could be taken prior to making any drastic changes to a server configuration, so that, should the changes be unsuccessful, you will have a version to revert back to. Pricing for snapshots is $0.05 per gigabyte per month.
  • Load Balancers - Load Balancers are a highly available, fully-managed service that works right out of the box and can be deployed as fast as a Droplet. Load Balancers distribute incoming traffic across your infrastructure to increase your application's availability.
  • Floating IPs - Single points of failure can be the downfall of any application. With Floating IPs, customers can associate an IP address with a different Droplet, with minimal downtime. This makes it possible to set up a standby Droplet, ready to receive your production traffic at a moment's notice.
  • API - Manage your Droplets with greater flexibility using conventional HTTP requests. Take any number of actions or requests—including creating multiple Droplets, resizing, rebooting, enabling backups, and more—with curl commands or the official API wrappers. Includes OAuth support.

Server stack and management

  • Nginx in front of Apache. PHP-FPM and MySQL. And you don't have to touch a single configuration file.
  • Run websites with PHP 5.6, 7.0, 7.1, and 7.2 on the same server. Easily change PHP versions at any time.
  • Automated Updates
  • Firewall by Default
  • No Extra Open Ports
  • Nginx, Asynchronous, HTTP/2, PHP-FPM, Minimal Resource Usage, SFTP, SSL
  • API - The ServerPilot API allows you to write programs that manage servers, apps, system users, and databases on your servers using HTTPS requests. The ServerPilot API is simple and powerful, allowing you to easily retrieve information and execute actions using intuitive URLs and JSON. Any server management action that you can perform through the ServerPilot control panel can also be performed with the API.

Security

  • Fully supported by ServerPilot
  • Brute force protection - When one of your servers is attacked, we block the attacker's IP address from any further attacks.

Custom features

  • NODE, NPM, GTOP, JQ, zImageOptimizer
  • Adminer
  • SRDB
  • Bitbucket pipeline
  • Environments - test/staging/prod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment