暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

【云端起舞】快速查找Oracle公有云服务上VM服务器的IP地址

Joel 2017-02-20
456

编辑手记在使用SSH连接数据库的时候,大多数的公有云服务通过IP地址与对应的VM服务器关联,这篇文章将会引导你查找Oracle公有云服务上连接到VM实例的IP地址,以使用PuTTy或SOCKS5代理连接到VM -  Find the IP address of an Oracle Public Cloud Service VM。

云端起舞系列文章回顾

1、Configure and Practice Backup and Recovery in Cloud 在Oracle公有云上备份与恢复的配置和实践

2、Create a Primary and Standby Database in the Cloud 在Oracle公有云上创建standby数据库       

3、 Create a database clone in the cloud 在Oracle公有云上创建克隆数据库

4、Oracle Cloud Database Patching Then patch like a king with single click Database As A Service (DbaaS)  Oracle云上一键安装数据库补丁集 


 作者简介:

Joel Perez

Oracle ACE总监, Maximum Availability OCM,OTN 专家,全球第一批ACE称号获得者,致力于数据库高可用、灾难恢复、升级迁移和数据复制等方向设计和实现解决方案。


Most Oracle Public Cloud Services provides you with an IP address to connect to yourservice's VM through Secure Shell (SSH). This article guides you tofind the IP address of an Oracle Public Cloud Service instance to connectto its VM with PuTTy or SOCKS5 Proxy.

在使用SSH连接数据库的时候,大多数的公有云服务通过IP地址与对应的VM服务器关联,这篇文章将会引导你查找Oracle公有云服务上连接到VM服务器的实例的IP地址,以使用PuTTy或SOCKS5代理连接到VM。


Purpose

Find the IP address of an Oracle Cloud Service instance to connect to the VM with PuTTy or SOCKS Proxy.

查找要使用PuTTy或SOCKS代理连接到VM服务器的OracleCloud Service实例的IP地址。

 

Background

Most Oracle Public Cloud Services providesyou with an IP address to connect to your service's VM through Secure Shell (SSH).This article guides you to find this IP address.

大多数Oracle公有云服务为您提供IP地址,以通过SSH连接到服务的VM。本文指导您查找此IP地址。

 

Some Oracle Public Cloud services such as Oracle Storage Cloud Service don't provide access to their VMs with Secure Shell. Instead you use REST API calls to access the service. This article is for cloud services that allow SSH access to their VMs and therefore, they provide you an IP address for SSH access.

某些Oracle公有云服务(如Oracle Storage Cloud Service)无法使用SSH访问其VM服务器。相反,可以使用REST API调用来访问服务。本文仅适用于允许SSH访问其VM的云服务,这样才会提供SSH访问的IP地址。

 

Before looking the steps, we will clarify the concept related to an IP Address in Oracle Cloud.

在寻找IP地址之前,我们先来认识一个概念。

 

IP reservation:a public IP addressthat you can attach to an Oracle Compute Cloud Service instance that requires access to or from the Internet.The public IP addressis reserved from a pool of IP addresses.

IP reservation:可以附加到需要访问Internet或从Internet访问的Oracle Compute CloudService实例的公共IP地址。公共IP地址从IP地址池保留。


In a metered Oracle Java Cloud Service or Oracle Database Cloud Service subscription, you're billed for IP address reservations even if they aren't associated with any instance. So, if you've created an IP address reservation but you’re not using it, then delete it.

在计量的Oracle Java云服务或Oracle数据库云服务订阅中,用户需要支付IP地址预留费用,即使它们没有与任何实例相关联。因此,如果已创建IP地址预留但未使用它,请将其删除。

 

Note: Each instance also has a private IP address associated with it. When an instance is created, its private IP address is assigned dynamically from a range of private IP addresses. When an instance isrestarted, its private IP address might change.

注意:每个实例也有一个与之相关的私有IP地址。创建实例时,将从一系列私有IP地址动态分配其专用IP地址。重新启动实例时,其私有IP地址可能会改变。

 

Now, Let’s see how to find the IP address of an Oracle PublicCloud Service VM。

现在,让我们看看如何查找Oracle公有云服务上VM的IP地址。


创建过程 

1.- Go to Oracle Cloud My Services by either clicking the link in your Welcome email or by going to“http://cloud.oracle.com” , clicking Sign In, selecting your DataCenter and then clicking MyServices in the Cloud Accountsection.

1.通过单击(Oracle 云服务发来的)欢迎电子邮件中的链接或通过网址 http://cloud.oracle.com登录,选择自己的数据中心,然后单击Cloud Account部分中的“My Services”。



2.-In My Services Dashboard section, click your specific cloud service menu icon.

2.-在“My Services”下的面板中,单击指定的云服务菜单图标。



3.-Clicking aninstance name in the Services page, takes you to that instance's detail page.Click the name of the cloud service instance that you want to find its IPaddress. In this article, it's GG-ABC.

3.-在“服务”页面中单击实例名称,将转到该实例的详细信息页面,然后单击目标云服务实例的名称,在测试中我使用的是“GG-ABC”。




4.-Copy the IPaddress from the Public IP field in the Virtual Machine's section. For thisarticle, the IP address is 10.241.227.104.

4.-从虚拟机部分的公共IP字段复制IP地址。文章中我测试的IP地址为10.241.227.104。


Note: In some cloud services, the Virtual Machine section is called Nodes.

注意:在某些云服务中,虚拟机部分称为节点。

 

5.- Referto this instance detail page for other details about your virtual machine, suchas the associated services. For example, this instance can have an OracleDatabase Cloud Service associated with it that you can find its name here. Youwon't find IP addresses of an instance's associated services on its detailpage. Each service detail page only has its own IP address.

5.-有关虚拟机的其他详细信息,如相关服务,请参阅此实例详细信息页面。例如,此实例可以具有与其相关联的Oracle数据库云服务,您可以在此处找到其名称。但找不到该实例关联服务的IP地址。每个服务详细信息页面只有自己的IP地址。


We hope this article can be helpful for you and see us on next article.

希望这篇文章对你有帮助。

如何加入"云和恩墨大讲堂"微信群

搜索 盖国强(Eygle) :eyygle,或者扫描下面二维码,备注:云和恩墨大讲堂,即可入群。每周与千人共享免费技术分享,与讲师在线讨论。


近期文章

基于Oracle公有云的备份与恢复

苦海岸边,GR的基础知识

Oracle 12c Global Data Services

以12c Identity类型示范自我探索式学习方法

从执行计划洞察ORACLE优化器的“小聪明”

Oracle安全比特币勒索问题揭秘和防范

最后修改时间:2020-05-07 23:57:36
文章转载自Joel,如果涉嫌侵权,请发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论