Languages and frameworks
Cloud.gov uses buildpacks to support a variety of programming languages and frameworks.
Supported languages and frameworks
Fully maintained language support
Cloud.gov supports applications written in Go, Java, Node.js, .NET Core, PHP, Python, R, and Ruby. Cloud.gov also supports applications that rely on a static binary that uses the 64-bit Linux kernel ABI, or that consist of static HTML, CSS, and Javascript assets. See the Cloud Foundry system (supported) buildpacks list for details.
Other languages
You can use a custom buildpack to use other languages. See custom buildpacks for more information about this feature. Cloud Foundry has a list of community buildpacks that you can use as custom buildpacks, along with documentation for building your own custom buildpacks.
Not supported
Cloud.gov cannot run applications that use .NET Framework, or application binaries that require access to Microsoft Windows kernel or system APIs.
If you're interested in running applications that require .NET Framework or Windows, email inquiries@cloud.gov, so that our team can learn about your needs and update you when this is available.
Sample applications to deploy
You can deploy example applications in many languages and frameworks:
- Hello worlds: Code for simple apps in several frameworks. Try deploying them and using them to build your own. Included: Java, Clojure, .NET Core, NodeJS, PHP, Flask (Python), Sinatra (Ruby).
- Drupal: Uses Composer to install the latest stable version of Drupal and includes S3 integration for file storage. Uses the Terraform CloudFoundry provider to deploy the application.
- WordPress: Uses Composer to install WordPress and includes S3 integration for file storage.
- Cloud Foundry community sample applications: This GitHub organization has seventy examples (and counting) of languages, frameworks and tools that can be adapted to run on Cloud.gov.
Customer example applications
Several Cloud.gov customers have their code available as open source for review and reuse, including:
- Dept of Justice Civil Rights Portal: Python Django application running at civilrights.justice.gov
- Federal Election Commission API: Python application with PostgreSQL and Elasticsearch backends.
- Cloud.gov Pages: NodeJS and Docker workers in Cloud.gov with S3 and RDS backends.