|
| 1 | +title: "Navigate to the :guilabel:`Network Access` page for your project." |
| 2 | +ref: project-nav-nw-access-page |
| 3 | +level: 4 |
| 4 | +stepnum: 1 |
| 5 | +content: | |
| 6 | +
|
| 7 | + a. If it is not already displayed, select the organization that |
| 8 | + contains your desired project from the |ui-org-menu| in the |
| 9 | + navigation bar. |
| 10 | +
|
| 11 | + #. If it is not already displayed, select your desired project |
| 12 | + from the :guilabel:`Projects` menu in the navigation bar. |
| 13 | +
|
| 14 | + #. Click :guilabel:`Network Access` in the sidebar. |
| 15 | +
|
| 16 | +--- |
| 17 | +title: "Create a private endpoint." |
| 18 | +ref: create-private-endpoint |
| 19 | +level: 4 |
| 20 | +stepnum: 2 |
| 21 | +content: | |
| 22 | +
|
| 23 | + a. Click the :guilabel:`Private Endpoint` tab. |
| 24 | +
|
| 25 | + #. Click :guilabel:`Add Private Endpoint`. |
| 26 | +
|
| 27 | +--- |
| 28 | +title: "Choose a cloud provider." |
| 29 | +ref: select-cloud-provider |
| 30 | +level: 4 |
| 31 | +stepnum: 3 |
| 32 | +content: | |
| 33 | +
|
| 34 | + Click the |aws| logo, then click :guilabel:`Next`. |
| 35 | +
|
| 36 | +--- |
| 37 | +title: "Choose a region." |
| 38 | +ref: select-region |
| 39 | +level: 4 |
| 40 | +stepnum: 4 |
| 41 | +content: | |
| 42 | +
|
| 43 | + a. From the :guilabel:`Atlas Region` list, select the region |
| 44 | + in which you want to create the private endpoint. |
| 45 | +
|
| 46 | + #. Click :guilabel:`Next`. |
| 47 | +
|
| 48 | + |govcloud-short| creates |vpc| resources in the region |
| 49 | + you selected. This might take several minutes to complete. |
| 50 | +
|
| 51 | +--- |
| 52 | +title: "Configure your private endpoint." |
| 53 | +ref: configure-private-endpoint-aws |
| 54 | +level: 4 |
| 55 | +stepnum: 5 |
| 56 | +content: | |
| 57 | +
|
| 58 | + a. Enter the following details about your |aws| |vpc|: |
| 59 | +
|
| 60 | + .. list-table:: |
| 61 | + :widths: 20 80 |
| 62 | +
|
| 63 | + * - :guilabel:`Your VPC ID` |
| 64 | + - Unique identifier of the peer |aws| |vpc|. Find this |
| 65 | + value on the |vpc| dashboard in your |aws| account. |
| 66 | +
|
| 67 | + * - :guilabel:`Your Subnet IDs` |
| 68 | + - Unique identifiers of the subnets your |aws| |vpc| uses. |
| 69 | + Find these values on the :guilabel:`Subnet` dashboard in |
| 70 | + your |aws| account. |
| 71 | +
|
| 72 | + .. important:: |
| 73 | +
|
| 74 | + You must specify at least one subnet. If you don't, |
| 75 | + |aws| won't provision an interface endpoint in |
| 76 | + your |vpc|. An is required for |
| 77 | + clients in your |vpc| to send traffic to the private endpoint. |
| 78 | +
|
| 79 | + #. Copy the command the dialog displays and run it using the |aws| |
| 80 | + CLI. |
| 81 | +
|
| 82 | + .. note:: |
| 83 | + |
| 84 | + You can't copy the command until |govcloud-short| finishes |
| 85 | + creating |vpc| resources in the background. |
| 86 | +
|
| 87 | + See :aws:`Creating an Interface Endpoint </vpc/latest/userguide/vpce-interface.html#create-interface-endpoint>` to perform this task using the |aws| CLI. |
| 88 | + |
| 89 | + #. You might receive an error like the following when you create |
| 90 | + the private endpoint: |
| 91 | +
|
| 92 | + .. code-block:: sh |
| 93 | + :copyable: false |
| 94 | +
|
| 95 | + An error occurred (InvalidParameter) when calling the CreateVpcEndpoint |
| 96 | + operation: The VPC endpoint service com.amazonaws.vpce.us-east-1.vpce-svc-<...> |
| 97 | + does not support the availability zone of the subnet: subnet-<...>. |
| 98 | +
|
| 99 | + If you receive this error, |govcloud-short| has deployed |vpc| |
| 100 | + resources into different availability zones than the ones to |
| 101 | + which you deployed your |vpc| subnets. |
| 102 | + Please contact MongoDB Support for assistance resolving this |
| 103 | + error. To contact support, click :guilabel:`Support` from the left-hand navigation bar of the |govcloud-short| UI. |
| 104 | + |
| 105 | + #. Click :guilabel:`Next`. |
| 106 | +
|
| 107 | +--- |
| 108 | +title: "Finalize your private endpoint connection." |
| 109 | +ref: finalize-private-endpoint |
| 110 | +level: 4 |
| 111 | +stepnum: 6 |
| 112 | +content: | |
| 113 | +
|
| 114 | + a. Enter your :guilabel:`VPC Endpoint ID`. This is a |
| 115 | + 22-character alphanumeric string that identifies your private |
| 116 | + endpoint. Find this value on the |aws| VPC Dashboard under |
| 117 | + :guilabel:`Endpoints` > :guilabel:`VPC ID`. |
| 118 | +
|
| 119 | + #. Click :guilabel:`Create`. |
| 120 | +
|
| 121 | +
|
| 122 | +--- |
| 123 | +title: "Configure your resources' security groups to send traffic to and receive traffic from the interface endpoint." |
| 124 | +level: 4 |
| 125 | +ref: resource-sg-pl |
| 126 | +stepnum: 7 |
| 127 | +content: | |
| 128 | +
|
| 129 | + For each resource that needs to connect to your |govcloud-short| |
| 130 | + clusters using {+aws-pl+}, the resource's security group must allow |
| 131 | + outbound traffic to the interface endpoint's private IP(s) on all |
| 132 | + ports. |
| 133 | +
|
| 134 | + See :aws:`Adding Rules to a Security Group </AWSEC2/latest/UserGuide/ec2-security-groups.html#adding-security-group-rule>` in the |aws| |
| 135 | + documentation for more information. |
| 136 | +
|
| 137 | +--- |
| 138 | +title: "Create a security group for your interface endpoint to allow resources to access it." |
| 139 | +ref: attach-sg-pl |
| 140 | +level: 4 |
| 141 | +stepnum: 8 |
| 142 | +content: | |
| 143 | +
|
| 144 | + This security group must allow inbound traffic on all ports from each |
| 145 | + resource that needs to connect to your |govcloud-short| clusters |
| 146 | + using {+aws-pl+}: |
| 147 | +
|
| 148 | + a. In the |aws| console, navigate to the :guilabel:`VPC Dashboard`. |
| 149 | + |
| 150 | + #. Click :guilabel:`Security Groups`, then click |
| 151 | + :guilabel:`Create security group`. |
| 152 | +
|
| 153 | + #. Use the wizard to create a security group. Make sure you select |
| 154 | + your VPC from the :guilabel:`VPC` list. |
| 155 | +
|
| 156 | + #. Select the security group you just created, then click the |
| 157 | + :guilabel:`Inbound Rules` tab. |
| 158 | +
|
| 159 | + #. Click :guilabel:`Edit Rules`. |
| 160 | +
|
| 161 | + #. Add rules to allow all inbound traffic from each resource in your |
| 162 | + VPC that you want to connect to your |govcloud-short| cluster. |
| 163 | +
|
| 164 | + #. Click :guilabel:`Save Rules`. |
| 165 | +
|
| 166 | + #. Click :guilabel:`Endpoints`, then click the endpoint for your |
| 167 | + VPC. |
| 168 | +
|
| 169 | + #. Click the :guilabel:`Security Groups` tab, then click |
| 170 | + :guilabel:`Edit Security Groups`. |
| 171 | +
|
| 172 | + #. Add the security group you just created, then click |
| 173 | + :guilabel:`Save`. |
| 174 | +
|
| 175 | + See :aws:`VPC security groups |
| 176 | + </vpc/latest/userguide/VPC_SecurityGroups.html>` in the |aws| |
| 177 | + documentation for more information. |
| 178 | +
|
| 179 | +--- |
| 180 | +title: "Verify that the private endpoint is available." |
| 181 | +ref: verify-active-pl-aws |
| 182 | +level: 4 |
| 183 | +stepnum: 9 |
| 184 | +content: | |
| 185 | +
|
| 186 | + You can connect to a |govcloud-short| cluster using the {+aws-pl+} |
| 187 | + private endpoint when all of the resources are configured and the |
| 188 | + private endpoint becomes available. |
| 189 | +
|
| 190 | + To verify that the {+aws-pl+} private endpoint is available: |
| 191 | +
|
| 192 | + a. In the :guilabel:`Security` section of the left navigation, |
| 193 | + click :guilabel:`Network Access`. |
| 194 | + #. On the :guilabel:`Private Endpoint` tab, verify the following |
| 195 | + statuses for the region that contains the cluster |
| 196 | + you want to connect to using {+aws-pl+}: |
| 197 | +
|
| 198 | + .. list-table:: |
| 199 | + :widths: 20 80 |
| 200 | +
|
| 201 | + * - :guilabel:`Atlas Endpoint Service Status` |
| 202 | + - Ready for connection requests |
| 203 | + |
| 204 | + * - :guilabel:`Endpoint Status` |
| 205 | + - Available |
| 206 | +
|
| 207 | + If you do not see these statuses, see |
| 208 | + :ref:`privatelink-troubleshooting` for additional information. |
| 209 | +
|
| 210 | +... |
0 commit comments