• Overview
    Key features
    • Observability
    • Auto-scaling
    • Multiframework
    • Security
    Frameworks
    • Django
    • Next.js
    • Drupal
    • WordPress
    • Symfony
    • Magento
    • See all frameworks
    Languages
    • PHP
    • Python
    • Node.js
    • Ruby
    • Java
    • Go
  • Industries
    • Consumer Goods
    • Media/Entertainment
    • Higher Education
    • Government
    • Ecommerce
  • 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
  • Login
  • Request a demo
  • Free Trial
Meet Upsun. The new, self-service, fully managed PaaS, powered by Platform.sh.Try it now

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 CenterCareersPressContact us
Thank you for subscribing!
  •  
Field required
Leader Winter 2023
System StatusPrivacyTerms of ServiceImpressumWCAG ComplianceAcceptable Use PolicyManage your cookie preferencesReport a security issue
© 2024 Platform.sh. All rights reserved.
Supported by Horizon 2020's SME Instrument - European Commission 🇪🇺