Title: Configure IP Access List Entries - Atlas - MongoDB Docs
Open Graph Title: Configure IP Access List Entries - Atlas - MongoDB Docs
X Title: Configure IP Access List Entries - Atlas - MongoDB Docs
Description: How to view, add, modify, and delete IP access list entries using the Atlas CLI or Atlas user interface.
Keywords:
Opengraph URL: https://www.mongodb.com/docs/atlas/security/ip-access-list/
X: @mongodb
Generator: Gatsby 5.7.0
Domain: docs.atlas.mongodb.com
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Docs Home","item":"https://www.mongodb.com/docs/"},{"@type":"ListItem","position":2,"name":"Development","item":"https://www.mongodb.com/docs/atlas/docs/development/"}]}
{"@context":"https://schema.org","@type":"TechArticle","author":{"@type":"Organization","name":"MongoDB Documentation Team"},"headline":"Configure IP Access List Entries","mainEntity":[{"@type":"SoftwareApplication","name":"MongoDB Online Archive","applicationCategory":"DeveloperApplication","offers":{"price":0,"priceCurrency":"USD"}}],"genre":["Tutorial"]}
{"@context":"https://schema.org","@type":"HowTo","steps":[{"@type":"HowToStep","text":"If it's not already displayed, select the organization that\ncontains your desired project from the Organizations menu in the\nnavigation bar.If it's not already displayed, select your desired project\nfrom the Projects menu in the navigation bar.In the sidebar, click Project Settings.The Project Settings page\ndisplays.","name":"In Atlas, go to the Project Settings page."},{"@type":"HowToStep","text":"If it's not already displayed, select the organization that\ncontains your desired project from the Organizations menu in the\nnavigation bar.If it's not already displayed, select your desired project\nfrom the Projects menu in the navigation bar.In the sidebar, click Activity Feed under the\nSecurity header.The Project Activity Feed page displays.","name":"In Atlas, go to the Project Activity Feed page."}],"name":"View Activity Feed","image":"https://webimages.mongodb.com/_com_assets/cms/kuyj2focmkbxv7gh3-stacked_default_slate_blue.svg?auto=format%252Ccompress"}
{"@context":"https://schema.org","@type":"SoftwareSourceCode","codeSampleType":"code snippet","text":"\natlas accessLists list [options]\n","programmingLanguage":"Shell"}
{"@context":"https://schema.org","@type":"SoftwareSourceCode","codeSampleType":"code snippet","text":"\natlas accessLists describe <entry> [options]\n","programmingLanguage":"Shell"}
{"@context":"https://schema.org","@type":"HowTo","steps":[{"@type":"HowToStep","text":"If it's not already displayed, select the\norganization that contains your project from the\n Organizations menu in the navigation bar.If it's not already displayed, select your project\nfrom the Projects menu in the navigation bar.In the sidebar, click Database & Network Access under\nthe Security heading.The Database & Network Access\npage displays.","name":"In Atlas, go to the Database & Network Access page for your project."},{"@type":"HowToStep","text":"IP AddressIP address or CIDR (Classless Inter-Domain Routing) block. If this\ncluster is hosted on AWS (Amazon Web Services),\nyou can provide an AWS (Amazon Web Services) Security Group ID as well.CommentDescription or other information about the access list\nentry.StatusStatus of the IP access list entry:StatusDescriptionInactiveAtlas is not using the IP access list entry. No cloud\nprovider containers are provisioned for the project.PendingAtlas is configuring the IP access list entry for the\nproject.ActiveAtlas has configured the IP access list entry for every\ncontainer provisioned in the project.Active in regions: Atlas has configured the IP access list entry for every\ncontainer provisioned in the project for the regions listed, but\nnot any other containers that exist for the project. This\napplies to AWS (Amazon Web Services) security groups only.FailedAtlas could not configure the IP access list entry for every\ncontainer provisioned for the project.ActionsOptions to Edit or\nDelete.","name":"Click the IP Access List tab."}],"name":"View IP Access List Entries - Atlas UI","image":"https://webimages.mongodb.com/_com_assets/cms/kuyj2focmkbxv7gh3-stacked_default_slate_blue.svg?auto=format%252Ccompress"}
{"@context":"https://schema.org","@type":"SoftwareSourceCode","codeSampleType":"code snippet","text":"\natlas accessLists create [entry] [options]\n","programmingLanguage":"Shell"}
{"@context":"https://schema.org","@type":"HowTo","steps":[{"@type":"HowToStep","text":"If it's not already displayed, select the\norganization that contains your project from the\n Organizations menu in the navigation bar.If it's not already displayed, select your project\nfrom the Projects menu in the navigation bar.In the sidebar, click Database & Network Access under\nthe Security heading.The Database & Network Access\npage displays.","name":"In Atlas, go to the Database & Network Access page for your project."},{"@type":"HowToStep","text":"If it isn't already displayed, click the\nIP Access List tab.Click Add IP Address.","name":"Go to IP Access List view."},{"@type":"HowToStep","text":"Ensure that you add the IP address you will use to\naccess MongoDB as the admin user.Enter the desired IP address or CIDR (Classless Inter-Domain Routing)-notated range of addresses:EntryGrantsAn IP addressAccess from that address.A CIDR (Classless Inter-Domain Routing)-notated range of IP addressesAccess from the designated range of addresses.For peer VPC (Virtual Private Cloud) connections, you can specify the CIDR (Classless Inter-Domain Routing) block\n(or a subset) or the associated Security Group.The Internet provides online tools for converting a range of\nIP addresses to CIDR (Classless Inter-Domain Routing), such as\nhttp://www.ipaddressguide.com/cidr.IMPORTANT: Adding the CIDR (Classless Inter-Domain Routing) 0.0.0.0/0 allows access from anywhere.\nEnsure that strong credentials (username and password) are\nused for all database users when allowing access from\nanywhere.If you add the 0.0.0.0/0 CIDR to a project access list,\nAtlas sends an alert email to all users directly\ngranted a role to the project, or indirectly granted a role through\nteam membership (if the team is granted a role to the\nproject).Security Group ID (AWS Only)Access via Security Group membership from a peered VPC.IMPORTANT: Atlas does not support adding AWS (Amazon Web Services) security groups to\nIP access lists in projects with VPC (Virtual Private Cloud) peering connections\nin multiple regions.","name":"Enter an IP address, CIDR (Classless Inter-Domain Routing) block, or Security Group ID."},{"@type":"HowToStep","text":"Check the Save as temporary access list option to specify\na length of time that the IP address will be added. After this time,\nAtlas removes the address from the IP access list. You can select\none of the following time periods for the address to be added:6 hours1 day1 weekIn the IP Access List view, temporary access list entries\ndisplay the time remaining until the address will expire. Once the IP\naddress expires and is deleted, any client or application attempting\nto connect to the cluster from the address can't access the cluster.You cannot set AWS (Amazon Web Services) security groups as temporary access list\nentries.","name":"(Optional) Set the IP access list as temporary."},{"@type":"HowToStep","text":"Click Save and Close."}],"name":"Add IP Access List Entries - Atlas UI","image":"https://webimages.mongodb.com/_com_assets/cms/kuyj2focmkbxv7gh3-stacked_default_slate_blue.svg?auto=format%252Ccompress"}
{"@context":"https://schema.org","@type":"HowTo","steps":[{"@type":"HowToStep","text":"If it's not already displayed, select the\norganization that contains your project from the\n Organizations menu in the navigation bar.If it's not already displayed, select your project\nfrom the Projects menu in the navigation bar.In the sidebar, click Database & Network Access under\nthe Security heading.The Database & Network Access\npage displays.","name":"In Atlas, go to the Database & Network Access page for your project."},{"@type":"HowToStep","text":"If it isn't already displayed, click the\nIP Access List tab.","name":"Go to IP Access List view."},{"@type":"HowToStep","text":"Click Edit for the entry you want to modify.You can modify the IP address or CIDR (Classless Inter-Domain Routing) block of the entry and the\ncomment associated with the entry. If the entry is temporarily\nadded, Atlas displays the remaining time until it will\nremove the entry and a dropdown to modify the duration of the\nIP access list entry or convert it to a permanent entry.You can't change a permanent IP access list entry to be\ntemporary.","name":"Edit the target IP access list entry"},{"@type":"HowToStep","text":"Click Confirm to save the changes."}],"name":"Modify IP Access List Entries - Atlas UI","image":"https://webimages.mongodb.com/_com_assets/cms/kuyj2focmkbxv7gh3-stacked_default_slate_blue.svg?auto=format%252Ccompress"}
{"@context":"https://schema.org","@type":"SoftwareSourceCode","codeSampleType":"code snippet","text":"\natlas accessLists delete <entry> [options]\n","programmingLanguage":"Shell"}
{"@context":"https://schema.org","@type":"HowTo","steps":[{"@type":"HowToStep","text":"If it's not already displayed, select the\norganization that contains your project from the\n Organizations menu in the navigation bar.If it's not already displayed, select your project\nfrom the Projects menu in the navigation bar.In the sidebar, click Database & Network Access under\nthe Security heading.The Database & Network Access\npage displays.","name":"In Atlas, go to the Database & Network Access page for your project."},{"@type":"HowToStep","text":"If it isn't already displayed, click the\nIP Access List tab.","name":"Go to IP Access List view."},{"@type":"HowToStep","text":"Click Delete for the desired entry."},{"@type":"HowToStep","text":"Click Delete again to confirm."}],"name":"Delete IP Access List Entries - Atlas UI","image":"https://webimages.mongodb.com/_com_assets/cms/kuyj2focmkbxv7gh3-stacked_default_slate_blue.svg?auto=format%252Ccompress"}
| None | text/html; charset=utf-8 |
| release | 1.0 |
| version | master |
| twitter:card | summary_large_image |
| twitter:image | https://www.mongodb.com/docs/assets/meta_generic.png |
| twitter:image:alt | MongoDB logo featuring a green leaf on a dark green background. |
| og:image | https://www.mongodb.com/docs/assets/meta_generic.png |
| og:image:secure_url | https://www.mongodb.com/docs/assets/meta_generic.png |
| og:type | website |
Links:
Viewport: width=device-width, initial-scale=1, shrink-to-fit=no