The web terminal gives you command-line access to the web process on your application so you can securely run scripts and read files. This is a useful tool for debugging issues, performance monitoring, and manually executing scripts ad-hoc. The commands available for execution depend entirely on which executables are available within your application.
Currently, you can only run web processes with the Web Terminal. It doesn’t support background processes or Cron jobs.
Before you can use the web terminal, you need to set up authentication where you can specify exactly which IP addresses have access. You can go to Test your IPv6 and use it to locate your own IP addresses. We recommend adding your IPv4 and IPv6 IP addresses, as the connection may come from either.
How To Set Up Authentication
To access the web terminal, you must:
- Sign in to your MyKinsta dashboard.
- Provide at least 1 valid IP address.
- Not duplicate IP addresses.
- Have at least one successful deployment.
- Have a healthy application that is running. If there are any errors or if the application is stopped, the web terminal will not be available.
To add IP addresses, click Set up authentication.
Enter the first IP address you want to allow. You can add more IP addresses by clicking on the Add another option. Once you have entered all the IP addresses you want to allow, click Set up authentication.
To find out more about Web Terminal, including how to start and stop, as well as how to set up Web Terminal with a Dockerfile and troubleshoot, check out our Web Terminal documentation.
Why Host Your Application With Kinsta?
When you deploy your application to Kinsta from GitHub, Bitbucket, or GitLab, your code runs on the Google Cloud Platform‘s top-tier infrastructure, powered by that platform’s C2 virtual machines and in an isolated container.
And you can choose any of 25 data centers around the world as the home for your application.
Applications managed through your MyKinsta dashboard leverage Google Cloud Build, which generates the image of your application based on the information in buildpacks or your Dockerfile. If you configure your application to deploy automatically, that happens every time you commit a change to your repository on your Git host.
If your application is public-facing, you can rely on our Cloudflare integration for DDoS protection.
Are you interested in trying out this feature? You can do that for free!