What is Platform.sh?
Back to home
On this page
Platform.sh is a 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.
If you’re new to Platform.sh, the Philosophy, Structure, and Build and Deploy pages cover all the basics to start on the right track.
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. For more information on how to configure your project, refer to the Configure apps, Add services and Define routes reference documentation.
Platform.sh is built on Debian, supports many different programming languages and environments, and features recommended optimizations for several featured frameworks.
Finally, you can also get tips for setting up your own development workflow and administrating your Platform.sh account.
Git Driven Infrastructure
As a Platform as a Service, or PaaS, Platform.sh automatically manages everything your application needs to run. That means you can, and should, view your infrastructure needs as part of your application and address them under version control.
Infrastructure as code
Platform.sh covers not only all of your hosting needs but also most of your DevOps needs. It is a 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 set up anything manually. The web server is already set up 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. Its automatically generated URL can be sent to stakeholders or 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.
Full stack management
Managing your full stack on Platform.sh gives you the following 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, PostgreSQL, 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 preview 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 up-to-date and secure.