Swisscom CF插件的替代名称为Service Connector [英] Alternative to Swisscom CF plugin named Service Connector

查看:111
本文介绍了Swisscom CF插件的替代名称为Service Connector的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

许多人使用Swisscom开发的 CF插件

Lots of people use Swisscom developed CF Plugin

创建服务实例后,您最终需要 管理服务.例如,您可能需要创建数据 数据库中的表或备份/还原数据.对于这些用例, 我们创建了Cloud Foundry CLI插件服务连接器,该连接器是 本地代理应用程序,您可以通过该应用程序连接到服务 使用您首选的本地安装工具的实例.

After creating a service instance, you’ll eventually need to administrate the service. For example you might need to create data tables in a database or backup/restore your data. For these use cases, we created the Cloud Foundry CLI Plugin Service Connector which is a local proxy app through which you can connect to your service instances using your preferred locally installed tools.

有一种替代方法,无需安装和更新CF插件. CloudFoundry提供了一种ssh进入应用程序的方法,通过这种方法,您还可以将连接隧道传输到本地桌面

There is an alternative without installing and updating a CF plugin. CloudFoundry provide a way to ssh into apps, with this you can also tunnel connections to your local desktop

推荐答案

本地端口转发

本地端口转发使您可以从本地计算机连接到另一台服务器.要使用本地端口转发,您需要知道目标服务器以及两个端口号(本地和远程).

Local port forwarding lets you connect from your local computer to another server. To use local port forwarding, you need to know your destination server, and two port numbers (local and remote).

由于安全组的原因,在正确的组织和空间中很重要.

It's important to be in the correct Org and Space because of security groups.

cf t -o $YOUR_ORG -s $YOUR_SPACE
cf ssh $YOUR_APP -L 8080:opsmanager.service.consul:8080

现在您可以将本地浏览器连接到opsmanager.service.consul.只需在地址栏localhost:8080中输入.这是Swisscom与Mongo Enterprise服务一起提供的 Ops Manager .这是一个很棒的工具,可以监视和分析您的MongoDB部署.但是,您可以对每个内部*.service.consul地址和端口号执行相同的操作.

now you can connect with your local browser to opsmanager.service.consul. Just enter in address bar localhost:8080. This is the Ops Manager offered by Swisscom with Mongo Enterprise service. It's a awesome tool to monitor and analyse your MongoDB deployment. But you can do the same trick with every internal *.service.consul address and port number.

这篇关于Swisscom CF插件的替代名称为Service Connector的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆