Platform.sh is a second-generation Platform-as-a-Service built especially for continuous deployment. It allows you to host web applications on the cloud while making your development and testing workflows more productive.
The main requirement of Platform.sh is that you use Git to manage your application code. Your project’s configuration is driven almost entirely by a small number of YAML files in your Git repository. The Configuration section covers those in more detail and can serve as both tutorial and quick-reference.
Platform.sh supports a number of different programming Languages and environments, and it features recommended optimizations for a number of Featured Frameworks.
Finally, you can also get tips for setting up your own Development workflow and Administering your Platform.sh account.
As a Platform as a Service, or PaaS, Platform.sh automatically manages everything your application needs in order to run. That means you can, and should, view your infrastructure needs as part of your application, and version-control it as part of your application.
Platform.sh covers not only all of your hosting needs but also most of your DevOps needs. It is a simple, single tool that covers the application life-cycle from development to production and scaling.
You only need to write your code, including a few YAML files that specify your desired infrastructure, commit it to Git, and push. You don’t need to setup anything manually. The web server is already setup and configured, as is any database, search engine, or cache that you specify.
Every branch you push can be made a fully independent environment—complete with your application code, a copy of your database, a copy of your search index, a copy of your user files, everything—and its automatically generated URL can be sent to stakeholders or to automated CI systems. It really is “what would my site look like if I merged this to production?” every time.
You can use these concepts to replicate a traditional development/staging/production workflow or even to give every feature its own effective staging environment before merging to production (empowering you to use git-flow like methodologies even better). You could also have an intermediary integration branch for several other branches.
Platform.sh respects the structure of branches. It’s entirely up to you.
Managing your full stack internally gives Platform.sh some unique features:
- Unified Environment: All of your services (MySQL, ElasticSearch, MongoDB, etc…) are managed inside the cluster and included in the price, with no external single-points-of-failure. When you back up an environment, you get a fully consistent snapshot of your whole application.
- Multi-Services & Multi-App: You can deploy multiple applications (for example, in a microservice-based architecture), using multiple data backends (MySQL, Postgres, Redis etc..) written in multiple frameworks (Drupal + NodeJS + Flask, for example) in multiple languages, all in the same cluster.
- Full Cluster Cloning Technology: The full production cluster can be cloned in under a minute—including all of its data—to create on-the-fly, ephemeral development environments that are a byte-level copy of production.
- Fail-Proof Deployments: Every time you test a new feature, you also test the deployment process.
- Continuous Deployment from the Start: Everything is build-oriented, with a consistent, repeatable build process, simplifying the process of keeping your application updated and secure.