{"id":4964,"date":"2021-05-30T08:42:30","date_gmt":"2021-05-30T08:42:30","guid":{"rendered":"https:\/\/swiv.com.br\/creating-a-service-gateway\/"},"modified":"2026-05-27T20:02:31","modified_gmt":"2026-05-27T19:02:31","slug":"creating-a-service-gateway","status":"publish","type":"post","link":"https:\/\/swiv.com.br\/index.php\/2021\/05\/30\/creating-a-service-gateway\/","title":{"rendered":"Creating a Service Gateway"},"content":{"rendered":"\n<p>Ao criarmos um Service Gateway no OCI, conseguimos acessar o servi\u00e7o de Object Storage para backups e patches, e tamb\u00e9m ao reposit\u00f3rio YUM para updates de S.O. O ambiente que venho explorando nos artigos sobre OCI foi constru\u00eddo em cima de uma rede p\u00fablica, o que em termos pr\u00e1ticos n\u00e3o exigiria a cria\u00e7\u00e3o desse novo componente, mas em cen\u00e1rios reais, quase sempre nossos bancos estar\u00e3o em um rede privada, exigindo assim a configura\u00e7\u00e3o que exploraremos neste artigo.<\/p>\n\n\n\n<p>Acessando no Menu principal a op\u00e7\u00e3o de Networking -&gt; Virtual Cloud Networks:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-105.png\" alt=\"\" class=\"wp-image-7672\"\/><\/figure>\n\n\n\n<p>Acessando nossa VCN:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-106.png\" alt=\"\" class=\"wp-image-7673\"\/><\/figure>\n\n\n\n<p>Abaixo de Resources, podemos clicar em Service Gateway -&gt; Create Service Gateway:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-107.png\" alt=\"\" class=\"wp-image-7674\"\/><\/figure>\n\n\n\n<p>Informando o nome do novo recurso, selecionando o servi\u00e7o &#8220;OCI PHX Object Storage&#8221; e clicando em Create Service Gateway:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-108.png\" alt=\"\" class=\"wp-image-7675\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-109.png\" alt=\"\" class=\"wp-image-7676\"\/><\/figure>\n\n\n\n<p>Ap\u00f3s isso, ainda na tela da nossa VCN, podemos ir na op\u00e7\u00e3o &#8220;Route Tables&#8221; e acessar nosso recurso j\u00e1 criado:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-110.png\" alt=\"\" class=\"wp-image-7677\"\/><\/figure>\n\n\n\n<p>Clicando em &#8220;Add Route Rules&#8221;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-111-1024x279.png\" alt=\"\" class=\"wp-image-7679\"\/><\/figure>\n\n\n\n<p>Preenchendo as op\u00e7\u00f5es conforme abaixo e clicando em Add Route Rules:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-112.png\" alt=\"\" class=\"wp-image-7680\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-113.png\" alt=\"\" class=\"wp-image-7681\"\/><\/figure>\n\n\n\n<p>No menu principal da VCN, vamos clicar em nossa Subnet:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-114.png\" alt=\"\" class=\"wp-image-7682\"\/><\/figure>\n\n\n\n<p>Clicando em nossa Security List:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-115.png\" alt=\"\" class=\"wp-image-7683\"\/><\/figure>\n\n\n\n<p>Clicando em Egress Rules -&gt; Add Egress Rules:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-116-1024x281.png\" alt=\"\" class=\"wp-image-7684\"\/><\/figure>\n\n\n\n<p>Criando a nova regra conforme exposto abaixo:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-117.png\" alt=\"\" class=\"wp-image-7685\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-118-1024x278.png\" alt=\"\" class=\"wp-image-7686\"\/><\/figure>\n\n\n\n<p>Com essas configura\u00e7\u00f5es, estamos aptos a realizar Updates em nosso DB System (S.O e GRID) e DB_HOMES.<\/p>\n\n\n\n<p>Obs: Este procedimento foi criado pelo senhor Ahmed Baraka (www.ahmedbaraka.com) e foi apenas reproduzido por mim em um laborat\u00f3rio pessoal para fins de aprendizado.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ao criarmos um Service Gateway no OCI, conseguimos acessar o servi\u00e7o de Object Storage para backups e patches, e tamb\u00e9m ao reposit\u00f3rio YUM para updates de S.O. O ambiente que venho explorando nos artigos sobre OCI foi constru\u00eddo em cima de uma rede p\u00fablica, o que em termos pr\u00e1ticos n\u00e3o exigiria a cria\u00e7\u00e3o desse novo [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-4964","post","type-post","status-publish","format-standard","hentry","category-oci"],"_links":{"self":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts\/4964","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/comments?post=4964"}],"version-history":[{"count":1,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts\/4964\/revisions"}],"predecessor-version":[{"id":9122,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts\/4964\/revisions\/9122"}],"wp:attachment":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/media?parent=4964"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/categories?post=4964"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/tags?post=4964"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}