• Overview
    Frameworks
    • Django
    • Next.js
    • Drupal
    • WordPress
    • Symfony
    • Magento
    • See all frameworks
    Features
    • Observability
    • Auto-scaling
    Solutions
    • Marketing Teams
    • Retail
    • Higher Education
  • Pricing
  • Featured articles
    • Switching to Platform.sh can help IT/DevOps organizations drive 219% ROI
    • Organizations, the ultimate way to manage your users and projects
  • Support
  • Docs
  • Contact
  • Login
  • Free Trial

Connecting your local development environment to Platform.sh

local

Notes

Because your application may depend on a number of our managed services, your local development environment will need the same access to those services that a deployed environment would have. You can use the Platform.sh CLI command platform tunnel:open to open an SSH tunnel to your services. This will allow your application that is running on a local web server to access them. Once you export the PLATFORM_RELATIONSHIPS environment variable from your project, the local application will have the credentials it expects to interact with your services. Export a PORT variable, if your application requires one, and you'll be all set up to run locally using your remote services. These hosted services are identical to those you would use in your Platform.sh environments, for as long you need them locally. When you're all done and ready to push your new feature for review, close your tunnels with the CLI command platform tunnel:close.

Build your greatest app

Get started
Company
AboutSecurity and complianceTrust CenterBoard and investorsCareersPressContact us
Leader Winter 2023
System StatusPrivacyTerms of ServiceImpressumWCAG ComplianceManage your cookie preferencesReport a security issue
© 2023 Platform.sh. All rights reserved.
Supported by Horizon 2020's SME Instrument - European Commission 🇪🇺