{"id":37960,"date":"2025-08-05T09:00:02","date_gmt":"2025-08-05T12:00:02","guid":{"rendered":"https:\/\/www.locaweb.com.br\/ajuda\/?post_type=ht_kb&#038;p=37960"},"modified":"2025-08-05T15:39:48","modified_gmt":"2025-08-05T18:39:48","slug":"como-criar-sua-propria-vpc-e-conectar-sua-vm","status":"publish","type":"ht_kb","link":"https:\/\/www.locaweb.com.br\/ajuda\/wiki\/como-criar-sua-propria-vpc-e-conectar-sua-vm\/","title":{"rendered":"Como criar sua pr\u00f3pria VPC e conectar sua VM"},"content":{"rendered":"    \t\t<div class=\"hts-messages hts-messages--info  hts-messages--withtitle hts-messages--withicon \"   >\r\n    \t\t\t<span class=\"hts-messages__title\">Informa\u00e7\u00e3o!<\/span>    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\t<\/p>\n<p><span style=\"font-weight: 400;\">Ao criar uma Virtual Private Cloud, no Locaweb Cloud, o usu\u00e1rio tem um <\/span><b>mini datacenter virtual pr\u00f3prio<\/b><span style=\"font-weight: 400;\">. Isso porque \u00e9 poss\u00edvel definir um espa\u00e7o de rede logicamente isolado, com seu pr\u00f3prio intervalo de endere\u00e7os IP, sub-redes (chamadas de &#8220;tiers&#8221;), tabelas de roteamento e gateways.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Neste tutorial, vamos apresentar o caminho que voc\u00ea seguir\u00e1 para criar a sua rede VPC.<\/span>    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n<p>    \t\t<div class=\"hts-messages hts-messages--info  hts-messages--withtitle hts-messages--withicon \"   >\r\n    \t\t\t<span class=\"hts-messages__title\">Para entender melhor!<\/span>    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\t<span style=\"font-weight: 400;\">Antes do passo a passo, vale a pena registrar que a cria\u00e7\u00e3o de redes VCP ocorre em <\/span><b>duas etapas<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Na primeira, ser\u00e1 criado o <\/span><b>cont\u00eainer principal<\/b><span style=\"font-weight: 400;\">, que \u00e9 a VPC em si.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Na segunda, o usu\u00e1rio <\/span><a href=\"https:\/\/www.locaweb.com.br\/ajuda\/wiki\/criando-as-tiers-de-rede-dentro-da-vpc-suas-sub-redes\/\" target=\"_blank\" rel=\"noopener\"><b>adiciona as <\/b><b><i>tiers<\/i><\/b><b>, ou sub-redes<\/b><\/a><span style=\"font-weight: 400;\"> que estar\u00e3o integradas \u00e0 VPC e conectadas \u00e0s VMs em opera\u00e7\u00e3o.<\/span>    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t<\/li>\n<\/ul>\n<h1><b>Criando a VPC (o cont\u00eainer principal)<\/b><\/h1>\n<p><span style=\"font-weight: 400;\">Este \u00e9 o processo que origina o elemento circulado em azul na imagem abaixo. Sua cria\u00e7\u00e3o come\u00e7a com a defini\u00e7\u00e3o do inv\u00f3lucro da VPC e deve seguir o passo a passo ao qual voc\u00ea ser\u00e1 apresentado na sequ\u00eancia.<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-37964\" src=\"https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/08\/19.png\" alt=\"\" width=\"1016\" height=\"623\" srcset=\"https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/08\/19.png 1016w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/08\/19-300x184.png 300w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/08\/19-768x471.png 768w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/08\/19-50x31.png 50w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/08\/19-60x37.png 60w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/08\/19-100x61.png 100w\" sizes=\"auto, (max-width: 1016px) 100vw, 1016px\" \/><\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">No painel do Locaweb Cloud, selecione a aba <\/span><b>rede e, em seguida, clique em<\/b> <b>VPC.<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-37963\" src=\"https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/08\/19.1.png\" alt=\"\" width=\"1146\" height=\"594\" srcset=\"https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/08\/19.1.png 1146w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/08\/19.1-300x155.png 300w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/08\/19.1-1024x531.png 1024w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/08\/19.1-768x398.png 768w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/08\/19.1-50x26.png 50w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/08\/19.1-60x31.png 60w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/08\/19.1-100x52.png 100w\" sizes=\"auto, (max-width: 1146px) 100vw, 1146px\" \/><\/b><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Na \u00e1rea superior direita da tela, voc\u00ea ver\u00e1 o bot\u00e3o <\/span><b>criar. <\/b><span style=\"font-weight: 400;\">Clique nele e, depois, em <\/span><b>VPC <\/b><span style=\"font-weight: 400;\">ou no bot\u00e3o <\/span><b>adicionar VPC<\/b><span style=\"font-weight: 400;\">.<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-37962\" src=\"https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/08\/19.2.png\" alt=\"\" width=\"1143\" height=\"588\" srcset=\"https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/08\/19.2.png 1143w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/08\/19.2-300x154.png 300w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/08\/19.2-1024x527.png 1024w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/08\/19.2-768x395.png 768w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/08\/19.2-50x26.png 50w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/08\/19.2-60x31.png 60w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/08\/19.2-100x51.png 100w\" sizes=\"auto, (max-width: 1143px) 100vw, 1143px\" \/><\/span><\/li>\n<li aria-level=\"1\"><span style=\"font-weight: 400;\">O passo seguinte \u00e9 o <\/span><b>preenchimento do modal com informa\u00e7\u00f5es sobre a VPC<\/b><span style=\"font-weight: 400;\">:<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><span style=\"font-weight: 400;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-37961\" src=\"https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/08\/19.3.png\" alt=\"\" width=\"369\" height=\"436\" srcset=\"https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/08\/19.3.png 646w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/08\/19.3-254x300.png 254w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/08\/19.3-42x50.png 42w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/08\/19.3-51x60.png 51w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/08\/19.3-85x100.png 85w\" sizes=\"auto, (max-width: 369px) 100vw, 369px\" \/><\/span><span style=\"font-weight: 400;\">Para preencher corretamente os campos, considere as seguintes orienta\u00e7\u00f5es:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><b>Nome:<\/b><span style=\"font-weight: 400;\"> procure definir um nome descritivo para sua VPC<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p>Exemplo: <span style=\"font-weight: 400;\">VPC-Producao-App<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">Minha-VPC-Principal<\/span><\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><b>Descri\u00e7\u00e3o (opcional):<\/b> aqui, voc\u00ea pode ou n\u00e3o escrever uma breve explica\u00e7\u00e3o sobre a rede, trazendo, por exemplo, o objetivo que a VPC cumpre.<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><b>Zona (zone):<\/b> nesta \u00e1rea, deve ser indicada a zona onde a VPC e seus recursos residir\u00e3o.<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><b>CIDR (bloco CIDR da VPC):<\/b>\u00a0 aqui, falamos de uma informa\u00e7\u00e3o crucial. \u00c9 um campo em que o usu\u00e1rio define o bloco de endere\u00e7os IP principal para toda a sua VPC. Isso significa que todas as sub-redes (<i>tiers<\/i>) que integrarem a VPC usar\u00e3o IPs dessa faixa.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>Exemplo<i style=\"text-align: center;\">:<\/i> <span style=\"font-weight: 400;\">10.0.0.0\/16<\/span><span style=\"font-weight: 400;\"> (para usar IPs de <\/span><span style=\"font-weight: 400;\">10.0.0.0<\/span><span style=\"font-weight: 400;\"> a <\/span><span style=\"font-weight: 400;\">10.0.255.255<\/span><span style=\"font-weight: 400;\">)<\/span><\/p>\n<p style=\"text-align: left;\"><span style=\"font-weight: 400;\">    \t\t<div class=\"hts-messages hts-messages--alert  hts-messages--withtitle hts-messages--withicon \"   >\r\n    \t\t\t<span class=\"hts-messages__title\">Dica!<\/span>    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tEscolha um CIDR que n\u00e3o entre em conflito com suas redes <i>on-premises,<\/i> caso pretenda usar <a href=\"https:\/\/www.locaweb.com.br\/ajuda\/wiki\/o-que-e-uma-vpn-locaweb-cloud\/\" target=\"_blank\" rel=\"noopener\">VPN<\/a>.    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><b>Dom\u00ednio de rede (opcional): <\/b><span style=\"font-weight: 400;\">\u00e9 um campo que deve ser preenchido pelos usu\u00e1rios que desejem definir o sufixo de dom\u00ednio para a VPC.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Exemplo: <\/span><span style=\"font-weight: 400;\">minhavpc.local<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><b>Oferta de VPC:<\/b><span style=\"font-weight: 400;\"> chegou a hora de optar por um dos planos de recursos dispon\u00edveis no Locaweb Cloud. Tenha aten\u00e7\u00e3o ao fazer sua escolha, pois a oferta determina as capacidades da rede, incluindo os servi\u00e7os dispon\u00edveis e o acesso ou n\u00e3o a quesitos como suporte e roteador virtual redundante.<\/span>&nbsp;<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><b>DNS 1 (Opcional):<\/b><span style=\"font-weight: 400;\"> aqui deve ser informado o IP do servidor DNS prim\u00e1rio externo que as VMs da rede utilizar\u00e3o \u2014 como por exemplo: <\/span><span style=\"font-weight: 400;\">8.8.8.8<\/span><span style=\"font-weight: 400;\"> para Google DNS. Caso o campo n\u00e3o seja preenchido, em geral, o roteador virtual da rede gerenciar\u00e1 o DNS automaticamente.<\/span>&nbsp;<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><b>DNS 2 (Opcional):<\/b><span style=\"font-weight: 400;\"> agora, voc\u00ea precisa indicar o IP de um servidor DNS secund\u00e1rio externo, como, por exemplo, <\/span><span style=\"font-weight: 400;\">8.8.4.4<\/span><span style=\"font-weight: 400;\"> para Google DNS. Esse identificador ser\u00e1 utilizado caso o DNS 1 falhe.<\/span>&nbsp;<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><b>Endere\u00e7os IPv4 para o roteador dentro da rede compartilhada (opcional\/espec\u00edfico):<\/b><span style=\"font-weight: 400;\"> aqui, caso fa\u00e7a sentido para o seu caso, voc\u00ea vai inserir o(s) endere\u00e7o(s) IP que o roteador da rede utilizar\u00e1 como gateway para as VMs, especialmente se essa rede interagir com um segmento de rede compartilhado.\u00a0<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Exemplo: <\/span><span style=\"font-weight: 400;\">192.168.1.254<\/span><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0 \u00a0 \u00a0 \u00a04. Depois de revisar todas as informa\u00e7\u00f5es inseridas, clique em <\/span><b>OK<\/b><span style=\"font-weight: 400;\"> ou <\/span><b>criar VPC<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<h3><b>O que acontece agora?<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Nossa plataforma executar\u00e1 o processo de provisionamento de um cont\u00eainer para a sua VPC, definindo tamb\u00e9m um roteador virtual (VR) dedicado \u00e0 sua rede. Esse \u00e9 um elemento muito importante, pois esse VR ser\u00e1 respons\u00e1vel por todos os servi\u00e7os de rede (roteamento entre tiers, NAT, firewall, DHCP, DNS, entre outros) em todas as sub-redes que forem integradas \u00e0 VPC.\u00a0<\/span><\/p>\n    \t\t<div class=\"hts-messages hts-messages--alert  hts-messages--withtitle hts-messages--withicon \"   >\r\n    \t\t\t<span class=\"hts-messages__title\">Importante!<\/span>    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tEssa \u00e9 uma etapa que pode levar alguns minutos. N\u00e3o estranhe se precisar esperar um pouco!    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n<p><b><\/b><b>Adicionado sub-redes <\/b><b><i>(tiers)<\/i><\/b><b> a sua VPC<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Agora que seu cont\u00eainer principal est\u00e1 criado, voc\u00ea <\/span><a href=\"https:\/\/www.locaweb.com.br\/ajuda\/wiki\/criando-as-tiers-de-rede-dentro-da-vpc-suas-sub-redes\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">j\u00e1 pode criar sub-redes<\/span><\/a><span style=\"font-weight: 400;\"> e associ\u00e1-las \u00e0 sua VM. Para executar esse processo, basta seguir as orienta\u00e7\u00f5es do tutorial dispon\u00edvel<\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Criando a VPC (o cont\u00eainer principal) Este \u00e9 o processo que origina o elemento circulado em azul na imagem abaixo. Sua cria\u00e7\u00e3o come\u00e7a com a defini\u00e7\u00e3o do inv\u00f3lucro da VPC e deve seguir o passo a passo ao qual voc\u00ea ser\u00e1 apresentado na sequ\u00eancia. No painel do Locaweb Cloud, selecione&#8230;<\/p>\n","protected":false},"author":29,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[666,645],"ht-kb-tag":[],"class_list":["post-37960","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-locaweb-cloud","ht_kb_category-perguntas-frequentes"],"_links":{"self":[{"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/ht-kb\/37960","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/users\/29"}],"replies":[{"embeddable":true,"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/comments?post=37960"}],"version-history":[{"count":3,"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/ht-kb\/37960\/revisions"}],"predecessor-version":[{"id":38157,"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/ht-kb\/37960\/revisions\/38157"}],"wp:attachment":[{"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/media?parent=37960"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/ht-kb-category?post=37960"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/ht-kb-tag?post=37960"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}